Extended information about hosts

Ian Davidson idavidso at juniper.net
Thu May 15 19:59:53 CEST 2003


What I managed to do was, in the cgi.cfg file add:

xedtemplate_config_file=/usr/local/nagios/etc/hostextinfo.cfg

Then added entries into the hostextinfo.cfg such as

define hostextinfo{
# Uses Windows icon
host_name       dcfrpar1,parists1,pate
icon_image      win40.png
vrml_image      win40.png
statusmap_image win40.jpg
}


And so on.

Works fine providing you have the image files in the correct place,
which I think is /usr/local/nagios/share/images/logos

Ian




> -----Original Message-----
> From: nagios-users-admin at lists.sourceforge.net 
> [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf 
> Of Lukasz Lesniak
> Sent: 15 May 2003 12:42
> To: nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] Extended information about hosts
> 
> 
> I want to "pretty" my Nagios web interface and I 
> un#-ed one line in cgi.cfg hostextinfo[xxx]=........................
> in section Extended Host Information
> Ofcourse i put there my own strings separated by ";". There 
> is 10 strings.
> Then /etc/init.d/nagios restart
> and ... I don't see an image beside my host name.
> 
> Should I something enabled?
> 
> 
> 
> -------------------------------------------------------
> Enterprise Linux Forum Conference & Expo, June 4-6, 2003, 
> Santa Clara The only event dedicated to issues related to 
> Linux enterprise solutions www.enterpriselinuxforum.com
> 
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS 
> when reporting any issue. 
> ::: Messages without supporting info will risk being sent to /dev/null
> 


-------------------------------------------------------
Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara
The only event dedicated to issues related to Linux enterprise solutions
www.enterpriselinuxforum.com

_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list