Page 2 of 3
Re: Performance Graphs for some services are broken
Posted: Mon Sep 28, 2015 9:44 am
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
Re: Performance Graphs for some services are broken
Posted: Mon Sep 28, 2015 10:39 am
by ssax
Please post the output of this command:
Thank you
Re: Performance Graphs for some services are broken
Posted: Mon Sep 28, 2015 12:54 pm
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
Re: Performance Graphs for some services are broken
Posted: Mon Sep 28, 2015 3:21 pm
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
Re: Performance Graphs for some services are broken
Posted: Tue Sep 29, 2015 4:59 pm
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$
}
Re: Performance Graphs for some services are broken
Posted: Wed Sep 30, 2015 5:39 am
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.
Re: Performance Graphs for some services are broken
Posted: Thu Oct 01, 2015 2:59 pm
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
Re: Performance Graphs for some services are broken
Posted: Fri Oct 02, 2015 9:39 am
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?
Re: Performance Graphs for some services are broken
Posted: Tue Oct 06, 2015 10:38 am
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
Re: Performance Graphs for some services are broken
Posted: Tue Oct 06, 2015 2:36 pm
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.
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?