I am new to cacti and all i wanna do is monitoring my cabletron switch. but i cant get it to work
maybe i searched a the wrong locations, but i found no useful documentation on how to do that simply. i looked for a template to download, but there are none?
has anyone hints for me?
Monitoring a switch
Moderators: Developers, Moderators
1) add the device
2) in the device, add the snmp interface associated query.
3) click 'create graphs for this host' in the top right corner.
4) select what you want to graph and you're done.
2) in the device, add the snmp interface associated query.
3) click 'create graphs for this host' in the top right corner.
4) select what you want to graph and you're done.
| 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 |
hmm so far i was too
i want the traffic of all ports...
isnt the port traffic stored in 1.3.6.1.2.1.2.2.1.x.y, where x is 10/16 and y is the port number 1,2,3....
Code: Select all
+ Running data query [1].
+ Found type = '3' [snmp query].
+ Found data query XML file at '/wwwdir/tools/html/cacti/resource/snmp_queries/interface.xml'
+ XML file parsed ok.
+ Executing SNMP walk for list of indexes @ '.1.3.6.1.2.1.2.2.1.1'
+ No SNMP data returned
+ Found data query XML file at '/wwwdir/tools/html/cacti/resource/snmp_queries/interface.xml'
+ Found data query XML file at '/wwwdir/tools/html/cacti/resource/snmp_queries/interface.xml'
+ Found data query XML file at '/wwwdir/tools/html/cacti/resource/snmp_queries/interface.xml'
isnt the port traffic stored in 1.3.6.1.2.1.2.2.1.x.y, where x is 10/16 and y is the port number 1,2,3....
Code: Select all
snmpwalk -Os -c public -v 2c ##ip## 1.3.6.1.2.1.2.2.1.1
ifIndex.1 = INTEGER: 1
ifIndex.2 = INTEGER: 2
ifIndex.3 = INTEGER: 3
ifIndex.4 = INTEGER: 4
ifIndex.5 = INTEGER: 5
ifIndex.6 = INTEGER: 6
ifIndex.7 = INTEGER: 7
ifIndex.8 = INTEGER: 8
ifIndex.9 = INTEGER: 9
ifIndex.10 = INTEGER: 10
ifIndex.11 = INTEGER: 11
ifIndex.12 = INTEGER: 12
ifIndex.13 = INTEGER: 13
ifIndex.14 = INTEGER: 14
ifIndex.15 = INTEGER: 15
ifIndex.16 = INTEGER: 16
ifIndex.17 = INTEGER: 17
ifIndex.18 = INTEGER: 18
ifIndex.19 = INTEGER: 19
ifIndex.20 = INTEGER: 20
ifIndex.21 = INTEGER: 21
ifIndex.22 = INTEGER: 22
ifIndex.23 = INTEGER: 23
ifIndex.24 = INTEGER: 24
ifIndex.25 = INTEGER: 25
ifIndex.26 = INTEGER: 26
I'm having the exact same issue myself. I just found this in my apache error_log file:
So I suppose it could be an old net-snmp. I'm getting the new one now and testing it out.
Code: Select all
Unknown output option passed to -O: U.
USAGE: snmpbulkwalk [OPTIONS] AGENT [OID]
Version: 5.0.1
Web: http://www.net-snmp.org/
Email: net-snmp-coders@lists.sourceforge.net
OPTIONS:
-h, --help display this help message
-H display configuration file directives understood...etc
Who is online
Users browsing this forum: No registered users and 0 guests