icon_image directive not working

Jeff McKeon jsm at inpro.net
Wed Jan 15 21:35:07 CET 2003


Isn't 'icon_image' attribute one that belongs in a separate config file
for extended configuration.  Then you put a pointer to that config file
in the cgi.cfg file.  

I used graphics.cfg but i don't recommend that name because you can add
so much more to information to this file..

On Wed, 2003-01-15 at 15:05, Gustave Eiffel wrote:
> Using version 1 on a RedHat box.
> 
> I have specified this in my hosts.cfg file:
> 
> icon_image           redhat.jpg
> 
> and the image is in the share/images/logos/ directory
> 
> But when I check the config I get:
> 
> 
> 
> Reading configuration data...
> 
> Error: Could not add object property in file '/usr/local/nagios/etc/hosts.cfg'
> on line 101.
> 
> What am I doing wrong here?  The documentation states that the default logo
> location should be /usr/local/nagios/share/images/logos/ and that is where it
> is.  I have also tries specifying the full path to no avail.  The image is there.
> 
> Here is the whole part from the hosts.cfg 
> 
> define host{
>         use                     generic-host            ; Name of host template
> to use
> 
>         host_name               tuna
>         alias                   Mark's Workstation
>         address                 192.168.0.1
>         check_command           check-host-alive
>         icon_image              redhat.jpg
>         max_check_attempts      10
>         notification_interval   480
>         notification_period     24x7
>         notification_options    d,u,r
>         }
> 
> Can anyone help me out here?
> 
> 
> -------------------------------------------------------
> This SF.NET email is sponsored by: A Thawte Code Signing Certificate 
> is essential in establishing user confidence by providing assurance of 
> authenticity and code integrity. Download our Free Code Signing guide:
> http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0028en
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users




-------------------------------------------------------
This SF.NET email is sponsored by: A Thawte Code Signing Certificate 
is essential in establishing user confidence by providing assurance of 
authenticity and code integrity. Download our Free Code Signing guide:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0028en




More information about the Users mailing list