Hi all,
first of all: congratulations for this software ! really good.
But now my problem. I think it is an small parameter but which one ?
I use the cacti version 0.6.8a and ucd-snmp-4.2.5 with RedHat 7.3. I wrote an small Perl script. This script gives me the temperature from an RMS System. In my log i have the information: "AM - CMD: /usr/local/rrdtool-1.0.39/bin/rrdtool update /usr/local/apache/htdocs/cacti/rra/rmstemperatur.rrd --template rmstemperatur N:29". Ok: It looks very good and it works.
Then i created an standard "Data Source" with this information:
/usr/local/rrdtool-1.0.39/bin/rrdtool create \
/usr/local/apache/htdocs/cacti/rra/rmstemperatur.rrd \
--step 300 \
DS:rmstemperatur:GAUGE:600:0:50 \
RRA:AVERAGE:0.5:1:600 \
RRA:AVERAGE:0.5:6:700 \
RRA:AVERAGE:0.5:24:775 \
RRA:AVERAGE:0.5:288:797 \
RRA:MAX:0.5:1:600 \
RRA:MAX:0.5:6:700 \
RRA:MAX:0.5:24:775 \
RRA:MAX:0.5:288:797 \
after this i created the graph. i get the graph but the data line is always 0 ! In the Graph Item i use the new Data Source !
What i don't understand is: for what is the "base value" ? I have for the temperature only small data. In the "Data Source" i use the type "GAUGE". I think, this is ok. And: WHY I HAVE ONLY A 0 LINE ?
Ok guys. We are an ISP and i want to use this software but i need this temperature information. Thanks for any Help, Sven
No information for my graph
Moderators: Developers, Moderators
No information for my graph
Microsoft is to software what McDonalds is to gourmet cooking !
The base value just affects how rrdtool scales/labels the data. It should be fine left at '1000' for this purpose.
About the missing data. You are obviously getting information back from your script going by the log entry you pasted here. You may want to check that the user 'cmd.php' runs as has write access to the 'rra/' directory and all of the files inside it.
If you are getting a blank graph with no data, the rrd file must have initially generated ok. If nothing else, I recommend running the following command as the user 'cmd.php' runs as:
If the command suceeds, you will see no output. Otherwise, you will see an error.
-Ian
About the missing data. You are obviously getting information back from your script going by the log entry you pasted here. You may want to check that the user 'cmd.php' runs as has write access to the 'rra/' directory and all of the files inside it.
If you are getting a blank graph with no data, the rrd file must have initially generated ok. If nothing else, I recommend running the following command as the user 'cmd.php' runs as:
Code: Select all
/usr/local/rrdtool-1.0.39/bin/rrdtool update /usr/local/apache/htdocs/cacti/rra/rmstemperatur.rrd --template rmstemperatur N:29
-Ian
Ok, thanks for the help.
I found the Problem: the first time i created the data source i used "counter". i changed it to "gauge", but i saw nothing. after "../bin/rrdtool info rmstemperatur.rrd" i saw that the file was not changed ! After an rm of that file and 5 minutes later it worked !
Sven
I found the Problem: the first time i created the data source i used "counter". i changed it to "gauge", but i saw nothing. after "../bin/rrdtool info rmstemperatur.rrd" i saw that the file was not changed ! After an rm of that file and 5 minutes later it worked !
Sven
Microsoft is to software what McDonalds is to gourmet cooking !
Who is online
Users browsing this forum: No registered users and 5 guests