[omd-devel] problems with images from local directory in statusmap

wolvverine wolvverinepld at gmail.com
Mon Oct 22 21:00:33 CEST 2012


1.  Directory /images/logos
in /opt/omd/sites/<instance_name>/local/share/nagios/htdocs/ do not exist.

2. statusmap.cgi uses physical path to images file, not URL path and not
uses files
in  /opt/omd/sites/<instance_name>/local/share/nagios/htdocs/images/logos .
It uses images files only
from /opt/omd/versions/<version>/share/nagios/htdocs/images/logos/.

"dirty" workaround:
# ln -s
/opt/omd/sites/<instance_name>/local/share/nagios/htdocs/images/logos
/opt/omd/versions/<version>/share/nagios/htdocs/images/logos/local
and add /local/... to statusmap_image :
...
icon_image                     /base/centos.gif
 vrml_image                     /base/centos.gif
statusmap_image               /local/base/centos.gd2
...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mathias-kettner.de/pipermail/omd-devel/attachments/20121022/de8e8650/attachment-0001.html>


More information about the omd-devel mailing list