No data in new graphs, existing graphs work fine.
Moderators: Developers, Moderators
No data in new graphs, existing graphs work fine.
I have a fairly new cacti install, that I've been working on as a side project. It's been set up for several weeks, graphing traffic from most our switches - World Wide Packets models LE-327, LE-317, and LE-46H (we also have LE-36 switches, but can't get traffic data from them). And our router, a Riverstone RS-3000.
After installing a new LE-46H, I have been unable to get anything to graph. I configured it same as all the others, using the generic SNMP interface queries, but nothing shows in the graphs. I activated two ports on the Riverstone, but the new graphs show no data, right alongside existing graphs which continue to work fine...
Ideas?
After installing a new LE-46H, I have been unable to get anything to graph. I configured it same as all the others, using the generic SNMP interface queries, but nothing shows in the graphs. I activated two ports on the Riverstone, but the new graphs show no data, right alongside existing graphs which continue to work fine...
Ideas?
Re: No data in new graphs, existing graphs work fine.
Have you tryed to set your poller logging level to DEBUG and then look in your logfile?Red wrote:I have a fairly new cacti install, that I've been working on as a side project. It's been set up for several weeks, graphing traffic from most our switches - World Wide Packets models LE-327, LE-317, and LE-46H (we also have LE-36 switches, but can't get traffic data from them). And our router, a Riverstone RS-3000.
After installing a new LE-46H, I have been unable to get anything to graph. I configured it same as all the others, using the generic SNMP interface queries, but nothing shows in the graphs. I activated two ports on the Riverstone, but the new graphs show no data, right alongside existing graphs which continue to work fine...
Ideas?
1) are you able to see the basic snmp info from the device in cacti?
2) are you able to snmpwalk the device from the cacti box?
If no to either, then there is the problem.
2) are you able to snmpwalk the device from the cacti box?
If no to either, then there is the problem.
| 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 |
I pulled this from the cacti logs, it is the new LE-46H that is not graphing:
Thanks for your help and patience.
I have not done an snmpwalk from the cacti server before, looked through the man page, and I'm still a little confused. Any particular way you'd like that run?07/04/2006 10:35:08 AM - CMDPHP: Poller[0] Host[40] DS[118] SNMP: v1: 10.0.1.3, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.10004, output: 3094273
07/04/2006 10:35:08 AM - CMDPHP: Poller[0] DEBUG: SQL Exec: "insert into poller_output (local_data_id,rrd_name,time,output) values (117,'traffic_in','2006-07-04 10:35:02','20413785')"
07/04/2006 10:35:08 AM - CMDPHP: Poller[0] Host[40] DS[117] SNMP: v1: 10.0.1.3, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.10003, output: 20413785
07/04/2006 10:35:08 AM - CMDPHP: Poller[0] DEBUG: SQL Exec: "insert into poller_output (local_data_id,rrd_name,time,output) values (117,'traffic_out','2006-07-04 10:35:02','111926164')"
07/04/2006 10:35:08 AM - CMDPHP: Poller[0] Host[40] DS[117] SNMP: v1: 10.0.1.3, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.10003, output: 111926164
07/04/2006 10:35:07 AM - CMDPHP: Poller[0] DEBUG: SQL Exec: "update poller_reindex set assert_value='30445200' where host_id='40' and data_query_id='1' and arg1='.1.3.6.1.2.1.1.3.0'"
07/04/2006 10:35:07 AM - CMDPHP: Poller[0] Host[40] RECACHE: Processing 1 items in the auto reindex cache for '10.0.1.3'.
07/04/2006 10:35:07 AM - 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=40"
07/04/2006 10:35:07 AM - 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 = '3.09000', max_time = '126.34500', cur_time = '3.155', avg_time = '4.60210744939', total_polls = '247', failed_polls = '0', availability = '100' where hostname = '10.0.1.3'"
07/04/2006 10:35:07 AM - CMDPHP: Poller[0] Host[40] SNMP: Host responded to SNMP
07/04/2006 10:35:07 AM - CMDPHP: Poller[0] Host[40] PING: Host is alive
Thanks for your help and patience.
So it's collecting data, thats good.
1) Are the rrd files for host 40 updating?
2) Go go graph mangement, click on a broken graph, then click on graph debug. What is the error message?
1) Are the rrd files for host 40 updating?
2) Go go graph mangement, click on a broken graph, then click on graph debug. What is the error message?
| 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 |
Here is the debug output. This port connects to a wireless bridge feeding a remote access point tower. That tower also has an LE-46H outdoor hardened switch, same model and software revision as this one. I am able to graph the other end of the bridge link from the remote LE-46H, and it is indeed moving traffic.
RRDTool Command:
/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-60 \
--title="LE-46H Parkdale Ballfield - Traffic - Gil-E Backhaul" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="bits per second" \
--slope-mode \
DEF:a="/usr/share/cacti/site/rra/le46h_parkdale_ballfield_traffic_in_119.rrd":traffic_in:AVERAGE \
DEF:b="/usr/share/cacti/site/rra/le46h_parkdale_ballfield_traffic_in_119.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"
RRDTool Says:
OK
Even though rrdtool says ok and you're returning traffic data, you're saying you don't have anything showing up?
| 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 |
Indeed. That's why I'm here! And remember, it's doing this even on a device that I'm already graphing ports on. On the Riverstone router I just tried to add graphs for two more ports, all the prior graphs continue to work just fine.
- Attachments
-
- Whole lotta nothin'
- graph_image.png (24.88 KiB) Viewed 2421 times
Hi there, I'd like to note that everything posted above I have encountered and done.
Here's the last 20 lines of one of the rrds that was working, then suddenly stopped;
Here's the last 20 lines of one of the rrds that was working, then suddenly stopped;
Please let me know what I should try next.[/quote]1153427400: 2.2528868360e-01 1.3725173210e-01 1.6039260970e-01
1153427700: 1.2560000000e-01 1.1440000000e-01 1.4720000000e-01
1153428000: 3.2250000000e-01 1.7780000000e-01 1.6070000000e-01
1153428300: nan nan nan
1153428600: nan nan nan
1153428900: nan nan nan
1153429200: nan nan nan
1153429500: nan nan nan
1153429800: nan nan nan
1153430100: nan nan nan
1153430400: nan nan nan
1153430700: nan nan nan
1153431000: nan nan nan
1153431300: nan nan nan
1153431600: nan nan nan
1153431900: nan nan nan
1153432200: nan nan nan
1153432500: nan nan nan
1153432800: nan nan nan
1153433100: nan nan nan
1153433400: nan nan nan
1153433700: nan nan nan
1153434000: nan nan nan
1153434300: nan nan nan
1153434600: nan nan nan
1153434900: nan nan nan
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
This shows, that data was gathered some times ago. Please switch Settings -> Logging Level to DEBUG for one polling cycle. Then find the data input method in cacti.log for that host and check the output.
No output => sths wrong with data retrieval
Output ok but no update => sths wrong with updating rrd files
Reinhard
No output => sths wrong with data retrieval
Output ok but no update => sths wrong with updating rrd files
Reinhard
Who is online
Users browsing this forum: No registered users and 5 guests