Service perfdata not displayed for as specific HOSTNAME

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Tadej_Vretic
Posts: 12
Joined: Thu Sep 24, 2020 3:36 am

Service perfdata not displayed for as specific HOSTNAME

Post by Tadej_Vretic »

Hello,

I have a very interesting case.
Service perfdata is not shown in nagiosxi for a specific HOST, if reconfigure this host and rename it the service performance data graphs are displayed, but if I rename the host back to primary name, the service performance graphs are gone again, while HOST performance data (ping) is always displayed.

I dont see any issues with RRD files.
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: Service perfdata not displayed for as specific HOSTNAME

Post by benjaminsmith »

Hi @Tadej_Vretic

Thanks for downloading the Nagios XI trial and welcome to the customer forum!

That is odd, and can't say I have come across this before. One option is to simply remove the rrd files for those services and allow them to be regenerated and let me know if that resolves the issue.

The files would be in the following directory under the host name. Remove the RRD and XML file.

Code: Select all

/usr/local/nagios/share/perfdata/
The other option would be to turn up the debug output to take a look at the logs files for any errors. This is explained in the following knowledgebase article.

Nagios XI - Performance graph Problems

Regards,
Benjamin
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
Tadej_Vretic
Posts: 12
Joined: Thu Sep 24, 2020 3:36 am

Re: Service perfdata not displayed for as specific HOSTNAME

Post by Tadej_Vretic »

benjaminsmith wrote:Hi @Tadej_Vretic

Thanks for downloading the Nagios XI trial and welcome to the customer forum!

That is odd, and can't say I have come across this before. One option is to simply remove the rrd files for those services and allow them to be regenerated and let me know if that resolves the issue.

The files would be in the following directory under the host name. Remove the RRD and XML file.

Code: Select all

/usr/local/nagios/share/perfdata/
The other option would be to turn up the debug output to take a look at the logs files for any errors. This is explained in the following knowledgebase article.

Nagios XI - Performance graph Problems

Regards,
Benjamin
Hello @benjaminsmith,

I tried to delete the files, and tried out that post.
I dont think there is a problem with the rrd files, as if I try the direct URL for the charts, they work, only nagios won't display them for services.
I uploaded 2 pictures with the problem.

How does the mechanic in Nagios work?
You do not have the required permissions to view the files attached to this post.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Service perfdata not displayed for as specific HOSTNAME

Post by ssax »

Make sure if you are renaming a host you are using Configure > Core Config Manager > Tools > Bulk Renaming Tool otherwise the old performance data directory (based on the host name) will not be renamed and you won't see the historical perfdata.

So say for example that you have hosta and hosta's perfdata is in /usr/local/nagios/share/perfdata/hosta, now you rename hosta to hostxyz (not using the tool above) and so a new blank directory is created by the next perfdata results in /usr/local/nagios/share/perfdata/hostxyz and builds the RRDs again because you didn't also rename the backend /usr/local/nagios/share/perfdata/hosta to /usr/local/nagios/share/perfdata/hostxyz. Only using the tool above will rename the backend perfdata directory as well (so you can see your historical perfdata). If you wait like 15 minutes it should start to show new perfdata but you wouldn't see the historical without renaming the backend perfdata directory for the host or using the tool above.

If it is actually a hostname issue, please PM me the exact hostname so I can lab it up.

What XI version are you running?