Performance Data Issue Nagios Core

An open discussion forum for obtaining help with Nagios Core. Nagios Core users of all experience levels are welcome here. Subforum have been created for the discussion of Nagios Core and Nagios Plugin development.

NOTE: The SourceForge.net mailing lists have been deprecated in favor of this forum in order to expedite support and provide additional features not available on the old mailing list.

Performance Data Issue Nagios Core

Postby Akshay18 » Tue Oct 30, 2018 11:34 pm

Hi,

I have configured the devices and pnp4nagios tool is configure correctly but the issue is when performance data is created they show me last 10mins of data in none none format but after 10 mins it shows full data but the last 10mins value is same. So anyone can help me to sort out this.
I have attached the screenshot please see the performance data file.


Thanks and Regards,
Akshay Kaushik
Attachments
PerformanceDataIssue.PNG
Akshay18
 
Posts: 6
Joined: Wed Oct 10, 2018 1:14 am

Re: Performance Data Issue Nagios Core

Postby tgriep » Wed Oct 31, 2018 2:08 pm

The performance data is provided by the plugin so we will need to know what plugin you are using, how it is configured and what type of system and or data that the plugin is polling.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
User avatar
tgriep
Madmin
 
Posts: 7237
Joined: Thu Oct 30, 2014 9:02 am

Re: Performance Data Issue Nagios Core

Postby shubham » Thu Nov 01, 2018 7:00 am

Hi,

On the behalf of Akshay we are using pnp4nagios tool below are the link:-
https://support.nagios.com/kb/article/n ... s-801.html

An data is pulling for a particular host.
shubham
 
Posts: 19
Joined: Sun Sep 23, 2018 11:44 am

Re: Performance Data Issue Nagios Core

Postby tgriep » Thu Nov 01, 2018 12:42 pm

To trouble shoot this, we will need to know which plugin you are using to generate the data for the performance data file.
We will also need to see how the plugin is configured in the Nagios Config files and the settings for the service check that is using the plugin.

You may want to go to the PNP4Nagios web site for more details on what PNP4Nagios does.
https://docs.pnp4nagios.org/
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
User avatar
tgriep
Madmin
 
Posts: 7237
Joined: Thu Oct 30, 2014 9:02 am

Re: Performance Data Issue Nagios Core

Postby shubham » Fri Nov 02, 2018 11:32 pm

I don't use any plugin for generate the data. I will show you my nagios configurtion file please see the screenshot and let me know.
Attachments
nagios.cfg
(46.86 KiB) Downloaded 7 times
shubham
 
Posts: 19
Joined: Sun Sep 23, 2018 11:44 am

Re: Performance Data Issue Nagios Core

Postby tgriep » Mon Nov 05, 2018 10:15 am

Can you provide the command that you are running that you are using to output that data from your screen capture?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
User avatar
tgriep
Madmin
 
Posts: 7237
Joined: Thu Oct 30, 2014 9:02 am

Re: Performance Data Issue Nagios Core

Postby shubham » Wed Nov 07, 2018 12:14 am

I am using this below commands:-
1) python
2) import rrdtool
3) rrdtool.fetch("Uptime.rrd","MAX")

then it shows the data for Uptime service.
shubham
 
Posts: 19
Joined: Sun Sep 23, 2018 11:44 am

Re: Performance Data Issue Nagios Core

Postby tgriep » Wed Nov 07, 2018 11:36 am

It looks like you are running some sort of plugin that gathers the Uptime of some system.
Make sure it is running at the times you need.

I found this link that has a possible explanation on what you are seeing.
https://stackoverflow.com/questions/47201503/rrdtool-fetch-returns-none-object

If there is no data at the time you ran the fetch, it will display as None since there is no data to display.
Also, you are not specifying a time frame for the fetch.


You should take a look at these links that details how the data is stored in the RRD files.
https://oss.oetiker.ch/rrdtool/tut/rrd-beginners.en.html
https://www.loriotpro.com/Products/On-line_Documentation_V5/LoriotProDoc_EN/V22-RRD_Collector_RRD_Manager/V22-A1_Introduction_RRD_EN.htm


Every time the plugin runs and outputs the performance data, it add it to the rrd file with a time stamp for when it is put in.
It does not remove the previous data entry so when you run the FETCH command, it will display the last data points unless you specify a time.
https://oss.oetiker.ch/rrdtool/doc/rrdfetch.en.html
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
User avatar
tgriep
Madmin
 
Posts: 7237
Joined: Thu Oct 30, 2014 9:02 am


Return to Nagios Core

Who is online

Users browsing this forum: No registered users and 11 guests