I just DLed and set up the latest version of cacti on my SuSe 9.2 box. I'm using MySQL 4.1.x, PHP4, Apache2, RRDtool 1.0.x and Net SNMP 1.5.2.
Graphs for my Cisco gear are not being generated despite a (seemingly) successfull SNMP connection to the router.
Poller.php runs without error and gives the following output:
fileserver:/var/www/html/cacti # php poller.php
OK u:0.00 s:0.00 r:1.00
OK u:0.00 s:0.00 r:1.01
OK u:0.00 s:0.00 r:1.01
OK u:0.00 s:0.00 r:1.01
OK u:0.00 s:0.00 r:1.01
OK u:0.00 s:0.00 r:2.02
OK u:0.00 s:0.00 r:2.02
OK u:0.00 s:0.00 r:2.02
OK u:0.00 s:0.00 r:2.02
OK u:0.00 s:0.00 r:2.02
OK u:0.00 s:0.00 r:2.02
OK u:0.00 s:0.00 r:2.02
OK u:0.00 s:0.00 r:2.02
OK u:0.00 s:0.00 r:2.02
11/04/2005 10:47:03 AM - SYSTEM STATS: Time: 2.0360 s, Method: cmd.php, Processes: 1, Threads: N/A, Hosts: 4, Hosts/Process: 4, Data Sources 20, RRDs Processed 14
There are some errors on my cacti.log though:
11/04/2005 10:44:24 AM - CMDPHP: Poller[0] Host[2] DS[9] WARNING: Result from SNMP not valid. Partial Result:
11/04/2005 10:44:25 AM - SYSTEM STATS: Time: 7.0670 s, Method: cmd.php, Processes: 1, Threads: N/A, Hosts: 4, Hosts/Process: 4, Data Sources 20, RRDs Processed 14
Cisco debug output:
*Mar 6 20:15:02.018: SNMP: Packet received via UDP from 192.168.0.98 on FastEthernet0/1.100
*Mar 6 20:15:02.018: SNMP: Get request, reqid 636944136, errstat 0, erridx 0
sysUpTime.0 = NULL TYPE/VALUE
*Mar 6 20:15:02.026: SNMP: Response, reqid 636944136, errstat 0, erridx 0
sysUpTime.0 = 50490206
*Mar 6 20:15:02.034: SNMP: Packet sent via UDP to 192.168.0.98
*Mar 6 20:15:02.078: SNMP: Packet received via UDP from 192.168.0.98 on FastEthernet0/1.100
*Mar 6 20:15:02.082: SNMP: Get request, reqid 291991163, errstat 0, erridx 0
sysUpTime.0 = NULL TYPE/VALUE
*Mar 6 20:15:02.090: SNMP: Response, reqid 291991163, errstat 0, erridx 0
sysUpTime.0 = 50490212
*Mar 6 20:15:02.094: SNMP: Packet sent via UDP to 192.168.0.98
*Mar 6 20:15:02.138: SNMP: Packet received via UDP from 192.168.0.98 on FastEthernet0/1.100
*Mar 6 20:15:02.142: SNMP: Get request, reqid 674969359, errstat 0, erridx 0
lsystem.58.0 = NULL TYPE/VALUE
*Mar 6 20:15:02.150: SNMP: Response, reqid 674969359, errstat 0, erridx 0
lsystem.58.0 = 1
*Mar 6 20:15:02.158: SNMP: Packet sent via UDP to 192.168.0.98
*Mar 6 20:15:02.250: SNMP: Packet received via UDP from 192.168.0.98 on FastEthernet0/1.100
*Mar 6 20:15:02.254: SNMP: Get request, reqid 2048399918, errstat 0, erridx 0
ifEntry.16.7 = NULL TYPE/VALUE
*Mar 6 20:15:02.258: SNMP: Response, reqid 2048399918, errstat 0, erridx 0
ifEntry.16.7 = 292143171
*Mar 6 20:15:02.266: SNMP: Packet sent via UDP to 192.168.0.98
*Mar 6 20:15:02.310: SNMP: Packet received via UDP from 192.168.0.98 on FastEthernet0/1.100
*Mar 6 20:15:02.310: SNMP: Get request, reqid 1433731947, errstat 0, erridx 0
ifEntry.10.8 = NULL TYPE/VALUE
*Mar 6 20:15:02.318: SNMP: Response, reqid 1433731947, errstat 0, erridx 0
ifEntry.10.8 = 42698366
*Mar 6 20:15:02.326: SNMP: Packet sent via UDP to 192.168.0.98
*Mar 6 20:15:02.370: SNMP: Packet received via UDP from 192.168.0.98 on FastEthernet0/1.100
*Mar 6 20:15:02.370: SNMP: Get request, reqid 138711399, errstat 0, erridx 0
ifEntry.16.8 = NULL TYPE/VALUE
*Mar 6 20:15:02.378: SNMP: Response, reqid 138711399, errstat 0, erridx 0
ifEntry.16.8 = 40767892
*Mar 6 20:15:02.386: SNMP: Packet sent via UDP to 192.168.0.98
*Mar 6 20:15:02.426: SNMP: Packet received via UDP from 192.168.0.98 on FastEthernet0/1.100
*Mar 6 20:15:02.430: SNMP: Get request, reqid 1502154135, errstat 0, erridx 0
ifEntry.10.7 = NULL TYPE/VALUE
*Mar 6 20:15:02.438: SNMP: Response, reqid 1502154135, errstat 0, erridx 0
ifEntry.10.7 = 817321654
*Mar 6 20:15:02.442: SNMP: Packet sent via UDP to 192.168.0.98
*Mar 6 20:15:02.487: SNMP: Packet received via UDP from 192.168.0.98 on FastEthernet0/1.100
*Mar 6 20:15:02.491: SNMP: Get request, reqid 1786751631, errstat 0, erridx 0
ifEntry.16.6 = NULL TYPE/VALUE
*Mar 6 20:15:02.495: SNMP: Response, reqid 1786751631, errstat 0, erridx 0
ifEntry.16.6 = 788251708
*Mar 6 20:15:02.503: SNMP: Packet sent via UDP to 192.168.0.98
*Mar 6 20:15:02.547: SNMP: Packet received via UDP from 192.168.0.98 on FastEthernet0/1.100
*Mar 6 20:15:02.547: SNMP: Get request, reqid 2028433992, errstat 0, erridx 0
ifEntry.10.4 = NULL TYPE/VALUE
*Mar 6 20:15:02.555: SNMP: Response, reqid 2028433992, errstat 0, erridx 0
ifEntry.10.4 = 1125472773
*Mar 6 20:15:02.563: SNMP: Packet sent via UDP to 192.168.0.98
*Mar 6 20:15:02.603: SNMP: Packet received via UDP from 192.168.0.98 on FastEthernet0/1.100
*Mar 6 20:15:02.607: SNMP: Get request, reqid 1759509318, errstat 0, erridx 0
ifEntry.16.4 = NULL TYPE/VALUE
*Mar 6 20:15:02.615: SNMP: Response, reqid 1759509318, errstat 0, erridx 0
ifEntry.16.4 = 1124568516
*Mar 6 20:15:02.619: SNMP: Packet sent via UDP to 192.168.0.98
*Mar 6 20:15:02.663: SNMP: Packet received via UDP from 192.168.0.98 on FastEthernet0/1.100
*Mar 6 20:15:02.663: SNMP: Get request, reqid 2085045749, errstat 0, erridx 0
ifEntry.10.6 = NULL TYPE/VALUE
*Mar 6 20:15:02.671: SNMP: Response, reqid 2085045749, errstat 0, erridx 0
ifEntry.10.6 = 288761066
*Mar 6 20:15:02.679: SNMP: Packet sent via UDP to 192.168.0.98
Thanks in advance guys,
-Mark
Not getting any data on the graphs
Moderators: Developers, Moderators
Not getting any data on the graphs
Long live the Linux revolution!!!
Well it will throw off your data, since rrdtool is meant to collect data every 5 minutes.
To see what's really going on with cacti, turn the logging level to debug for a cycle and take a look in the log.
To see what's really going on with cacti, turn the logging level to debug for a cycle and take a look in the log.
| 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