Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

Directory Tree

check_uptime.php

Rating
0 votes
Favoured:
0
Current Version
1.20220328
Last Release Date
2022-03-28
Compatible With
  • Nagios 3.x
  • Nagios 4.x
License
MIT
Hits
4004
Nagios CSP

Meet The New Nagios Core Services Platform

Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.

Monitoring Made Magically Better

  • Nagios Core on Overdrive
  • Powerful Monitoring Dashboards
  • Time-Saving Configuration Wizards
  • Open Source Powered Monitoring On Steroids
  • And So Much More!
Nagios Plugin to check uptime over snmp (Linux/Window)
If you find a bug or have a request, write me an email: nagios@jhoerter.com

You need to install php-snmp

NEW

Version 1.20220328
correct debug mode

Version 1.20220312
add -n no version (build) information


/usr/bin/php ./check_uptime.php -H 192.168.2.212 -P 2 -C public
OK - 4.9.0-14-amd64 - 56 days, 3 hours, 48 minutes, 42 seconds

/usr/bin/php ./check_uptime.php -H 192.168.2.11 -P 2 -C public
OK - (Build 19042) - 2 days, 14 hours, 8 minutes, 9 seconds

/usr/bin/php ./check_uptime.php -H 192.168.2.11 -P 2 -C public -n
OK - (Build 19042) - 2 days, 14 hours, 8 minutes, 9 seconds