Then the problem must exist in the rrd or xml file (I suspect).
Try my steps on the integer files, however I don't think it will work. Being an snmp counter it is just an incrementing number. I don't understand how the other one has data coming back that is not incrementing at a higher number than the time before.
Generally speaking, to get this delta type of graph on a counter value you need to use MRTG to collect the data, which kind of gets complicated. That's why I'm confused it's working the way it is.
Graphing Wierdness
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: Graphing Wierdness
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Graphing Wierdness
Ok I'll give it a shot after lunch and I'll let you know.
Re: Graphing Wierdness
In your last post with the graphs, the bottom graph is graphing is the rounding errors for that check and not the actual data.
You can tell by the values are below 1.
The other graph is showing the correct data.
You may have to delete both the XML and RRD files to get this to work but is it doesn't you will have to create a graph template.
Take a look at this post for how to create the template.
https://support.nagios.com/forum/viewto ... 65#p146465
You can tell by the values are below 1.
The other graph is showing the correct data.
You may have to delete both the XML and RRD files to get this to work but is it doesn't you will have to create a graph template.
Take a look at this post for how to create the template.
https://support.nagios.com/forum/viewto ... 65#p146465
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Graphing Wierdness
Ok I wiped the rrd and xml files for those checks. Unfortunately they came back exactly like before (albeit missing historical data).
As for creating a template. I looked at the link and it looks to be creating a gauge for the data, however that's not what I need. So I'm not sure that solution will help me here.
As for creating a template. I looked at the link and it looks to be creating a gauge for the data, however that's not what I need. So I'm not sure that solution will help me here.
Re: Graphing Wierdness
The letter "c" on the output lets the system know that the data is a counter.
There is a formula that the data gets processed through and what you are seeing is rounding errors from that formula.
Creating the template and converting the output to a gauge, will remove the rounding errors and make the graph plot the actual data and not the rounding errors.
Take a look at this link which describes the different data types.
http://oss.oetiker.ch/rrdtool/doc/rrdcreate.en.html
There is a formula that the data gets processed through and what you are seeing is rounding errors from that formula.
Creating the template and converting the output to a gauge, will remove the rounding errors and make the graph plot the actual data and not the rounding errors.
Take a look at this link which describes the different data types.
http://oss.oetiker.ch/rrdtool/doc/rrdcreate.en.html
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Graphing Wierdness
Understood. But that still doesn't explain why it works just fine on the other server polling the same data.
Re: Graphing Wierdness
To answer that question, we would have to see this log file.
In there, it should have the information needed to determine on why some graphs work and some don't.
Code: Select all
/usr/local/nagios/var/perfdata.logBe sure to check out our Knowledgebase for helpful articles and solutions!
Re: Graphing Wierdness
Here is the file. I'll send the password in a PM
You do not have the required permissions to view the files attached to this post.
Re: Graphing Wierdness
Thanks for the file. I only found information for server 01 and 02 and both of them have the RRD Datatype set as a COUNTER so those 2 servers should be having the graphing issues.
I know that setting the template to a gauge should fix it for you.
I know that setting the template to a gauge should fix it for you.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Graphing Wierdness
So, same question as before. If they're both set to counter. Why do the graphs display so differently?