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
Monitor uptime with threshold
- tacolover101
- Posts: 432
- Joined: Mon Apr 10, 2017 11:55 am
Re: Monitor uptime with threshold
-
npolovenko
- Support Tech
- Posts: 3457
- Joined: Mon May 15, 2017 5:00 pm
Re: Monitor uptime with threshold
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.