[Nagiosplug-help] check_s3_usage plugin

amarrich at utipu.com amarrich at utipu.com
Mon Mar 17 20:44:08 CET 2008


I've been trying to get the check_s3_usage plugin(downloaded from nagiosexchange) running and I've come up against a wall. I'm running on centos5 and python2.4 so had to go with s3cmd-0.9.2-1.noarch.rpm. I also had to change the script to use /usr/bin/python and change out the s3cmd executable section to:

# path to s3cmd executable
#S3CMD = '/usr/local/bin/s3cmd'
S3CMD = '/usr/bin/s3cmd'
#DU = 'du'
DU = 'ls'

The plugin works fine by hand:

S3 OK - bucket usage: [bucket URI] 2007-07-20;| size=2007-07-20;;;;

But when called by nagios locally I get:
Current Status:   UNKNOWN     
Status Information: (No output!) 

And when trying to use through nrpe I get:
[1205346099] SERVICE ALERT: utstage;S3 check;UNKNOWN;SOFT;3;NRPE: Unable to read output

Any help appreciated,

Amy






More information about the Help mailing list