What is the process for changing / adding perf data?

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
skynardo
Posts: 136
Joined: Tue Sep 18, 2012 8:59 am
Location: St. Louis, MO

What is the process for changing / adding perf data?

Post by skynardo »

I have a passive cpu_check running every that alerts on %idle time and sends %idle time as perfdata. I was recently asked to also collect %Wait I/O perfdata so I changed the plugin to report this as well, here is an example of the plugin's output:

OK CPU IDLE 97.04% (10:5);| Id=97.04%;10;5 wio=0.17%;;;

This is the only thing I have changed thus far. When I check the advanced tab for this service, I see the following in the Performance Data section:

Performance Data: Id=97.27%;10;5 wio=0.17%;;;

However, when I look at the Performance Data graph, it is still only showing the original metric %idle.
Looking for the correct procedure to start graphing both sets of data, hopefully without losing existing %Idle data.
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: What is the process for changing / adding perf data?

Post by cdienger »

Try editing the xiwizard_passive_service template found under Configure > Core Config Manager > Templates > Service Templates, go to the Check Settings tab, and make sure that "Process perf data" option is set to on.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
skynardo
Posts: 136
Joined: Tue Sep 18, 2012 8:59 am
Location: St. Louis, MO

Re: What is the process for changing / adding perf data?

Post by skynardo »

Im using my own templates and I verified that it is set to ON. It is (and has been) collecting and displaying %idle in the performance graphs for this service, but after adding the second metric wio%, I still only see the %idle when looking at performance graphs for this service.
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: What is the process for changing / adding perf data?

Post by cdienger »

Thanks for the clarification. https://support.nagios.com/kb/article/n ... phing.html describes a similar problem. Read through it, run the provided script, and let us know your results!
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
skynardo
Posts: 136
Joined: Tue Sep 18, 2012 8:59 am
Location: St. Louis, MO

Re: What is the process for changing / adding perf data?

Post by skynardo »

This fixed my issue. Thank you for pointing me to the doc that I needed.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: What is the process for changing / adding perf data?

Post by tmcdonald »

Did you have any further (related) questions or are we okay to close this thread?
Former Nagios employee
Locked