Graphing a Service that is being monitored

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
tmattingly
Posts: 115
Joined: Thu Oct 23, 2014 12:53 pm

Graphing a Service that is being monitored

Post by tmattingly »

Hello,

I am trying to monitor a service and was interested looking at a graph of (specifically for 'flapping' reasons). There is no graph displayed
It says... No performance graphs were found for this service. If you have just started monitoring this object then it may take up to 15 minutes for the performance graphs to appear.

Can you show me how to turn on graphing for a service I am monitoring? When I look at the service I see I am using the standard check_xi_service_nsclient that is called by the configuration wizard for monitoring a windows server.
If you ask what version of check_nt I am using it shows the following in the plugins...
check_nt apache nagios rwxrwxr-x 2018-08-27 12:30:13

Is there a newer version I should be using?
You do not have the required permissions to view the files attached to this post.
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: Graphing a Service that is being monitored

Post by cdienger »

That check is not returning performance data which is necessary to create the graph. You would want to use check_nrpe instead. For example:

Code: Select all

/usr/local/nagios/libexec/check_nrpe -H remote_ip -c CheckServiceState -a SSOManHost
Which would return something like:

Code: Select all

OK: All 1 service(s) are ok.|'SSOManHost'=4;0;0
The information after the | is the perfdata.

Change the command from 'check_xi_service_nslclient' to 'check_nrpe' and and put SSOManHost in for $ARG1$. This should do the trick as long as nsclient is configured to accept NRPE connections - see https://assets.nagios.com/downloads/nag ... ios-XI.pdf if this isn't already set up.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked