Performance Data Issue Nagios Core

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
Akshay18
Posts: 6
Joined: Wed Oct 10, 2018 1:14 am

Performance Data Issue Nagios Core

Post by Akshay18 »

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
User avatar
tgriep
Madmin
Posts: 9177
Joined: Thu Oct 30, 2014 9:02 am

Re: Performance Data Issue Nagios Core

Post by tgriep »

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.
Be sure to check out our Knowledgebase for helpful articles and solutions!
shubham
Posts: 19
Joined: Sun Sep 23, 2018 11:44 am

Re: Performance Data Issue Nagios Core

Post by shubham »

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.
User avatar
tgriep
Madmin
Posts: 9177
Joined: Thu Oct 30, 2014 9:02 am

Re: Performance Data Issue Nagios Core

Post by tgriep »

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/
Be sure to check out our Knowledgebase for helpful articles and solutions!
shubham
Posts: 19
Joined: Sun Sep 23, 2018 11:44 am

Re: Performance Data Issue Nagios Core

Post by shubham »

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 205 times
User avatar
tgriep
Madmin
Posts: 9177
Joined: Thu Oct 30, 2014 9:02 am

Re: Performance Data Issue Nagios Core

Post by tgriep »

Can you provide the command that you are running that you are using to output that data from your screen capture?
Be sure to check out our Knowledgebase for helpful articles and solutions!
shubham
Posts: 19
Joined: Sun Sep 23, 2018 11:44 am

Re: Performance Data Issue Nagios Core

Post by shubham »

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.
User avatar
tgriep
Madmin
Posts: 9177
Joined: Thu Oct 30, 2014 9:02 am

Re: Performance Data Issue Nagios Core

Post by tgriep »

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/472 ... one-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- ... rs.en.html
https://www.loriotpro.com/Products/On-l ... 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
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked