Some performance graphs not working after upgrade

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
btemple
Posts: 183
Joined: Fri Nov 08, 2013 9:30 am

Some performance graphs not working after upgrade

Post by btemple »

After upgrading our Nagios XI servers to 2014 some of our performance graphs are no longer updating. The check did not change and was working before upgrade. Also can this check be run in Fahrenheit instead of Celsius ?

check_xi_service_snmp
check_snmp -H XXXXXX -o 1.3.6.1.4.1.2636.3.1.13.1.7.9.1.0.0 -C XXXXXX -P 2c -l "" -u "Deg C" -w 100 -c 120
You do not have the required permissions to view the files attached to this post.
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Some performance graphs not working after upgrade

Post by slansing »

There does not seem to be anything inherently wrong with the performance data being returned, are your other hosts/services experiencing performance data issues as well? Or is this isolated only to this service? What is the output of:

Code: Select all

tail -50 /usr/local/nagios/var/npcd.log
tail -50 /usr/local/nagios/var/perfdata.log
btemple
Posts: 183
Joined: Fri Nov 08, 2013 9:30 am

Re: Some performance graphs not working after upgrade

Post by btemple »

It only seems to effect that check.

Logs requested are attached
You do not have the required permissions to view the files attached to this post.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Some performance graphs not working after upgrade

Post by scottwilkerson »

For that particular service can you go to the advanced tab of the Service Status Detail page and show what is reporting in the "Performance Data:" field.

Thanks
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
btemple
Posts: 183
Joined: Fri Nov 08, 2013 9:30 am

Re: Some performance graphs not working after upgrade

Post by btemple »

Scott that info is in my first attachment I think ?
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Some performance graphs not working after upgrade

Post by abrist »

You are hitting both "MAX load" and "TIMEOUT". Do the following:
Edit:

Code: Select all

/usr/local/nagios/etc/pnp/process_perfdata.cfg
Change:

Code: Select all

TIMEOUT = 5
To:

Code: Select all

TIMEOUT = 20
Also edit this file:

Code: Select all

/usr/local/nagios/etc/pnp/npcd.cfg
Change:

Code: Select all

load_threshold = 10.0
To:

Code: Select all

load_threshold = 30.0
Now restart npcd:

Code: Select all

service npcd stop
killall -9 npcd
service npcd start
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.
btemple
Posts: 183
Joined: Fri Nov 08, 2013 9:30 am

Re: Some performance graphs not working after upgrade

Post by btemple »

thanks I will give this a shot
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Some performance graphs not working after upgrade

Post by tmcdonald »

We'll keep this open for you
Former Nagios employee
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Some performance graphs not working after upgrade

Post by Box293 »

I think the Unit Of Measurement contains a space (which is not allowed).

Your screenshot has

Code: Select all

=38Deg C;100;120
Nagios Plugin Development Guidelines states the following:

Code: Select all

This is the expected format:
'label'=value[UOM];[warn];[crit];[min];[max]
You can see that value and [UOM] do not have a space between them.

I beleive your command should be something like:

Code: Select all

check_snmp -H XXXXXX -o 1.3.6.1.4.1.2636.3.1.13.1.7.9.1.0.0 -C XXXXXX -P 2c -l "" -u "Deg_C" -w 100 -c 120
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
btemple
Posts: 183
Joined: Fri Nov 08, 2013 9:30 am

Re: Some performance graphs not working after upgrade

Post by btemple »

Ok I made the change and am running it against a router but no performance graph was created or updated. Would permissions on the directory have changed during upgrade ?
You do not have the required permissions to view the files attached to this post.
Locked