Page 1 of 1

Nagios Graphing Issue

Posted: Tue Dec 02, 2025 8:53 am
by jkimmel
Had an issue where I wanted to take a number from an F5 snmp poll and convert to Mb/s. I attempted to create a new php file in the /usr/local/nagios/share/pnp/templates/ directory and made sure that permissions and everything else looked good. After troubleshooting for a bit I made simple changes to the XML file directly and these changes were not updated in the graph. I consulted chatGPT and it concluded that nagios may just use the rrd data and a different graphing solution and not PNP4Nagios? Does anyone have any insight into this? I couldn't find any specific documentation.

Thanks!
John

Re: Nagios Graphing Issue

Posted: Tue Dec 02, 2025 2:03 pm
by zrobinson
Hi @jkimmel,

It is correct that Nagios XI leverages tools besides PNP4Nagios for graphing. Highcharts is primarily used for graphing rrd performance data on most pages, and Recharts is used for graphing on Smart Dashboards. Documentation for using Highcharts with Nagios XI can be found here:

https://assets.nagios.com/downloads/nag ... I-2024.pdf

Please let me know if you have any further questions!

Thanks,
Zach

Re: Nagios Graphing Issue

Posted: Tue Dec 09, 2025 2:09 am
by beattyflan
Nagios stores performance data in RRD files, and PNP4Nagios reads those files to generate the graphs. Changing the templates or XML files affects how the data is displayed, but it doesn’t change the actual numbers stored in RRDs.

So, if you want the graphs to show Mbps instead of raw values, you need to make sure the data coming from SNMP is already converted into Mbps before it gets stored in the RRD. That usually means modifying the check command or adding a step to preprocess the SNMP data so it’s in the right units before storing.