Hi,
Is is possible to monitor a server using PING from multiple (say, 3) locations and for a central Nagios instance to pool the results to determine whether the server status is OK (3/3 PINGs OK), WARNING (2/3 PINGS OK) and ERROR (<2 PINGS OK).
Thanks
Monitoring a server by ping from multiple locations
-
- Posts: 3
- Joined: Wed Jan 04, 2012 11:26 am
Re: Monitoring a server by ping from multiple locations
Is this directly possible? No. However you could have a script which, when called, instructs the three servers to run the pings. The script would have to handle the responses and then report that back to Nagios. Look into NRPE (Nagios Remote Plugin Executor) for executing the pings.
Former Nagios employee
-
- Posts: 3
- Joined: Wed Jan 04, 2012 11:26 am
Re: Monitoring a server by ping from multiple locations
Thanks - I was hoping for an off-the-shelf solution rather than roll-my-own. Looks like I may have to do some scripting after all.
-
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Monitoring a server by ping from multiple locations
It should be pretty simple to create, I'd definitely follow these guidelines:
https://www.nagios-plugins.org/doc/guidelines.html
https://www.nagios-plugins.org/doc/guidelines.html