Performance Graphs for some services are broken

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
uidaho
Posts: 89
Joined: Tue Feb 12, 2013 11:58 am

Re: Performance Graphs for some services are broken

Post by uidaho »

Do you think that deleting the XML and RRD files is really necessary? Doesn't Graph Explorer, which is working, use them? Also, Drraw uses at least the RRD file, I believe, and it is also working. I'll be happy to try deleting a set, but don't want to lose historical data if it isn't necessary.

Thank you

David
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Performance Graphs for some services are broken

Post by ssax »

Please post the output of this command:

Code: Select all

rrdtool -v
Thank you
uidaho
Posts: 89
Joined: Tue Feb 12, 2013 11:58 am

Re: Performance Graphs for some services are broken

Post by uidaho »

Code: Select all

RRDtool 1.3.8  Copyright 1997-2009 by Tobias Oetiker <[email protected]>
               Compiled Feb 20 2014 11:59:48

Usage: rrdtool [options] command command_options

Valid commands: create, update, updatev, graph, graphv,  dump, restore,
		last, lastupdate, first, info, fetch, tune,
		resize, xport

RRDtool is distributed under the Terms of the GNU General
Public License Version 2. (www.gnu.org/copyleft/gpl.html)

For more information read the RRD manpages
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Performance Graphs for some services are broken

Post by tgriep »

The thing that looks wrong is that the screen capture for the Performance Graph that you posted has Datasource: added to the label but neither the other 2 screen shots show that.

One thing you can do is open the Performance Graph tab in another browser tab and copy that URL and post it here.
Also, can you post how the check_nrpe command is defined in your commands.cfg file?

Thanks
Be sure to check out our Knowledgebase for helpful articles and solutions!
uidaho
Posts: 89
Joined: Tue Feb 12, 2013 11:58 am

Re: Performance Graphs for some services are broken

Post by uidaho »

Here is a screenshot of the same issue with a different browser (Safari).
Four.jpg
Here is the service from the config file:

Code: Select all

define service {
        service_description             Disk Usage - C 10 prcnt free win
        use                             Alert_10min_inheritHostNotifyPeriod_ST,Check_3min_ST,Contact_inheritHostContact_ST
        hostgroup_name                  ALL_Windows_Services_SHG
        servicegroups                   All_Windows_Services_Dependent_On_NSCLIENT_DSG,Escalate_AllPagers_ESG
        check_command                   check_nrpe!CheckCounter -a 'Counter=\LogicalDisk(C:)\% Free Space' ShowAll MinCrit=10!!!!!!!
        register                        1
        }       
And here is our check_nrpe config from commands.cfg:

Code: Select all

define command {
       command_name                             check_nrpe
       command_line                             $USER1$/check_nrpe -H $HOSTADDRESS$ -t 30 -c $ARG1$ $ARG2$
}
You do not have the required permissions to view the files attached to this post.
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Performance Graphs for some services are broken

Post by tgriep »

The Datasource label is part of the XML file for that service check but the performance data on the advanced tab doesn't show it so that is why it needs to be deleted to be recreated and that should get the graph to function again.
Try that and see if it updates the Performance graph for that check.
Be sure to check out our Knowledgebase for helpful articles and solutions!
uidaho
Posts: 89
Joined: Tue Feb 12, 2013 11:58 am

Re: Performance Graphs for some services are broken

Post by uidaho »

I deleted the XML and RRD file for one of the instances, specifically /usr/local/nagios/share/perfdata/sys-ops-util1p/Disk_Usage_-_C_10_prcnt_free_win [xml & rrd]. Both files were successfully recreated at the next check. I waited a couple of hours to allow plenty of samples to get into the RRD file. The graph is still broken on the "Performance Graphs" tab.

Here is a current screenshot:
Five.jpg
You do not have the required permissions to view the files attached to this post.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Performance Graphs for some services are broken

Post by lmiltchev »

Do you have an issue with hicharts only? Can you view the "old" style of graphs? Switch to using the old graphs under "System Settings" by deselecting the "Use Highcharts for Perfdata Graphs" check-box and clicking on "Update Settings". Can you see the graphs now?
Be sure to check out our Knowledgebase for helpful articles and solutions!
uidaho
Posts: 89
Joined: Tue Feb 12, 2013 11:58 am

Re: Performance Graphs for some services are broken

Post by uidaho »

Under Admin -> System Config -> Manage System Config, the option "Use Highcharts for Perfdata Graphs" is already deselected. Am I looking in the right place?
Six.jpg
You do not have the required permissions to view the files attached to this post.
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: Performance Graphs for some services are broken

Post by tgriep »

Yes, you are in the correct screen for the old style graphs. You can try to change it to use Highcharts to see if that helps.

One thing to try is to edit that service check and split up the arguments. Go to that service check and just have this in the $ARG1$ field.

Code: Select all

CheckCounter
Then add this to the $ARG2$ field.

Code: Select all

-a 'Counter=\LogicalDisk(C:)\% Free Space' ShowAll MinCrit=10
Save it out and see if that resolves it for you.

What version of the NSClient++ agent do you have installed on your Windows system?
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked