Invalid conversion in sprintf: "%\012" at /usr/bin/p1.pl line 79

Christoph Maser cmr at financial.com
Fri Nov 3 15:42:35 CET 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi

lately i get the unknonw state "Invalid conversion in sprintf: "%\012"
at /usr/bin/p1.pl line 79,"
on 2 hosts when running my check_disk_snmp.pl plugin which can be found
here: http://members.financial.com/~cmr/check_disk_snmp.pl

It runs fine on round about 40 hosts. For the failing hosts i get the
folowing output when running the plugin manually:


/usr/local/nagios/libexec.financial/check_disk_snmp.pl -m host1 -v2c -u
xxxx -c 80 -d /
"CRITICAL: / 65.89G of 69.41G used. 94.92% > 80%"

/usr/local/nagios/libexec.financial/check_disk_snmp.pl -m host2 -v2c -u
xxxx -c 80 -d /
"CRITICAL: / 65.27G of 69.41G used. 94.04% > 80%"

So it seems there is some problem with exit code 2. I use nagios 2.5
rpm-packaged by Dag Wieers with the following spec-file
http://dag.wieers.com/packages/nagios/nagios.spec

Anyone can give me some hints how to fix this?


Chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.1 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFS1VbsLjW0HYht7URAg5EAJ9ksXmLSRQz+JGoPlm1U1lSryoVewCgjynK
vYeU2ca1Md7XmjeZZWH6nG8=
=JnQG
-----END PGP SIGNATURE-----

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642




More information about the Developers mailing list