SNMP Data Query - Filter out Rows

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
dvc
Posts: 18
Joined: Mon Apr 29, 2013 12:44 am

SNMP Data Query - Filter out Rows

Post by dvc »

Hi,

did a search on the forum and I'm pretty sure this is not natively supported but thought I would double check.

I would like to present only a subset of returned rows for an SNMP data query. Juniper routers routers have a MIB table "jnxOperatingTable" which contains multiple different device components which are not always relevant (eg, don't want fans in a CPU data query).

The filtering is easy to do with a script data query but can I have a script data query and still poll with direct SNMP??
I would rather not poll with a script if I can avoid it. Can't seem to get this to work, the data source indexes are blank.

Alternatively it looks not too hard to edit data_query.php and implement a feature like <drop_unmatched> for indexes derived using <oid_index_parse>.

regards,
David
mooneyn
Posts: 33
Joined: Tue Aug 21, 2012 2:19 am

Re: SNMP Data Query - Filter out Rows

Post by mooneyn »

Maybe index the whole jnx table, but use Autom8 rules to carefully select which rows you want to make graphs against.
dvc
Posts: 18
Joined: Mon Apr 29, 2013 12:44 am

Re: SNMP Data Query - Filter out Rows

Post by dvc »

mooneyn wrote:Maybe index the whole jnx table, but use Autom8 rules to carefully select which rows you want to make graphs against.
Thanks, I'll give that a go, we have autom8 installed already.
Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests