Download details

check_uptime check_uptime.php

Informationen
Erstelldatum 17.03.2021
Änderungsdatum 22.06.2021
Version 1.20210317
Dateigröße 1.54 KB
Downloads 191
Lizenz MIT Lizenz external
Preis Donate PayPal

 

Nagios Plugin to check uptime over snmp (Linux/Window)

You need to install php-snmp

If you use windows, disable fast boot (HowTo)!

If you find a bug or have a request, write me.


/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


 

Usage: /usr/bin/php check_uptime.php -H [home] -P [snmp_version] ( -v (debug) -V (snmp debug))

snmp_version 2 -C [community string] (default -C public)
3 -u [user] -p [password] -a [auth. prot. (MD5/SHA] ( -x [priv. proto. (DES/AES)] -X [priv. password])

 
               


 

uptime

Changelog

Version 1.20210317
First Release

  

Would you like to support me?
Then donate to PayPal...