Page 2 of 2

Re: Monitor uptime with threshold

Posted: Fri Nov 03, 2017 6:54 am
by tacolover101
npolovenko wrote:@ericssonvietnam, If installing an agent on the remote host is not an option then i'd suggest ./check_by_ssh plugin.
Navigate to /usr/local/nagios/libexec/
and run:

Code: Select all

./check_by_ssh -H Your_Server_IP -C uptime
Let us know if this would work for you and if you need help creating a service definition with this plugin.
to add to this, you could also use SNMP. the oid / mib with the related info should be returned in the initial 10 lines of a snmpwalk.

Re: Monitor uptime with threshold

Posted: Fri Nov 03, 2017 10:10 am
by npolovenko
Thanks, @tacolover101!
@ericssonvietnam, Let us know if you have any other questions.