Problem with hostextinfo and hostgroup_name

Fredrik Wänglund fredrik.wanglund at datavis.se
Tue Jun 10 13:04:07 CEST 2003


You can't use 'hostgroup_name' in extinfo-definitions. Use 'host_name' 
instead...
Nagios don't check the extinfo-files because it's a part of the 
web-interface.

/FredrikW


andrius at skynet.lt wrote:

>Hello, all,
>
>I have following setup in my hostextinfo.cfg:
>
>define hostextinfo{
>	name            mysql
>	icon_image      sun.png
>	icon_image_alt  Some Server
>	vrml_image      sun.png
>	statusmap_image sun.gd2
>	2d_coords       100,250
>	3d_coords       100.0,50.0,75.0
>	register        0
>}
>
>define hostextinfo{ 
>	use             mysql
>	hostgroup_name  mysql-servers
>} 
>
>Problem is, that nagios silently accepts this with no errors
>or warnings, but I still cannot see sun.png shining in my status map for
>all servers.
>
>Idea behind this setup is to be able to apply "template", named "mysql"
>to all servers, that are members of hostgroup "mysql-servers". 
>
>If this is not possible - can someone propose simple way to apply this template
>to multiple servers without manually defining each server - when you have 150 and
>more the same type servers it is an issue...
>
>Thanks,
>Andrius
>
>
>
>-------------------------------------------------------
>This SF.net email is sponsored by:  Etnus, makers of TotalView, The best
>thread debugger on the planet. Designed with thread debugging features
>you've never dreamed of, try TotalView 6 free at www.etnus.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
>  
>




-------------------------------------------------------
This SF.net email is sponsored by:  Etnus, makers of TotalView, The best
thread debugger on the planet. Designed with thread debugging features
you've never dreamed of, try TotalView 6 free at www.etnus.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