Page 1 of 1

check_snmp output formating

Posted: Fri Oct 12, 2012 2:40 am
by Cobalt60
Hi,

I'm using check_snmp to monitor a APC ups when I run the following;

Code: Select all

./check_snmp -H <HostName> -o .1.3.6.1.4.1.318.1.1.1.4.2.3.0 -w 60 -c 90 -l 'Current Load' -u '%'
I get;

Code: Select all

SNMP OK - Current Load 28 % | Current Load=28
Is it possable to format this so "Current Load" isn't repeated twice?

Thanks

Re: check_snmp output formating

Posted: Sun Oct 14, 2012 5:26 pm
by jsmurphy
It's not returning it twice... well it is, but not for the reasons you think. Anything after a pipe symbol | is performance data, it won't display on the interface it's used to draw graphs.