Page 1 of 1

Graphs stopped after upgrade

Posted: Fri Jul 18, 2014 10:46 am
by notverynick
Hi Guys,

I upgraded to 2014R1.2 recently and I've noticed that my UPS Temperature checks are no longer graphing the perf data.

The check is configured with check_snmp and is still working so to speak just no perf data.

Can you guys assist with trouble shooting as the output of the check looks ok to me:

SNMP WARNING - Internal Temp *30* Degrees Celsius | 'Internal Temp'=30Degrees Celsius;26;40;

Thanks,

Nick

Re: Graphs stopped after upgrade

Posted: Fri Jul 18, 2014 11:34 am
by abrist
Could you post the full command? The check result you posted includes some string information in the perfdata which will break graphing.

Re: Graphs stopped after upgrade

Posted: Fri Jul 18, 2014 8:16 pm
by Box293
notverynick wrote:SNMP WARNING - Internal Temp *30* Degrees Celsius | 'Internal Temp'=30Degrees Celsius;26;40;
The UOM containts spaces and this will be causing issues "Degrees Celsius".

Perhaps try -u Degrees_Celsius in your check_snmp command.


https://nagios-plugins.org/doc/guidelines.html#AEN200

'label'=value[UOM];[warn];[crit];[min];[max]
UOM (unit of measurement) is one of:
no unit specified - assume a number (int or float) of things (eg, users, processes, load averages)
s - seconds (also us, ms)
% - percentage
B - bytes (also KB, MB, TB)
c - a continous counter (such as bytes transmitted on an interface)

Re: Graphs stopped after upgrade

Posted: Sat Jul 19, 2014 7:26 pm
by jwelch
just fyi, I use DegC or DegF as UOM for temperature (haven't needed DegK yet...;)

Re: Graphs stopped after upgrade

Posted: Tue Jul 22, 2014 1:17 pm
by notverynick
Guys thanks so much, this is now resolved.

Not sure why this was working prior to the upgrade but at least I have my graphs back.

Thanks all!