Nagios Xi Monitoring Service
Posted: Thu Jun 29, 2017 11:33 am
We are running nagios XI and what I need to do is add a service for "Informix DB"... I need to check to see if informix in running or not.
I do have the "nrpe" client running on the hosts machines.
Here is the command that I need to use....
I need to have it check every 5 minutes or less. If it returns 0 that means it is down and I will need to be notified ASAP.
Can this be done? If so please assist. Thank you
I do have the "nrpe" client running on the hosts machines.
Here is the command that I need to use....
Code: Select all
[root@huey tmp]# onstat - |grep 'On-Line' |wc -l
1
Can this be done? If so please assist. Thank you