As I told the other people, you must enable the debugging logging level in cacti for one polling cycle. You want to see if the OIDs cacti is polling for the ethernet stats is returning valid data or not. The graphing command really doesn't matter.Allen K wrote:Anybody have any ideas for this one?
Ethernet Stats(RFC1643) - XML
Moderators: Developers, Moderators
| 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 |
Thanks for the reply. when I mentioned the running a polling cycle in debug, I am searching that log for any of the OID's that are returning data, there isn't a match in the logs. I can snmpwalk any of the OID's contained in the XML on the command line, but It appears that it's not being included in the polling cycle at all.
I've followed all directions, and have been using Cacti for quite some time so I'm not a 'greener than grass user' .. plugin arch 8.6h. if that makes any difference or helps for troubleshooting.. If you need anything else I'd be glad to post it.
thanks for any help
snmpwalk from command line
I've followed all directions, and have been using Cacti for quite some time so I'm not a 'greener than grass user' .. plugin arch 8.6h. if that makes any difference or helps for troubleshooting.. If you need anything else I'd be glad to post it.
thanks for any help
snmpwalk from command line
Poller running in debug mode. (small tail)dennis@leela$ snmpwalk -v2c -c MyCommString 10.16.167.169 .1.3.6.1.2.1.10.7.2.1.4
SNMPv2-SMI::transmission.7.2.1.4.1 = Counter32: 0
SNMPv2-SMI::transmission.7.2.1.4.2 = Counter32: 0
SNMPv2-SMI::transmission.7.2.1.4.3 = Counter32: 1135
SNMPv2-SMI::transmission.7.2.1.4.4 = Counter32: 80740
SNMPv2-SMI::transmission.7.2.1.4.5 = Counter32: 3292
SNMPv2-SMI::transmission.7.2.1.4.6 = Counter32: 272
grep logfile, no match on OIDdennis@leela$ tail /usr/local/www/0000000.0000000.000/webfiles/log/cacti.log
03/25/2006 10:50:48 PM - WEBLOG: Poller[0] CACTI2RRD: /usr/local/bin/rrdtool last /usr/local/www/0000000.0000000.000/webfiles/rra/klwdlm3rackforce_gw_avg_1278.rrd MAX
03/25/2006 10:50:48 PM - CMDPHP: Poller[0] DEBUG: SQL Row: "select name,data_source_path from data_template_data where local_data_id=1278"
03/25/2006 10:50:48 PM - WEBLOG: Poller[0] CACTI2RRD: /usr/local/bin/rrdtool fetch /usr/local/www/0000000.0000000.000/webfiles/rra/klwdlm3rackforce_gw_avg_1278.rrd AVERAGE -s 1143355805 -e 1143356705
03/25/2006 10:50:48 PM - CMDPHP: Poller[0] DEBUG: SQL Row: "select name,data_source_path from data_template_data where local_data_id=1278"
dennis@leela$ grep .1.3.6.1.2.1.10 /usr/local/www/0000000.0000000.000/webfiles/log/cacti.log
dennis@leela$
Properly indexed rfc1643
The first index needed source of "index" and all other oids needed method of "get" instead of "walk". Now only indexes with dot3stats will be listed.
- Attachments
-
- rfc1643.xml
- Updated rfc1643.xml
- (3.43 KiB) Downloaded 4070 times
Does the column you want show up in "SNMP - Interface Statistics"? If so which one is it? If it is you can take a look at interfaces.xml and copy the appropriate section into the rfc1643.xml file. Make sure the <direction> is "input" or it won't show up during creation.knobdy wrote:So how can I add a column in the graph creation page to see what port I'm actually adding?
It shows up there, yes, but I'm not sure which section it is. Essentially I think I'm just wanting to add an ifAlias column to this template (so I know what port I'm putting it on).etienne66 wrote:Does the column you want show up in "SNMP - Interface Statistics"? If so which one is it? If it is you can take a look at interfaces.xml and copy the appropriate section into the rfc1643.xml file. Make sure the <direction> is "input" or it won't show up during creation.
No problem. I added in the ifAlias and ifIndex oids.knobdy wrote:It shows up there, yes, but I'm not sure which section it is. Essentially I think I'm just wanting to add an ifAlias column to this template (so I know what port I'm putting it on).
Hope that helps,
Etienne66
- Attachments
-
- rfc1643.xml
- rfc1643.xml with ifAlias & ifIndex
- (3.76 KiB) Downloaded 4444 times
Excellent, except that - so far - on one of my switches it returns "No Such Object available on this agent at this OID" instead. I'm continuing to add a few to other switches - maybe its just that one (and older 4000).etienne66 wrote:No problem. I added in the ifAlias and ifIndex oids.
Hope that helps,
Etienne66
Update:
Added ifName (I think it was) same as it is in the traffic script - all good now.
Okay, I've added this template to several devices. I have all of the fields I wanted (needed - thanks!) but now they're either not creating a rra file or they do but it never gets updated (graph debug - in this case - says its okay though). Is the following normal?
When ever I add this template to a device, my browser also goes blank (as in a page refresh) and hangs until I click back. <shrug> I've run tseveral of the OIDs against these devices without any problems.
Code: Select all
DEF:a="/usr/share/cacti/rra/server_alignmenterrors_2981.rrd":AlignmentErrors:AVERAGE \
DEF:b="/usr/share/cacti/rra/server_alignmenterrors_2981.rrd":CarrierSenseErrors:AVERAGE \
DEF:c="/usr/share/cacti/rra/server_alignmenterrors_2981.rrd":DeferredTrans:AVERAGE \
DEF:d="/usr/share/cacti/rra/server_alignmenterrors_2981.rrd":ExcessiveCollision:AVERAGE \
DEF:e="/usr/share/cacti/rra/server_alignmenterrors_2981.rrd":FCSErrors:AVERAGE \
DEF:f="/usr/share/cacti/rra/server_alignmenterrors_2981.rrd":SingleCollisionFra:AVERAGE \
DEF:g="/usr/share/cacti/rra/server_alignmenterrors_2981.rrd":MultipleCollFrames:AVERAGE \
DEF:h="/usr/share/cacti/rra/server_alignmenterrors_2981.rrd":LateCollisions:AVERAGE \
DEF:i="/usr/share/cacti/rra/server_alignmenterrors_2981.rrd":FrameTooLongs:AVERAGE \
DEF:j="/usr/share/cacti/rra/server_alignmenterrors_2981.rrd":IntMacReceiveErr:AVERAGE \
DEF:ba="/usr/share/cacti/rra/server_alignmenterrors_2981.rrd":IntMacTransmitErr:AVERAGE \
DEF:bb="/usr/share/cacti/rra/server_alignmenterrors_2981.rrd":SQETestErrors:AVERAGE \
RRDTool Says:
ERROR: opening '/usr/share/cacti/rra/server_alignmenterrors_2989.rrd': No such file or directory
Works for me with 0.8.7b. I am using the xml file posted on April 20, 2006 and the templates file posted on April 23, 2004.ejensen wrote:does anyone know if this works with Cacti 8.7?
I did have one problem that had to be corrected. I had to change the data source type field on the data template for all twelve data sources from Gauge to Counter. Based on the sample graphs in this thread, the original was also set to Counter. There must have been a problem with the import that caused this field to be erroneously changed to Gauge.
CL
-
- Posts: 1
- Joined: Thu Mar 04, 2010 4:21 am
Some minor Improvements
Hei Folks,
thx to the Author of this Template - great work. I made some minor Improvements to it (hope you dont mind) to get it working in 0.8.7e.
- Changed Data Template - Data Source Type from GAUGE to COUNTER
- Added Interface Name to Data Source and Graph Title
Greets Hz
thx to the Author of this Template - great work. I made some minor Improvements to it (hope you dont mind) to get it working in 0.8.7e.
- Changed Data Template - Data Source Type from GAUGE to COUNTER
- Added Interface Name to Data Source and Graph Title
Greets Hz
- Attachments
-
- rfc1643.xml
- (3.98 KiB) Downloaded 3555 times
-
- cacti_data_query_snmp_-_rfc1643.xml
- (52.04 KiB) Downloaded 3580 times
I tried heinzruehl scripts but I get
the Data Query [SNMP - rfc1643] Reload Associated Query
This data query returned 0 rows, perhaps there was a problem executing this data query. You can run this data query in debug mode to get more information
I dont see anything useful in the logs and it seems the rrd file doesnt get created
the Data Query [SNMP - rfc1643] Reload Associated Query
This data query returned 0 rows, perhaps there was a problem executing this data query. You can run this data query in debug mode to get more information
I dont see anything useful in the logs and it seems the rrd file doesnt get created
Is your .xml file withing ressources/snmp_queries named rfc1643.xml? or somethig else like rfc1643_112.xml?
it must be named rfc1643.xml
it must be named rfc1643.xml
[size=67]Cacti version: 0.8.7e5
OS: FreeBSD 7.2
Plugin Architecture: 2.6
Plugins: aggregate 0.74, autom8 0.33, loginmod 1.0
[url=http://docs.cacti.net/manual:087]Official Cacti Documentation[/url]
[url=http://docs.cacti.net/manual:087:4_help.2_debugging#debugging]Gandalfs Official Debugging Help[/url]
[/size]
OS: FreeBSD 7.2
Plugin Architecture: 2.6
Plugins: aggregate 0.74, autom8 0.33, loginmod 1.0
[url=http://docs.cacti.net/manual:087]Official Cacti Documentation[/url]
[url=http://docs.cacti.net/manual:087:4_help.2_debugging#debugging]Gandalfs Official Debugging Help[/url]
[/size]
Who is online
Users browsing this forum: No registered users and 2 guests