Need Graph Explorer for custom service on a host

This board serves as an open discussion and support collaboration point for Nagios XI. NOTE: Nagios XI customers should use the Customer Support forum to obtain expedited support.

Need Graph Explorer for custom service on a host

Postby rajeshkondapalli » Thu Oct 17, 2019 3:58 pm

Hi,

I can see the graphs for all generic services on a host but looking for a performance graph on a custom service written for host.
rajeshkondapalli
 
Posts: 9
Joined: Wed Jan 04, 2017 11:52 am

Re: Need Graph Explorer for custom service on a host

Postby scottwilkerson » Fri Oct 18, 2019 9:45 am

Is this service check returning performance data?
If you look at the Service detail page for this service and click the Advanced tab, is there data next to "Performance Data:"?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
User avatar
scottwilkerson
DevOps Engineer
 
Posts: 16736
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises

Re: Need Graph Explorer for custom service on a host

Postby rajeshkondapalli » Sun Oct 20, 2019 10:13 am

NO, it does not.
rajeshkondapalli
 
Posts: 9
Joined: Wed Jan 04, 2017 11:52 am

Re: Need Graph Explorer for custom service on a host

Postby scottwilkerson » Mon Oct 21, 2019 6:55 am

rajeshkondapalli wrote:NO, it does not.

Nagios only make performance graphs for plugins that return performance data. Not all do so, it depends on the author.

You can see the information on performance data output here
https://nagios-plugins.org/doc/guidelines.html#AEN200
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
User avatar
scottwilkerson
DevOps Engineer
 
Posts: 16736
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises

Re: Need Graph Explorer for custom service on a host

Postby rajeshkondapalli » Mon Oct 21, 2019 1:53 pm

My custom service just spits out a "%", but still unable to get performance graph.
rajeshkondapalli
 
Posts: 9
Joined: Wed Jan 04, 2017 11:52 am

Re: Need Graph Explorer for custom service on a host

Postby scottwilkerson » Mon Oct 21, 2019 2:57 pm

rajeshkondapalli wrote:My custom service just spits out a "%", but still unable to get performance graph.

Does it follow a pipe (|) in the correct format as outlined by the link above?

Nagios 3 and newer will concatenate the parts following a "|" in a) the first line output by the plugin, and b) in the second to last line, into a string it passes to whatever performance data processing it has configured. (Note that it currently does not insert additional whitespace between both, so the plugin needs to provide some to prevent the last pair of a) and the first of b) getting run together.) Please refer to the Nagios documentation for information on how to configure such processing. However, it is the responsibility of the plugin writer to ensure the performance data is in a "Nagios Plugins" format.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
User avatar
scottwilkerson
DevOps Engineer
 
Posts: 16736
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises


Return to Nagios XI

Who is online

Users browsing this forum: No registered users and 24 guests