forked from wiburg/NagiosTools
-
Notifications
You must be signed in to change notification settings - Fork 0
kryp/NagiosTools
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
This repository contains my nagios-plugins and other nagios related tools. Tools: ====== nagios-log.pl: -------------- A script, which parses the nagios log file output and fixes the time format to a human readable string. Additionally it can colorize the output. Example: tail -f /usr/local/nagios/var/nagios.log | ./nagios-log.pl Options: -a (prints only alerts) -n (don't colorize output) Plugins: ======== check_http.pl: -------------- This plugin is _no_ replacement of the default nagios check_http plugin. It provides some functionality which the standard check_http doesn't have. The standard check_http plugins does not allow to set warning or critical status depending on the page content. check_http can only return OK or Critical if a string (or regular expression) matches. Using this plugin you can set multiple conditions for warning and/or critical status. Example (combine regex and http codes): ./check_http.pl -H host.domain.com -u /test.html \ -W '[Ww]arn' -W '[Mm]issing' -C '[Cc]rit' \ -c 500 -c 404 Capital options (-W and -C) indicate regex patterns which should match the page content. The lowercase options are reserved for the HTTP Codes (regex can be used too). There still many open tasks like user authentication support, configurable redirect support. check_ndo.pl: ------------- check_ndo.pl is a perl plugin, which checks wether the ndo database was updated in a given time period. Usage: ./check_ndo.pl -H -P -d -u -p | -i instance_name | -h Example: ./check_ndo.pl -H localhost -d nagios_db \ -u nagios_user -p secret -t 60 -i my_instance check_ups_apc.pl: ----------------_ checks the status (capacity, load, temperature) of an APC ups. The POWERNET-MIB is used for monitoring. The plugin was developed by Altinity Limited: Copyright (C) 2004 Altinity Limited E: [email protected] W: http://www.altinity.com/ Modified by [email protected] check_ups_apc.php is the corresponding pnp4nagios template (tested with pnp4nagios0.6.2). For more information about nagios have a look at: http://nagios.org
About
Wiburgs Nagios Tools
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
Languages
- Perl 89.5%
- PHP 8.3%
- Shell 2.2%