Monitor uptime with threshold

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
User avatar
tacolover101
Posts: 432
Joined: Mon Apr 10, 2017 11:55 am

Re: Monitor uptime with threshold

Post 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.
npolovenko
Support Tech
Posts: 3457
Joined: Mon May 15, 2017 5:00 pm

Re: Monitor uptime with threshold

Post by npolovenko »

Thanks, @tacolover101!
@ericssonvietnam, Let us know if you have any other questions.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked