Page 2 of 2
Re: Graphs not working
Posted: Wed Nov 29, 2017 4:22 pm
by lmiltchev
Now I just have to figure out why the Windows service Services aren't collecting Perf Data even though they are set to do so.
What kind of services are these? Not all checks return perfdata. Go to Home > Service Detail, click on one of the "problem" services, go to the "Advanced" tab, and show us a screenshot of this page.
Do you see RRD or XML files for these checks in "/usr/local/nagios/share/perfdata/<hostname>/" directory?
Re: Graphs not working
Posted: Thu Nov 30, 2017 10:32 am
by SavaSC
lmiltchev wrote:
What kind of services are these? Not all checks return perfdata. Go to Home > Service Detail, click on one of the "problem" services, go to the "Advanced" tab, and show us a screenshot of this page.
Do you see RRD or XML files for these checks in "/usr/local/nagios/share/perfdata/<hostname>/" directory?
Here is a screenshot from the Service Status Detail page. There is no RRD or XML file for these checks.
Capture.PNG
The command used is
check_nt in the
check_xi_service_nsclient check command. This particular check is looking to see if the w3logsvc service is running. Here is a screenshot:
Capture2.PNG
As near as I can tell, all of the checks using SERVICESTATE in
check_nt are not getting perfdata.
Re: Graphs not working
Posted: Thu Nov 30, 2017 11:15 am
by npolovenko
@SavaSC, Looks like SERVICESTATE check does not have a capability to return RRD data. I ran that check on my system as well and got no RRD output. If you go to that Service menu in CCM one more time(on your second screenshot) and click on
Run Check Command you should see the return output. RRD output always goes after a | sign and has this syntax "Service XX started||'Parametr_name'=output". If you don't see then graphing hasn't been made for this check.
Re: Graphs not working
Posted: Thu Nov 30, 2017 4:23 pm
by SavaSC
Thank you for the information. Good to know how it works.
It doesn't look like Win_NT will give any RRD output. Going to have to look and see if any other plug-ins will do it.
Thanks for your help.
Re: Graphs not working
Posted: Thu Nov 30, 2017 5:43 pm
by npolovenko
@SavaSC , Have you ran a windows desktop wizard in Nagios XI? It uses NSClient and it has a bunch of checks that do have graphs. It's just this particular plugin only checks whether the process is up or down, there's not really much of a data to draw a graph with. If that makes sense.
Re: Graphs not working
Posted: Mon Dec 04, 2017 4:11 pm
by SavaSC
Just tried on both of our Nagios instances. One throws a HTTP 500 error when I go to Configure -> Configuration Wizards. The other one went through the wizard only to throw a config error when it tried to finalize.
Always something.

Re: Graphs not working
Posted: Mon Dec 04, 2017 4:33 pm
by npolovenko
@SavaSC , I'd recommend opening a new forum thread for at least one of these issues as neither of them is probably related the graphs. We like to keep threads separate so that other users can reuse this information in the future. On Nagios server that gave you HTTP 500 error we'd need to see the apache log file to understand what's going on. Please upload:
On the server that threw a config error we'd like to see the screenshot of that error. DId you enter the password when you went through the wizard?
Also, are both XI servers added to the allowed_hosts in nsclient.ini file on the windows computer?