Page 1 of 1

monitor ping of device

Posted: Mon Apr 27, 2015 5:39 pm
by juanvidal_it
Hello
I have a router that pings a server
can monitor the job on my router whit nagios

tanks

Re: monitor ping of device

Posted: Tue Apr 28, 2015 9:19 am
by jdalrymple
Is it an embedded router or a router with a realtime OS such as Linux/Windows/BSD?

You can install an agent if the latter. If not then your best bet would be to create a custom plugin to be run on the server that alerts if it doesn't get an ICMP packet from the router in a timely fashion.

Perhaps though I'm misunderstanding what you're actually doing. Are you trying to make sure that the ping process continues without stopping, or are you hoping to monitor the up/down status of the server?

Re: monitor ping of device

Posted: Tue Apr 28, 2015 9:53 am
by juanvidal_it
hello.
tanks for the answer

the router is a mikrotik whit Routero OS
and i need make sure that the ping process continues without stopping

Re: monitor ping of device

Posted: Tue Apr 28, 2015 10:15 am
by jdalrymple
Since that's an embedded OS and no doubt without a compiler - getting NRPE running on it is going to be troublesome.

Does that OS run net-snmp? If so you may be able to extend snmp with a command that searches for that process. Here is the documentation on that topic.

Otherwise I think you'll have to monitor the process at the far end on the other server.

Re: monitor ping of device

Posted: Tue Apr 28, 2015 10:31 am
by juanvidal_it
ok tanks for you help

Re: monitor ping of device

Posted: Tue Apr 28, 2015 10:39 am
by jdalrymple
Happy to help. If you need further assistance with either of those methods feel free to reach out to us.