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
No graphs / RRA files
Moderators: Developers, Moderators
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?
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?
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
Who is online
Users browsing this forum: No registered users and 0 guests