Re: Monitor uptime with threshold
Posted: Fri Nov 03, 2017 6:54 am
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.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:Let us know if this would work for you and if you need help creating a service definition with this plugin.Code: Select all
./check_by_ssh -H Your_Server_IP -C uptime