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

check_uptime.php

Rating
0 votes
Favoured:
0
Current Version
1.20210317
Last Release Date
2021-03-17
Compatible With
  • Nagios 3.x
  • Nagios 4.x
License
MIT
Hits
510
Network Monitoring Software - Download Nagios XI
Log Management Software - Nagios Log Server - Download
Netflow Analysis Software - Nagios Network Analyzer - Download
Nagios Plugin to check uptime over snmp (Linux/Window)
You need to install php-snmp

/usr/bin/php ./check_uptime.php -H 192.168.2.212
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
OK - Windows Version 6.3 (Build 19042) - 2 days, 14 hours, 8 minutes, 9 seconds