SNMP returns data, but no data showing on Graph
Moderators: Developers, Moderators
SNMP returns data, but no data showing on Graph
I am trying to graph some information from one our HP Color printers. I actually took a tempalge from here for the 2500 and started with it. the OID is the same for just about all the printers. I know the OID works, when i use our SNMP tool it retreives data.
See attachment. I dont have any errors when i look at the debug. I just am not getting any data on the graph.
Any ideas?
See attachment. I dont have any errors when i look at the debug. I just am not getting any data on the graph.
Any ideas?
- Attachments
-
- graph.JPG (77.21 KiB) Viewed 2574 times
-
- debug.png (6.63 KiB) Viewed 2574 times
-
- snmp.JPG (33.45 KiB) Viewed 2575 times
Turn the logging level in cacti to debug and look if valid data is being returned for those templates.
| 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 |
Look in the log file for when cacti queries those devices and see if got valid data back...
| 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 |
So I am not getting back data
Code: Select all
07/28/2006 02:31:27 PM - CMDPHP: Poller[0] Host[49] SNMP: Host responded to SNMP
07/28/2006 02:31:27 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "insert into poller_output (local_data_id,rrd_name,time,output) values (967,'magenta','2006-07-28 14:31:00','U')"
07/28/2006 02:31:27 PM - CMDPHP: Poller[0] Host[48] DS[967] SNMP: v1: 10.0.2.9, dsname: magenta, oid: .1.3.6.1.2.1.43.11.1.1.9.1.3 , output: U
07/28/2006 02:31:27 PM - CMDPHP: Poller[0] Host[48] DS[967] WARNING: Result from SNMP not valid. Partial Result:
07/28/2006 02:31:27 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "insert into poller_output (local_data_id,rrd_name,time,output) values (948,'black_toner_level','2006-07-28 14:31:00','U')"
07/28/2006 02:31:27 PM - CMDPHP: Poller[0] Host[48] DS[948] SNMP: v1: 10.0.2.9, dsname: black_toner_level, oid: .1.3.6.1.2.1.43.11.1.1.9.1.1 , output: U
07/28/2006 02:31:27 PM - CMDPHP: Poller[0] Host[48] DS[948] WARNING: Result from SNMP not valid. Partial Result:
07/28/2006 02:31:27 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "insert into poller_output (local_data_id,rrd_name,time,output) values (949,'black_toner_max','2006-07-28 14:31:00','U')"
07/28/2006 02:31:27 PM - CMDPHP: Poller[0] Host[48] DS[949] SNMP: v1: 10.0.2.9, dsname: black_toner_max, oid: .1.3.6.1.2.1.43.11.1.1.8.1.1 , output: U
07/28/2006 02:31:27 PM - CMDPHP: Poller[0] Host[48] DS[949] WARNING: Result from SNMP not valid. Partial Result:
07/28/2006 02:31:27 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "insert into poller_output (local_data_id,rrd_name,time,output) values (950,'cya_toner_level','2006-07-28 14:31:00','U')"
07/28/2006 02:31:27 PM - CMDPHP: Poller[0] Host[48] DS[950] SNMP: v1: 10.0.2.9, dsname: cya_toner_level, oid: .1.3.6.1.2.1.43.11.1.1.9.1.2 , output: U
07/28/2006 02:31:27 PM - CMDPHP: Poller[0] Host[48] DS[950] WARNING: Result from SNMP not valid. Partial Result:
07/28/2006 02:31:27 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "insert into poller_output (local_data_id,rrd_name,time,output) values (951,'mag_toner_level','2006-07-28 14:31:00','U')"
07/28/2006 02:31:27 PM - CMDPHP: Poller[0] Host[48] DS[951] SNMP: v1: 10.0.2.9, dsname: mag_toner_level, oid: .1.3.6.1.2.1.43.11.1.1.9.1.3 , output: U
07/28/2006 02:31:27 PM - CMDPHP: Poller[0] Host[48] DS[951] WARNING: Result from SNMP not valid. Partial Result:
07/28/2006 02:31:27 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "insert into poller_output (local_data_id,rrd_name,time,output) values (952,'ylw_toner_level','2006-07-28 14:31:00','U')"
07/28/2006 02:31:27 PM - CMDPHP: Poller[0] Host[48] DS[952] SNMP: v1: 10.0.2.9, dsname: ylw_toner_level, oid: .1.3.6.1.2.1.43.11.1.1.9.1.4 , output: U
07/28/2006 02:31:27 PM - CMDPHP: Poller[0] Host[48] DS[952] WARNING: Result from SNMP not valid. Partial Result:
07/28/2006 02:31:27 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "insert into poller_output (local_data_id,rrd_name,time,output) values (953,'img_toner_level','2006-07-28 14:31:00','U')"
07/28/2006 02:31:27 PM - CMDPHP: Poller[0] Host[48] DS[953] SNMP: v1: 10.0.2.9, dsname: img_toner_level, oid: .1.3.6.1.2.1.43.11.1.1.9.1.5 , output: U
07/28/2006 02:31:27 PM - CMDPHP: Poller[0] Host[48] DS[953] WARNING: Result from SNMP not valid. Partial Result:
07/28/2006 02:31:27 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "insert into poller_output (local_data_id,rrd_name,time,output) values (954,'img_toner_max','2006-07-28 14:31:00','U')"
07/28/2006 02:31:27 PM - CMDPHP: Poller[0] Host[48] DS[954] SNMP: v1: 10.0.2.9, dsname: img_toner_max, oid: .1.3.6.1.2.1.43.11.1.1.8.1.5 , output: U
07/28/2006 02:31:27 PM - CMDPHP: Poller[0] Host[48] DS[954] WARNING: Result from SNMP not valid. Partial Result:
07/28/2006 02:31:27 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "insert into poller_output (local_data_id,rrd_name,time,output) values (956,'total_print','2006-07-28 14:31:00','64443')"
07/28/2006 02:31:27 PM - CMDPHP: Poller[0] Host[48] DS[956] SNMP: v1: 10.0.2.9, dsname: total_print, oid: .1.3.6.1.2.1.43.10.2.1.4.1.1, output: 64443
07/28/2006 02:31:27 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "insert into poller_output (local_data_id,rrd_name,time,output) values (955,'today_print','2006-07-28 14:31:00','39')"
07/28/2006 02:31:27 PM - CMDPHP: Poller[0] Host[48] DS[955] SNMP: v1: 10.0.2.9, dsname: today_print, oid: .1.3.6.1.2.1.43.10.2.1.5.1.1, output: 39
07/28/2006 02:31:27 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "insert into poller_output (local_data_id,rrd_name,time,output) values (957,'traffic_out','2006-07-28 14:31:00','428183')"
07/28/2006 02:31:27 PM - CMDPHP: Poller[0] Host[48] DS[957] SNMP: v1: 10.0.2.9, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.1, output: 428183
07/28/2006 02:31:26 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "insert into poller_output (local_data_id,rrd_name,time,output) values (957,'traffic_in','2006-07-28 14:31:00','39963326')"
07/28/2006 02:31:26 PM - CMDPHP: Poller[0] Host[48] DS[957] SNMP: v1: 10.0.2.9, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.1, output: 39963326
07/28/2006 02:31:26 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "update poller_reindex set assert_value='27265460' where host_id='48' and data_query_id='1' and arg1='.1.3.6.1.2.1.1.3.0'"
07/28/2006 02:31:26 PM - CMDPHP: Poller[0] Host[48] RECACHE: Processing 1 items in the auto reindex cache for '10.0.2.9'.
07/28/2006 02:31:26 PM - CMDPHP: Poller[0] DEBUG: SQL Assoc: "select poller_reindex.data_query_id, poller_reindex.action, poller_reindex.op, poller_reindex.assert_value, poller_reindex.arg1 from poller_reindex where poller_reindex.host_id=48"
07/28/2006 02:31:26 PM - CMDPHP: Poller[0] DEBUG: SQL Exec: "update host set status = '3', status_event_count = '0', status_fail_date = '0000-00-00 00:00:00', status_rec_date = '0000-00-00 00:00:00', status_last_error = '', min_time = '9.99999', max_time = '416.04000', cur_time = '54.79', avg_time = '78.6328479365', total_polls = '63', failed_polls = '0', availability = '100' where hostname = '10.0.2.9'"
07/28/2006 02:31:26 PM - CMDPHP: Poller[0] Host[48] SNMP: Host responded to SNMP
Nope. Probably the wrong OID. snmpwalk .1.3.6.1.2.1.43.11.1.1.9 and see what data you get from a printer.
You using a snmp template or a data template with these OID's hardcoded?
You using a snmp template or a data template with these OID's hardcoded?
| 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 |
This data collection really should be done with a script. I suggest you read http://forums.cacti.net/viewtopic.php?t=11647 and http://forums.cacti.net/viewtopic.php?t=11288
| 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 |
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
cacti performs its snmpgets using . But sometimes, one of these options fail. Please check
Reinhard
Code: Select all
-O fntev
Reinhard
Who is online
Users browsing this forum: No registered users and 1 guest