Nested notifications; parent vis-a-vis parent_host

Lev Lafayette lev at ivt.com.au
Tue Jul 3 05:39:58 CEST 2007


Hey nagios people,

Assume I have a happy system of a hypervisor and virtual machines.
Further, there's a neat system of when a machine goes down an SMS and
email is sent to the responsible person.

However, when the parent machine goes down, all the VMs (for obvious
reasons) send out a "Oh Noes!" message as well. This is not wanted.

Now the nagios documentation, dating back from the netsaint days, says
the system to walk a dependency path using parent_host... however the
hosts.cfg has entries like the following:


define host{
        use                     generic-host            ; Name of host
template to use
        host_name               guestvm1
        alias                   guestvm1
        address                 xxx.xxx.xxx.xxx
        parents                 xendom0
        check_command           check-host-alive
        }

Now presumably, cgis like statusmap.cgi is built from this information.
Would changing 'parents' to 'parent_map' in the above fix the dependency
walk and notifications? And would it break statusmap.cgi?

Thanks in advance,



Lev


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
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