I also checked with "Clear Poller Cache", graph debug mode shows OK. cacit.log shows no error. Also, when i turned back to cmd.php method, traffic data not shows too. What should I do?C:\cacti>cactid.exe
CACTID: Using cactid config file [cactid.conf]
CACTID: Version 0.8.6f starting
Graph data empty when changed from cmd.php to cactid
Moderators: Developers, Moderators
Graph data empty when changed from cmd.php to cactid
I hava cacti running normal when i first using cmd.php poller method. When I changed it to cactid, the graph breaks, have no tracfic data showed. When I run cactid.exe from cmdline. it shows as:
windows, apache_2.0.55, cacti-0.8.6h, cacti-cactid-0.8.6g, net-snmp-5.3.0.1-1, mysql-5.0.19, php-5.1.2, rrdtool-cygwin-1.2.12
out of php.exe d:\apache2\cacti\poller.php
C:\cacti>php.exe d:\apache2\cacti\poller.php
Waiting on 1/1 pollers.
OK u:0.01 s:0.01 r:0.00
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
OK u:0.01 s:0.01 r:6.98
03/19/2006 07:08:54 AM - SYSTEM STATS: Time:8.1335 Method:cactid Processes:1 Thr
eads:1 Hosts:5 HostsPerProcess:5 DataSources:16 RRDsProcessed:8
OK u:0.01 s:0.01 r:6.99
OK u:0.01 s:0.01 r:6.99
OK u:0.01 s:0.01 r:6.99
OK u:0.01 s:0.01 r:6.99
OK u:0.01 s:0.01 r:6.99
OK u:0.01 s:0.01 r:6.99
Waiting on 1/1 pollers.
OK u:0.01 s:0.01 r:0.00
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
Waiting on 1/1 pollers.
OK u:0.01 s:0.01 r:6.98
03/19/2006 07:08:54 AM - SYSTEM STATS: Time:8.1335 Method:cactid Processes:1 Thr
eads:1 Hosts:5 HostsPerProcess:5 DataSources:16 RRDsProcessed:8
OK u:0.01 s:0.01 r:6.99
OK u:0.01 s:0.01 r:6.99
OK u:0.01 s:0.01 r:6.99
OK u:0.01 s:0.01 r:6.99
OK u:0.01 s:0.01 r:6.99
OK u:0.01 s:0.01 r:6.99
windows, apache_2.0.55, cacti-0.8.6h, cacti-cactid-0.8.6g, net-snmp-5.3.0.1-1, mysql-5.0.19, php-5.1.2, rrdtool-cygwin-1.2.12
Seems I have time mis-match for cactid and rrd.
03/19/2006 07:28:47 AM - EXPORT STATS: ExportTime:35.6796 TotalGraphs:20
03/19/2006 07:28:12 AM - EXPORT Running graph export with tree organization
03/19/2006 07:28:11 AM - EXPORT Running graph export
03/19/2006 07:28:11 AM - SYSTEM STATS: Time:11.1005 Method:cactid Processes:1 Threads:1 Hosts:5 HostsPerProcess:5 DataSources:16 RRDsProcessed:8
03/19/2006 03:28:10 PM - CACTID: Poller[0] Time: 10.0770 s, Threads: 1, Hosts: 5
03/19/2006 03:28:10 PM - CACTID: Poller[0] Host[7] DS[57] SNMP: v2: 10.1.1.149, dsname: traffic_in, oid: .1.3.6.1.2.1.31.1.1.1.6.67109505, value: 2403521563730
03/19/2006 03:28:10 PM - CACTID: Poller[0] Host[7] DS[56] SNMP: v2: 10.1.1.149, dsname: traffic_in, oid: .1.3.6.1.2.1.31.1.1.1.6.67109377, value: 3239608612071
03/19/2006 03:28:10 PM - CACTID: Poller[0] Host[7] DS[62] SNMP: v2: 10.1.1.149, dsname: traffic_in, oid: .1.3.6.1.2.1.31.1.1.1.6.201327618, value: 1448510360943
03/19/2006 03:28:10 PM - CACTID: Poller[0] Host[7] DS[61] SNMP: v2: 10.1.1.149, dsname: traffic_in, oid: .1.3.6.1.2.1.31.1.1.1.6.201327362, value: 2777783529860
03/19/2006 03:28:09 PM - CACTID: Poller[0] Host[7] DS[60] SNMP: v2: 10.1.1.149, dsname: traffic_in, oid: .1.3.6.1.2.1.31.1.1.1.6.201327234, value: 10500632034783
03/19/2006 07:28:12 AM - EXPORT Running graph export with tree organization
03/19/2006 07:28:11 AM - EXPORT Running graph export
03/19/2006 07:28:11 AM - SYSTEM STATS: Time:11.1005 Method:cactid Processes:1 Threads:1 Hosts:5 HostsPerProcess:5 DataSources:16 RRDsProcessed:8
03/19/2006 03:28:10 PM - CACTID: Poller[0] Time: 10.0770 s, Threads: 1, Hosts: 5
03/19/2006 03:28:10 PM - CACTID: Poller[0] Host[7] DS[57] SNMP: v2: 10.1.1.149, dsname: traffic_in, oid: .1.3.6.1.2.1.31.1.1.1.6.67109505, value: 2403521563730
03/19/2006 03:28:10 PM - CACTID: Poller[0] Host[7] DS[56] SNMP: v2: 10.1.1.149, dsname: traffic_in, oid: .1.3.6.1.2.1.31.1.1.1.6.67109377, value: 3239608612071
03/19/2006 03:28:10 PM - CACTID: Poller[0] Host[7] DS[62] SNMP: v2: 10.1.1.149, dsname: traffic_in, oid: .1.3.6.1.2.1.31.1.1.1.6.201327618, value: 1448510360943
03/19/2006 03:28:10 PM - CACTID: Poller[0] Host[7] DS[61] SNMP: v2: 10.1.1.149, dsname: traffic_in, oid: .1.3.6.1.2.1.31.1.1.1.6.201327362, value: 2777783529860
03/19/2006 03:28:09 PM - CACTID: Poller[0] Host[7] DS[60] SNMP: v2: 10.1.1.149, dsname: traffic_in, oid: .1.3.6.1.2.1.31.1.1.1.6.201327234, value: 10500632034783
windows, apache_2.0.55, cacti-0.8.6h, cacti-cactid-0.8.6g, net-snmp-5.3.0.1-1, mysql-5.0.19, php-5.1.2, rrdtool-cygwin-1.2.12
Well it looks like its collecting data. Do you see any CACTI2RRD entries in your log file?
When you run: C:\cacti>php.exe d:\apache2\cacti\poller.php under an admin account, the graphs (aka rrd files) are still not updated?
You fired up FileMon during a polling session (like the readme sticky suggests) and see if there are any problems?
When you run: C:\cacti>php.exe d:\apache2\cacti\poller.php under an admin account, the graphs (aka rrd files) are still not updated?
You fired up FileMon during a polling session (like the readme sticky suggests) and see if there are any problems?
| 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 |
Seems the data is wrong, data shows 8 hours delay.
php programs get the real machine time, no time-zone adjust, so it is 8 hours early, rrdtools add 8 hours for adjust. cactid get the local time, rrdtools still add 8 hours for adjust, then cactid's data is showed 8 hours later. What can i do?03/20/2006 11:33:52 AM - EXPORT STATS: ExportTime:37.5203 TotalGraphs:45
03/20/2006 11:33:14 AM - THOLD: Poller[0] Checking Thresholds
03/20/2006 11:33:14 AM - EXPORT Running graph export with tree organization
03/20/2006 11:33:14 AM - EXPORT Running graph export
03/20/2006 11:33:13 AM - SYSTEM STATS: Time:12.3466 Method:cactid Processes:1 Threads:1 Hosts:5 HostsPerProcess:5 DataSources:24 RRDsProcessed:10
03/20/2006 07:33:13 PM - CACTID: Poller[0] Time: 11.4290 s, Threads: 1, Hosts: 5
03/20/2006 07:33:13 PM - CACTID: Poller[0] Host[9] DS[86] SNMP: v2: localhost, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.65542, value: 32180904
03/20/2006 07:33:13 PM - CACTID: Poller[0] Host[9] DS[86] SNMP: v2: localhost, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.65542, value: 417602057
windows, apache_2.0.55, cacti-0.8.6h, cacti-cactid-0.8.6g, net-snmp-5.3.0.1-1, mysql-5.0.19, php-5.1.2, rrdtool-cygwin-1.2.12
Weird it magically started to work. Wonder what changed...
Furthermore, weird that your time is off by 8 hours since it should be using the local system time.
Furthermore, weird that your time is off by 8 hours since it should be using the local system time.
| 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 |
Now it is very clear that cactid.exe put a wrong time in rrd files. this is the information
1142927280 = 2006-03-21 15:48:00, that is 8 hours future. Should i input it into a bug tracking system.D:\apache2\cacti\rra>rrdtool info my_computer_traffic_in_86.rrd
filename = "my_computer_traffic_in_86.rrd"
rrd_version = "0003"
step = 300
last_update = 1142927280
windows, apache_2.0.55, cacti-0.8.6h, cacti-cactid-0.8.6g, net-snmp-5.3.0.1-1, mysql-5.0.19, php-5.1.2, rrdtool-cygwin-1.2.12
Yup. bugs.cacti.net
| 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 |
k, bug created.
| 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 |
- TheWitness
- Developer
- Posts: 17062
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Hmm, this does not make sense. I thought I might have seen somthing like this related to php 5.1.2, can you back off to something like php 5.0.4/5 and let me know if the problem goes away.
Thanks,
TheWitness
Thanks,
TheWitness
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Who is online
Users browsing this forum: No registered users and 1 guest