Graphs stopped after upgrade

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
notverynick
Posts: 62
Joined: Wed Jun 13, 2012 8:47 am

Graphs stopped after upgrade

Post 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
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Graphs stopped after upgrade

Post by abrist »

Could you post the full command? The check result you posted includes some string information in the perfdata which will break graphing.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Graphs stopped after upgrade

Post 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)
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
jwelch
Posts: 225
Joined: Wed Sep 05, 2012 12:49 pm

Re: Graphs stopped after upgrade

Post by jwelch »

just fyi, I use DegC or DegF as UOM for temperature (haven't needed DegK yet...;)
notverynick
Posts: 62
Joined: Wed Jun 13, 2012 8:47 am

Re: Graphs stopped after upgrade

Post 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!
Locked