I'm new to Linux and also to Nagios monitoring, so it may be something that I'm 
missing.

I setup a second Nagios server so I can monitor my primary Nagios server, 
basically if the primary Nagios stop monitoring I would like to know via the 
secondary Nagios.

Issue is that I setup the check_nagios plugin and its giving me the status of 
the Nagios process of the primary server, but when I shutoff the Nagios process 
on the primary server (for testing), I am NOT getting any notification from the 
secondary server that something is wrong with the primary, and its also keeps 
telling me the process on the primary servers is OK.

Could you please assist ? thank you in advance.

See my host service definition below.


define service {
        use                             generic-service
        host_name                       ClearMon02
        service_description             Nagios
        check_command                   check_nagios
        notifications_enabled           1
          }

My command definition is below
define command{
        command_name    check_nagios
        command_line    $USER1$/check_nagios -F 
/usr/local/nagios/var/status.dat -e 1 -t  15 -C /usr/local/nagios/bin/nagios
        }




______________________________________________________________________
This email has been scanned by the Symantec Email Security.cloud service.

Reply via email to