| < check_afsspace Documentation | Russ Allbery > Software > AFS Monitoring | check_bos Documentation > |
fix gloabl variable problem
Lines changed: +10 -10
Use "#" to protect $ID.
Lines changed: +1 -1
Replace all OK: WARNING: CRITICAL: UNKOWN: bits with: OK - WARNING - CRITICAL - UNKNOWN -
as this was breaking message parsing on the Nagios side.
Lines changed: +6 -6
use /usr/bin/vos by default
Lines changed: +2 -2
Up the network timeout limit to five minutes, since afssvr11 is still timing out every night.
Lines changed: +2 -2
Check for vos partinfo failing.
Lines changed: +5 -1
Increased the timeout further to 120 seconds. volserver is sometimes just really slow.
Lines changed: +2 -2
Change the default timeout for the AFS space check to a minute, since the volserver is single-threaded and sometimes doesn't respond quickly.
Lines changed: +2 -2
Fix the SYNOPSIS in the documentation to have the correct flag to get the version.
Lines changed: +2 -2
Print errors rather than using warn since Nagios wants things on standard output. Fix the initial comment.
Lines changed: +5 -5
Reorganized extensively, simplified the code a little bit, simplified and shortened the output since Nagios will add the relevant host information itself on errors, added full documentation, added better options parsing, and made the output and options comply better with the Nagios plugin standards. Added a timeout option.
Lines changed: +213 -57
Fix bug in warning bits
Lines changed: +3 -3
Remove \n's from critical/warning arrays, so all problem partitiosn (if there is more than one) will print out on the nagios status page
Lines changed: +3 -3
Print out percentages instead
Lines changed: +4 -4
Print out partition data in a nice format
Lines changed: +8 -2
Fully working nagios style check_afsspace check
Lines changed: +15 -9
First pass at making this look like a nagios plugin:
-w,-c,-H options all added Print out full parition table if no errors found (like check_disk)
Lines changed: +26 -17
Remove reliance on pubsw perl for both use local vos for afsspace
| < check_afsspace Documentation | Russ Allbery > Software > AFS Monitoring | check_bos Documentation > |