No graphs / RRA files

Post support questions that relate to the Windows 2003/2000/XP operating systems.

Moderators: Developers, Moderators

Post Reply
ruudjah
Posts: 1
Joined: Fri Jul 29, 2005 11:42 am

No graphs / RRA files

Post by ruudjah »

After hours of testing, reading the forum, testing again, etc. it would not work.

I do not see any graphs. Here is some graph output:

c:\rrdtool\rrdtool.exe graph - \
--imgformat=PNG \
--start=-604800 \
--end=-1800 \
--title="mono - Traffic - 192.168.0.2 (ep1)" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="bits per second" \
--slope-mode \
--font TITLE:12:c:\rrdtool\cour.ttf \
--font AXIS:8:c:\rrdtool\cour.ttf \
--font LEGEND:10:c:\rrdtool\cour.ttf \
--font UNIT:8:c:\rrdtool\cour.ttf \
DEF:a="c\:\apache\htdocs\cacti/rra/mono_traffic_in_10.rrd":traffic_in:AVERAGE \
DEF:b="c\:\apache\htdocs\cacti/rra/mono_traffic_in_10.rrd":traffic_out:AVERAGE \
CDEF:cdefa=a,8,* \
CDEF:cdefe=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\n" \
LINE1:cdefe#002A97:"Outbound" \
GPRINT:cdefe:LAST:"Current\:%8.2lf %s" \
GPRINT:cdefe:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefe:MAX:"Maximum\:%8.2lf %s"

Cactid:

CACTID: Using cactid config file [cactid.conf]
CACTID: Version 0.8.6e starting
CACTID: Host[2] DS[8] WARNING: Result from SNMP not valid. Partial Result: ...
CACTID: Host[2] DS[8] SNMP: v1: 192.168.0.2, dsname: snmp_oid, oid: , value: U
CACTID: Host[2] DS[10] SNMP: v1: 192.168.0.2, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.2, value: 3947488567
CACTID: Host[2] DS[10] SNMP: v1: 192.168.0.2, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.2, value: 1165245966
CACTID: Host[2] DS[9] SNMP: v1: 192.168.0.2, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.1, value: 1228976748
CACTID: Host[2] DS[9] SNMP: v1: 192.168.0.2, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.1, value: 3799999315
CACTID: Execution Time: 0.4140 s, Threads: 1, Hosts: 2

poller.php:

#!/usr/bin/php -q
07/29/2005 06:46:34 PM - CMDPHP: Poller[0] Host[2] DS[8] WARNING: Result from SNMP not valid. Partial Result:
07/29/2005 06:46:34 PM - CMDPHP: Poller[0] Host[2] DS[8] SNMP: v1: 192.168.0.2, dsname: snmp_oid, oid: , output: U
07/29/2005 06:46:34 PM - CMDPHP: Poller[0] Host[2] DS[9] SNMP: v1: 192.168.0.2, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.1, output: 3802253337
07/29/2005 06:46:34 PM - CMDPHP: Poller[0] Host[2] DS[9] SNMP: v1: 192.168.0.2, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.1, output: 1230988055
07/29/2005 06:46:34 PM - CMDPHP: Poller[0] Host[2] DS[10] SNMP: v1: 192.168.0.2, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.2, output: 1167257271
07/29/2005 06:46:34 PM - CMDPHP: Poller[0] Host[2] DS[10] SNMP: v1: 192.168.0.2, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.2, output: 3949760745
07/29/2005 06:46:34 PM - CMDPHP: Poller[0] Time: 1.1643 s, Theads: N/A, Hosts: 1

I hope this helps to locate my error. Any help is greatly appreciated!

OS: Windows 2003 web edition
PHP 5.0.4
MySQL 4.1
Apache 1.3
rrdtool 1.2 (from cacti.net site)
cactid 0.8.6e
Cacti 0.8.6f
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

1) Using the latest rrdtool 1.2 version?

2) Turn the polling level in cacti to debug for one cycle and paste the output of the log file. If it contains WEBLOG entries, then don't bother posting since they just clutter up the log. Turn off WEBEVENTS logging and try again.

Track down which device is throwing the "Result from SNMP not valid" and correct that.

3) User permissions set properly on the rrd folder? The user running the scheduled task have admin rights?
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests