Build precise queries to find exactly what you need
Press ESC to close
Nagios World Conference 2026: Sept. 14-17 in St. Paul, MN | Learn More
Your review has been submitted and is pending approval.
A Plugin to check the uptime of a router or switch With Perf out
Current Version
Last Release Date
June 11, 2009
Owner
Nagios Exchange
Download URL
https://exchange.nagios.org/wp-content/uploads/project-files/2009/06/check_uptime.pl
Uptime check
PNP Uptime Template
Check of router or switch of uptime through SNMP using perl
input is entered in terms of Usage: -H -C -p -w -c
There might be some errors at the moment but when i test it fully will update. Checks uptime in minutes up if below a certain limit sets ouput as critical
You need Net::SNMP and Getopt::Long ie Cpan install Net::SNMP install Getopt::Long Also might need to change directory to /plugins/ ### define service {
service_description Uptime use SERVICE_PRIORITY_TEMPLATE host_name HOSTNAME check_command check_cisco_uptime!Comm_string!warning!critical
} ### define command {
command_name check_uptime command_line /usr/bin/perl $USER1$/check_uptime.pl -H $HOSTADDRESS$ -C $ARG1$ -w $ARG2$ -c $ARG3$
}
::16/09/08 fixed wrong date time calc ::Added PNP graph template :: 29/09 Fixed major error with format of time(reboot) :: 23/10 Major remake fixed the time format finally yum out of beta am using it in production ::24/04/09 Fixed that annoying void error and added some basic help
You must be logged in to submit a review.
To:
From: