Note: Our CFO is in the process of purchasing a license so I do not have access to the Nagios XI Customer Support forum and I need to get this solved asap.
We are definitely going to have to test this one out. More than likely we will need to setup a pnp template so that your rrds will accept less than 5 minute intervals without pushing in false nans. Then its up to highcharts to see if it will respect the timings we put in to the pnp configs or not. I'll have a chat with a developer and see.
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
Yes, according to our developers there are some options on the highcharts side that can be used to change labels. Additionally, highcharts should auto set x intervals to timeframes defined in your rrds. So if you have setup the nagios check for once an hour, and the pnp templates for once an hour, highcharts should respect that. At this point, would I be correct in guessing that the pnp and rrd changes have not been made? If not, we can find some instructions to send you and begin working through this.
Also note, this has been moved to the customer forum.
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
Great. Yes, the pnp and rrd changes have not been made, please send me some instructions. Especially locations of there these pnp and rrd files are stored.
We would need to have a developer weigh in on this. We don't really have instructions currently existing to do this specifically since it's somewhat specific to your environment. What I can say is that the RRDs are under /usr/local/nagios/share/perfdata and the pnp stuff is a component I believe at /usr/local/nagiosxi/html/includes/components/pnp/, but again I will need to defer to a developer for specifics.
I think you will need to make this change before the highcharts graph is drawn where it is being sent the parameters in an array. Therefore, I would read through the above documentation since the xAxis section has all kinds of goodies to be able to customize it. I'm not sure how you feel about changing php files, but I'm sure we can come up with a solution if you figure out which area you want to manipulate.
Highcharts is a pretty complicated beast, but I know when you click that graph icon it calls the function graphexplorer_display_graph() which is located in /usr/local/nagiosxi/html/includes/components/graphexplorer/includes/graphexplorerinclude.js
Anything in the /usr/local/nagiosxi/html/includes/components/graphexplorer folder should be worth looking at for these changes. Until a developer can give a more specific location, that is where I would start.
Just keep in mind that any changes made there will likely be wiped by a future upgrade, and custom modifications fall outside of our support contract.