Same values in graph

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
bildun
Posts: 3
Joined: Mon Mar 09, 2015 10:20 am

Same values in graph

Post by bildun »

I am using Cacti 0.8.8b with the Real Time and Netflow plugins.

I have a new graph template, new data source, new input method setup to graph my email server statistics. I setup everything using the GUI except for the Perl script that gathers the information from the mail servers. I've managed to get it close to working properly. The problem I have now, that I can't get past, is the values displayed on the graph are the same for each data source.

I've specified different data sources for each value I want to graph (incoming,outgoing,rejected,quarantined,discarded). Those values are being recorded in the RRA file properly. I created a graph template with 4 of the 5 values (discarded messages is usually 0 so am not graphing it).

The problem is the values are the same for each data source being graphed. For example, in the attached image it shows 68 incoming, 68 outgoing, 68 quarantine and 68 rejected. Those values are wrong.

Any ideas what I have wrong? Where should I look for problems?
Attachments
Images shows the graph, the data template and the graph template.
Images shows the graph, the data template and the graph template.
smtp3.jpg (468.36 KiB) Viewed 1262 times
cigamit
Developer
Posts: 3369
Joined: Thu Apr 07, 2005 3:29 pm
Location: B/CS Texas
Contact:

Re: Same values in graph

Post by cigamit »

The graph template looks fine (might check the graph input items though) . Can you click on the different tabs in the Data Template and make sure the proper output field is selected? Also check the rrds themselves and make sure they actually have different data.
bildun
Posts: 3
Joined: Mon Mar 09, 2015 10:20 am

Re: Same values in graph

Post by bildun »

Thanks for the reply.

The tabs on the data template have the values set to their appropriate output field.

The image attached shows the data from the most recent update. These values are exactly what is displayed on the mail server.

The number displayed on the graph and copied to the outgoing, quarantined, etc. appears to be the incoming value (msgsfr).
Attachments
Current data source values
Current data source values
data.jpg (98.58 KiB) Viewed 1250 times
bildun
Posts: 3
Joined: Mon Mar 09, 2015 10:20 am

Re: Same values in graph

Post by bildun »

I was able to get this fixed. Somewhere in the process the datasources for 3 of the values was left blank in the graph.

Not sure why some of the values in the RRD file are being left as NaN giving the blank spots in the graph.
Attachments
pic.jpg
pic.jpg (196.9 KiB) Viewed 1228 times
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest