Some performance graphs not working after upgrade
Some performance graphs not working after upgrade
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
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
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.logRe: Some performance graphs not working after upgrade
It only seems to effect that check.
Logs requested are attached
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
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
Thanks
Re: Some performance graphs not working after upgrade
Scott that info is in my first attachment I think ?
Re: Some performance graphs not working after upgrade
You are hitting both "MAX load" and "TIMEOUT". Do the following:
Edit:
Change:
To:
Also edit this file:
Change:
To:
Now restart npcd:
Edit:
Code: Select all
/usr/local/nagios/etc/pnp/process_perfdata.cfgCode: Select all
TIMEOUT = 5Code: Select all
TIMEOUT = 20Code: Select all
/usr/local/nagios/etc/pnp/npcd.cfgCode: Select all
load_threshold = 10.0Code: Select all
load_threshold = 30.0Code: Select all
service npcd stop
killall -9 npcd
service npcd startFormer 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.
"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.
Re: Some performance graphs not working after upgrade
thanks I will give this a shot
Re: Some performance graphs not working after upgrade
We'll keep this open for you
Former Nagios employee
- 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
I think the Unit Of Measurement contains a space (which is not allowed).
Your screenshot has
Nagios Plugin Development Guidelines states the following:
You can see that value and [UOM] do not have a space between them.
I beleive your command should be something like:
Your screenshot has
Code: Select all
=38Deg C;100;120Code: Select all
This is the expected format:
'label'=value[UOM];[warn];[crit];[min];[max]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 120As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Some performance graphs not working after upgrade
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.