Hello,
I have an SNMP OID where I have up to 10 Subentries under a ifIndex:
<oid>.<ifIndex>.1
<oid>.<ifIndex>.2
<oid>.<ifIndex>.3
<oid>.<ifIndex>.4
I want to get all the data pushed into cacti without doing all the stuff manually?
Is there any implementation of place-holders/variables that I can use in interfaces.xml:
<oid>x.y.z.ifIndex.1</oid>
When I use just x.y.z I get the response that i.e.l the Index is not 1645789233 as expected, the index is 1, 2, 3 or 4. But these are the elements I want to put into the graph.
Kind Regards,
Kay
Interfaces Query <ifIndex> with sub entries
Moderators: Developers, Moderators
-
- Posts: 1
- Joined: Sun Oct 27, 2013 5:56 am
Re: Interfaces Query <ifIndex> with sub entries
Hi,
Just picking up on this thread because i have hit the same issue and have exactly the same requirement. Did you ever find a resolution to this? Or does anyone else know how this can be achieved?
Thanks in advance!
Just picking up on this thread because i have hit the same issue and have exactly the same requirement. Did you ever find a resolution to this? Or does anyone else know how this can be achieved?
Thanks in advance!
Re: Interfaces Query <ifIndex> with sub entries
Cacti doesn't handle multi valued index queries out of the box. One option is to write a PHP Script Server script which handles the parsing. another possibly method is to use snmp data query script (like the snmp interface one) which then uses a regex to treat the entire x.y.z.ifIndex AS the index... it can work with mixed results.
| 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 3 guests