Home Directory

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


Remember Me

Directory Tree



byjsellens, March 14, 2014
Works great, though one problem I ran into - the check for a valid -H value assumes that all components of a hostname start with a letter, and some of ours start with a digit, so I had to adjust the regular expression. (I was confused about why it was telling me "No target host specified" until I checked the code and understood that that message should have been "No target host, or I didn't like the one you gave me" :-) )
byjsellens, April 9, 2013
Handy script, but should mention that it runs on linux only - it reads /proc/net/dev, so unfortunately it won't help you monitor a switch or other network device.
byjsellens, February 18, 2013
Nice client, provides error messages if url or token is incorrect. I noticed that if providing results on stdin, nothing seems to happen. I believe the 3rd and 4th last lines are indented too far. The two lines

xml += ""
self.post_data(options.url, options.token, xml)

should be indented two levels, to match the else: about 15 lines earlier.

byjsellens, August 2, 2011
1 of 3 people found this review helpful
We're now using thruk primarily to aggregate 3 separate Nagios servers, and it's a great tool. The interface is obvious if you're familiar with the classic Nagios interface, and it behaves just as you would expect. We connect over the open network using ssh tunnels to livestatus endpoints. Works like a charm! Thanks!
byjsellens, July 25, 2011
Very handy plugin - ran into one minor problem in version 2.4 with the "status" command. check_apcupsd only looks at the first word in the STATUS: provided by apcaccess. Changing the check at line 188 from this:
VALUE=`$APCACCESS status $HOSTNAME:$PORT | grep -i ^$ARG | \
sed 's/.*: *\([A-Z]*\).*/\1/'`
to this:
VALUE=`$APCACCESS status $HOSTNAME:$PORT | grep -i ^$ARG | \
sed -e 's/^.*: *//' -e 's/ *$//'`

seemed to do the trick for me - now our brand new UPS can report "ONLINE NOBATT" and we'll notice!