Suspiciously, all the hosts graphs look VERY similar!
Moderators: Developers, Moderators
Suspiciously, all the hosts graphs look VERY similar!
Hi,
I'm new to this tool and am trying to set it up on a MDK9.0 webserver.
Installation went a breeze and graphs are coming thick and fast.
I have three other Linux boxes and five Solaris (2. boxes which I have set up as polling hosts and I get graphs from all of them... but they all look very similar (not identical just similar) that I don't believe that it is actually working. e.g. Logged in users is 10 on them all, No of Processes is approx the same on a Linux box as the Sun server - which is NOT correct.
Is there something (daemon) that should be running on each host for cacti to get information from? rrdtools and net-snmp are installed on all machines.
TIA,
Steve
I'm new to this tool and am trying to set it up on a MDK9.0 webserver.
Installation went a breeze and graphs are coming thick and fast.
I have three other Linux boxes and five Solaris (2. boxes which I have set up as polling hosts and I get graphs from all of them... but they all look very similar (not identical just similar) that I don't believe that it is actually working. e.g. Logged in users is 10 on them all, No of Processes is approx the same on a Linux box as the Sun server - which is NOT correct.
Is there something (daemon) that should be running on each host for cacti to get information from? rrdtools and net-snmp are installed on all machines.
TIA,
Steve
Can no-one help with this or am I just being dumb?
How does everyone else run cacti to collate data from remote workstations?
Do you run rrdtool on the remote node and nfs or ftp the data back to the web server.
I started snmp running on one of the Linux boxes (not the web server) but I still get the same results ie the data over time is the same as the web server data even though they are sourcing different rrd files from the rra directory.
PH
Steve
How does everyone else run cacti to collate data from remote workstations?
Do you run rrdtool on the remote node and nfs or ftp the data back to the web server.
I started snmp running on one of the Linux boxes (not the web server) but I still get the same results ie the data over time is the same as the web server data even though they are sourcing different rrd files from the rra directory.
PH
Steve
If you were playing with graph templates, it is possible that you ran into the bug described in this post:
http://www.raxnet.net/board/viewtopic.php?p=8102#8102
If you go to "Graph Management" and select a graph, make sure the selections under "Graph Item Inputs" aren't the same for each graph. If so, that is the problem.
-Ian
http://www.raxnet.net/board/viewtopic.php?p=8102#8102
If you go to "Graph Management" and select a graph, make sure the selections under "Graph Item Inputs" aren't the same for each graph. If so, that is the problem.
-Ian
got the same problem
I'll try to keep informations of 3 linux and 3 unix machines.
The graphs looks also very very similar, and I don't know where my problem is.
On the "remote machines" snmpd is running.
I choose "Polling Hosts" from the menu on the left, filled in the Description, the hostname, the Management-IP Address and the SNMP Community (public).
Choose "Local Linux Machine" in the Host Template section and the graphs look very similar. Tried also "Generic SNMP Host and None" but the graphs also look very similar.
I think they are the same as the Localhost Graphs.
If I go to Graph Management and select graph, the selections under "Graph Item Inputs" aren't the same, got there:
eMailserver Load Average (1min)
eMailserver Load Average (15min)
eMailserver Load Average (5min)
and
Localhost Load Average (1min)
Localhost Load Average (15min)
Localhost Load Average (5min)
and so on.
Could anyone help me (us) ?
Thanks
himo
The graphs looks also very very similar, and I don't know where my problem is.
On the "remote machines" snmpd is running.
I choose "Polling Hosts" from the menu on the left, filled in the Description, the hostname, the Management-IP Address and the SNMP Community (public).
Choose "Local Linux Machine" in the Host Template section and the graphs look very similar. Tried also "Generic SNMP Host and None" but the graphs also look very similar.
I think they are the same as the Localhost Graphs.
If I go to Graph Management and select graph, the selections under "Graph Item Inputs" aren't the same, got there:
eMailserver Load Average (1min)
eMailserver Load Average (15min)
eMailserver Load Average (5min)
and
Localhost Load Average (1min)
Localhost Load Average (15min)
Localhost Load Average (5min)
and so on.
Could anyone help me (us) ?
Thanks
himo
Hi Ian,
I get the same results as himo re Graph Item Inputs.
I've also tried Local Linux Machine and Generic SNMP Host, and created new templates for HPUX and Solaris.
Only one of my other machines is running snmpd but its graphs look the same as all the rest.
Presumably snmpd does not _need_ to be running for data/graphs to be produced?!
TIA,
Steve
I get the same results as himo re Graph Item Inputs.
I've also tried Local Linux Machine and Generic SNMP Host, and created new templates for HPUX and Solaris.
Only one of my other machines is running snmpd but its graphs look the same as all the rest.
Presumably snmpd does not _need_ to be running for data/graphs to be produced?!
TIA,
Steve
update, Traffic Graphs work
hmmmm I created some Traffic Graphs for the different Machines and they're all working..... strange
regards
himo
regards
himo
When I try to create a trffic graph I get;
Notice: Undefined variable: regexps in /var/www/html/cacti-0.8.3a/include/rrd_functions.php on line 296
Notice: Undefined variable: fetch_array in /var/www/html/cacti-0.8.3a/include/rrd_functions.php on line 309
ERROR: no rrdtool fetch output, you probably forgot to pass a valid data source
Notice: Undefined variable: regexps in /var/www/html/cacti-0.8.3a/include/rrd_functions.php on line 296
Notice: Undefined variable: fetch_array in /var/www/html/cacti-0.8.3a/include/rrd_functions.php on line 309
ERROR: no rrdtool fetch output, you probably forgot to pass a valid data source
/usr/local/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--title="iona - Traffic" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="bits per second" \
DEF:a="/var/www/html/cacti/rra/iona_traffic_in_43.rrd":traffic_in:AVERAGE \
DEF:b="/var/www/html/cacti/rra/iona_traffic_in_43.rrd":traffic_out:AVERAGE \
CDEF:cdefa=a,8,* \
CDEF:cdeff=b,8,* \
AREA:cdefa#00CF00:"Inbound" \
GPRINT:cdefa:LAST:" Current\:%8.2lf %s" \
GPRINT:cdefa:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefa:MAX:"Maximum\:%8.2lf %s" \
COMMENT:"Total In: 0 bytes\n" \
LINE1:cdeff#002A97:"Outbound" \
GPRINT:cdeff:LAST:"Current\:%8.2lf %s" \
GPRINT:cdeff:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdeff:MAX:"Maximum\:%8.2lf %s" \
COMMENT:"Total Out: 0 bytes"
Also, during creation the Data Source has Maximum Value of 100000000 twice instead of a Max and Min value.
Steve
Notice: Undefined variable: regexps in /var/www/html/cacti-0.8.3a/include/rrd_functions.php on line 296
Notice: Undefined variable: fetch_array in /var/www/html/cacti-0.8.3a/include/rrd_functions.php on line 309
ERROR: no rrdtool fetch output, you probably forgot to pass a valid data source
Notice: Undefined variable: regexps in /var/www/html/cacti-0.8.3a/include/rrd_functions.php on line 296
Notice: Undefined variable: fetch_array in /var/www/html/cacti-0.8.3a/include/rrd_functions.php on line 309
ERROR: no rrdtool fetch output, you probably forgot to pass a valid data source
/usr/local/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--title="iona - Traffic" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="bits per second" \
DEF:a="/var/www/html/cacti/rra/iona_traffic_in_43.rrd":traffic_in:AVERAGE \
DEF:b="/var/www/html/cacti/rra/iona_traffic_in_43.rrd":traffic_out:AVERAGE \
CDEF:cdefa=a,8,* \
CDEF:cdeff=b,8,* \
AREA:cdefa#00CF00:"Inbound" \
GPRINT:cdefa:LAST:" Current\:%8.2lf %s" \
GPRINT:cdefa:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefa:MAX:"Maximum\:%8.2lf %s" \
COMMENT:"Total In: 0 bytes\n" \
LINE1:cdeff#002A97:"Outbound" \
GPRINT:cdeff:LAST:"Current\:%8.2lf %s" \
GPRINT:cdeff:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdeff:MAX:"Maximum\:%8.2lf %s" \
COMMENT:"Total Out: 0 bytes"
Also, during creation the Data Source has Maximum Value of 100000000 twice instead of a Max and Min value.
Steve
You are getting all of these messages because this graph does not have any data sources assigned to it. If you goto "Graph Management" and select this graph, you should see two dropdowns under the "Graph Item Inputs" box. Even if there are already items selected here, click "save" on this page. It should clear up the graph errors that you are seeing.Anonymous wrote:When I try to create a trffic graph I get;
Notice: Undefined variable: regexps in /var/www/html/cacti-0.8.3a/include/rrd_functions.php on line 296
Notice: Undefined variable: fetch_array in /var/www/html/cacti-0.8.3a/include/rrd_functions.php on line 309
ERROR: no rrdtool fetch output, you probably forgot to pass a valid data source
Notice: Undefined variable: regexps in /var/www/html/cacti-0.8.3a/include/rrd_functions.php on line 296
Notice: Undefined variable: fetch_array in /var/www/html/cacti-0.8.3a/include/rrd_functions.php on line 309
ERROR: no rrdtool fetch output, you probably forgot to pass a valid data source
-Ian
Hi,
I'm having the same problem described above with my linux servers only, all graph looks very similar to the localhost. I tried to generate traffic graph but can't get nothing (no errors, no graph -> the graph is empty). I don't know is there is a problem with snmp or something
Could anyone help me
Thanks in advance
Cristina
I'm having the same problem described above with my linux servers only, all graph looks very similar to the localhost. I tried to generate traffic graph but can't get nothing (no errors, no graph -> the graph is empty). I don't know is there is a problem with snmp or something
Could anyone help me
Thanks in advance
Cristina
If you are looking for a quick fix, I would switch to a graph template that does not use 95th percentile or bandwidth summation. The "Interface - Traffic (bits/sec)" would be a good template to test with. I am not guaranteeing that switching templates will completely solve your problem, but it will at minimum change the error message .
-Ian
-Ian
Do you still have any items on your graph that look like "|95:bits:0:max:2|"? Other than the suggestion I made two posts back, I am sort of running out of ideas :-/.
-Ian
-Ian
Who is online
Users browsing this forum: No registered users and 1 guest