I have a Cisco AS5850 gateway with 36 PRI's I want to monitor the usage of.
I have the OID I need to walk to get the data, it is .1.3.6.1.4.1.9.10.19.1.1.9.1.3.
If I walk it, I get the results like the following:
SNMPv2-SMI::enterprises.9.10.19.1.1.9.1.3.0.3 = Gauge32: 16
SNMPv2-SMI::enterprises.9.10.19.1.1.9.1.3.12.2 = Gauge32: 20
These are for serial 0/0:3:23 and serial 12/0:2:23. Is there a neat way to index these so I don't have to re-do each graph title since the OID references 0.3 and 12.2 and the actual interface is 0/0:3:23 12/0:2:23.
I would prefer to not have to create each graph with it's own data template.
Thanks
Help with PRI usage on a Cisco AS5850
Moderators: Developers, Moderators
I tried creating an xml query, and it parses it fine, but I never see any snmp traffic that matches the oids from the query.
I have attached the xml and the output from the verbose query if someone can take a look and let me know where I went wrong.
I am wondering if it is because index numbers are used more than once because the final OID's are two digits after the index.
Thanks
I have attached the xml and the output from the verbose query if someone can take a look and let me know where I went wrong.
I am wondering if it is because index numbers are used more than once because the final OID's are two digits after the index.
Thanks
- Attachments
-
- query.xml
- (466 Bytes) Downloaded 143 times
-
- snmpwalk.txt
- (4.7 KiB) Downloaded 144 times
Ah, you're going to have to use a REGEX to split off the last two ANS.1 numbers and use that as the index. Add something like the following to your SNMP XML file:
Code: Select all
<oid_index_parse>OID/REGEXP:.*\.([0-9]{1,3}\.[0-9]{1,3})$</oid_index_parse>
| 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 |
-
- Cacti User
- Posts: 77
- Joined: Thu Nov 13, 2008 2:30 pm
I am doing the same thing with many different routers using "Cisco Gateway Active Calls". I think I found it here in the forums.
It plots how many concurrent calls I have on each gateway. Using thold, I can then send an alert when we come close to maxing out.
The only issue I have is that the raw stats get normalized over time, which really hurts our planning and provisioning.
It plots how many concurrent calls I have on each gateway. Using thold, I can then send an alert when we come close to maxing out.
The only issue I have is that the raw stats get normalized over time, which really hurts our planning and provisioning.
read http://docs.cacti.net/manual:087:8_rrdt ... _data_losscharlesdf23 wrote:The only issue I have is that the raw stats get normalized over time, which really hurts our planning and provisioning.
| 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