Template Confusion because of wrong data (SOLVED)

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
User avatar
morgentau
Posts: 43
Joined: Fri Jun 16, 2006 4:05 am
Location: Zurich, Switzerland

Template Confusion because of wrong data (SOLVED)

Post by morgentau »

I recently bought a couple of environmental sensors from messpc... EthernetBox 1 with 4 ports and 3 environmental sensors each.
I've been successfuly trying to implement some templates to get data and graphs for temperature and humidity...

This morning they all looked like this... Temperature OK. Humidity OK as well.
Temperature OK
Temperature OK
TEMP_OK.png (8.11 KiB) Viewed 475 times
Then i wanted to change the templates again, deleted them and the data sources and so on (i'm not sure what i did) and now they look like this..
Temperature Not OK
Temperature Not OK
TEMP_NOOK.png (7.89 KiB) Viewed 475 times
Humidity Not OK
Humidity Not OK
HUMID_NOOK.png (7.61 KiB) Viewed 475 times
i get temperature and humidity data from the sensors but the numbers on the side are wrong., measuring m instead of whole numbers. Temperatur here is about 25C and humidty is about 40 %RH

Now i searched, changed, reconfigured but i can not get the numbering back. I've got one temperature graph left which works OK. No i do not know where else to look or what to change to get the graphs back...

these are the settings i use...
tempok.jpg
tempok.jpg (125.41 KiB) Viewed 475 times
humidnotok.jpg
humidnotok.jpg (127.86 KiB) Viewed 475 times
It is strange because i'm certain as if i use the same templates and defintions as i do for the working temperature graph... but then, somewhere something is wrong. Any help would mean a lot to me...
Last edited by morgentau on Thu Jul 12, 2012 7:43 am, edited 1 time in total.
Server: IBM x3650 M3, 1 XEON CPU 3.0 GHz, 4 Core, 8GB RAM,
OS: Suse Linux 11.4 x64
Apache 2.x
MySQL 5.x
PHP 5.x
Plugins: DSStats, Settings, NMID Cereus Reporting, Spikekill
Install Date: May, 2011

Wed, 19 Oct 2011 13:46:36 +0200
Cacti Version 0.8.7g
Cacti OS unix
SNMP Version NET-SNMP version: 5.6.1
RRDTool Version RRDTool 1.4.x
Hosts 57
Graphs 716
Data Sources Script/Command: 15
SNMP: 166
SNMP Query: 310
Script Query: 4
Script - Script Server (PHP): 46
Script Query - Script Server: 319
Total: 860

Last Run Statistics Time:97.9035 Method:cmd.php Processes:10 Threads:N/A Hosts:58 HostsPerProcess:6 DataSources:3040 RRDsProcessed:860
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Re: Template Confusion because of wrong data

Post by BSOD2600 »

Happen to change the data template config? i.e. switched a DS from gauge to counter? 'rrdtool info' command will shed some more details.
User avatar
morgentau
Posts: 43
Joined: Fri Jun 16, 2006 4:05 am
Location: Zurich, Switzerland

Re: Template Confusion because of wrong data

Post by morgentau »

Hello,

what i do not understand is, there is one graph left which works OK. This is the one i did not delete. All newly created graphs have this wrong parameters but the collected data looks correct... and as far as i can see, the new graphs are based on all the same templates and sources. I checked and rechecked the configuration...

I checked the data sources, graph management, data templates, host templates, graph templates and compared this with the one graph that is still OK but... but i can't find THE difference... the one setting that is causing all this... i also changed some parameters like counter, gauge. But they are all the same on the good and bad graph anyway...

how do i go about with the rrd Infotool... or can i pick out some other configuration options or screen shots or log data which would mean more to the experienced cacti user... ?

This is what it looks like...

data template
data template
data template
data_template.jpg (175.83 KiB) Viewed 466 times
The data template "Get SNMP Data" can not be found under the menu "Data Input Methods" even though it is in the drop down list.

data source No OK
data_source_hum.jpg
data_source_hum.jpg (107.2 KiB) Viewed 466 times
data source OK
data_source_temp.jpg
data_source_temp.jpg (112.62 KiB) Viewed 466 times
Server: IBM x3650 M3, 1 XEON CPU 3.0 GHz, 4 Core, 8GB RAM,
OS: Suse Linux 11.4 x64
Apache 2.x
MySQL 5.x
PHP 5.x
Plugins: DSStats, Settings, NMID Cereus Reporting, Spikekill
Install Date: May, 2011

Wed, 19 Oct 2011 13:46:36 +0200
Cacti Version 0.8.7g
Cacti OS unix
SNMP Version NET-SNMP version: 5.6.1
RRDTool Version RRDTool 1.4.x
Hosts 57
Graphs 716
Data Sources Script/Command: 15
SNMP: 166
SNMP Query: 310
Script Query: 4
Script - Script Server (PHP): 46
Script Query - Script Server: 319
Total: 860

Last Run Statistics Time:97.9035 Method:cmd.php Processes:10 Threads:N/A Hosts:58 HostsPerProcess:6 DataSources:3040 RRDsProcessed:860
User avatar
morgentau
Posts: 43
Joined: Fri Jun 16, 2006 4:05 am
Location: Zurich, Switzerland

Re: Template Confusion because of wrong data (SOLVED)

Post by morgentau »

I tried again to repair this issue.

While reading in the help pages of cacti on how to create new templates.. it sais there to import the generic SNMP OID Template if it missing. It was not missing from my instalaltion but still, i did that reimport thing and all is OK now....

But it does not explain why 1 graph is OK while the others are not... they should all use the same template.. NO?
Server: IBM x3650 M3, 1 XEON CPU 3.0 GHz, 4 Core, 8GB RAM,
OS: Suse Linux 11.4 x64
Apache 2.x
MySQL 5.x
PHP 5.x
Plugins: DSStats, Settings, NMID Cereus Reporting, Spikekill
Install Date: May, 2011

Wed, 19 Oct 2011 13:46:36 +0200
Cacti Version 0.8.7g
Cacti OS unix
SNMP Version NET-SNMP version: 5.6.1
RRDTool Version RRDTool 1.4.x
Hosts 57
Graphs 716
Data Sources Script/Command: 15
SNMP: 166
SNMP Query: 310
Script Query: 4
Script - Script Server (PHP): 46
Script Query - Script Server: 319
Total: 860

Last Run Statistics Time:97.9035 Method:cmd.php Processes:10 Threads:N/A Hosts:58 HostsPerProcess:6 DataSources:3040 RRDsProcessed:860
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests