Hello everyone, I got truble on parsing oid_index from vary length OID.
Example as follow:
[CACTI ~]$ snmpwalk -v 2c -Ob -Cc -c [community] x.x.x.x 1.3.6.1.4.1.3902.3.6000.600.2.3.1.1
SNMPv2-SMI::enterprises.3902.3.6000.600.2.3.1.1.1.12.99.103.110.45.111.117.116.45.49.48.48.48 = STRING: "cgn-out-1000"
SNMPv2-SMI::enterprises.3902.3.6000.600.2.3.1.1.1.11.99.103.110.45.111.117.116.45.49.49.48 = STRING: "cgn-out-110"
How can I construct the OID/REGEXP for Data query?
Help!Can I parse oid_index from vary length OID?
Moderators: Developers, Moderators
Re: Help!Can I parse oid_index from vary length OID?
Have you seen https://docs.cacti.net/howto:data_query ... _templates
Cacti Developer & Release Manager
The Cacti Group
Director
BV IT Solutions Ltd
+--------------------------------------------------------------------------+
Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
The Cacti Group
Director
BV IT Solutions Ltd
+--------------------------------------------------------------------------+
Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
Re: Help!Can I parse oid_index from vary length OID?
Great! It works! Thanks a lot!netniV wrote:Have you seen https://docs.cacti.net/howto:data_query ... _templates
Who is online
Users browsing this forum: No registered users and 4 guests