I'd love to figure out a way - and I while believe Zbx has some sort of nested templating I'm very new at it and haven't yet found the right docs if they exist. I think that it's the right direction of thought such that it's easy to monitor 10 different snmp oids for each of a list of pools.
In describing the SNMP OIDs on our netscaler, a co-worker today wrote this:
> To find all vserver names: snmpwalk 1.3.6.1.4.1.5951.4.1.3.1.1.1
> OIDs for a vserver - rtb01.us in SLIAD this case:
>
> 1.3.6.1.4.1.5951 is the base Netscaler Citrix OID
>
> .4.1.3.1.1.1 is the base OID for verservers
>
> The next group is the index for each value, aka name or port etc.
>
> str.in.gof.num.be.rs is the pool-specific part of these.
So, for each in a list of pool-specific parts - which could easily be a macro - {$pool1_oid}, {$pool_oid}, there are about 15 things we want to monitor and graph.
IE: 1.3.6.1.4.1.5951.4.1.3.1.1.1.value1.str.in.gof.num .be.rs
1.3.6.1.4.1.5951.4.1.3.1.1.1.value2.str.in.gof.num .be.
and so on.
There has GOT to be a way to template this, and I think that finding that would be very advantageous going forward, so we only need to drop in one macro to get 15 new monitors.
Does anyone know how to do this?
2.0.11 on CentOS6.5
Thanks!
In describing the SNMP OIDs on our netscaler, a co-worker today wrote this:
> To find all vserver names: snmpwalk 1.3.6.1.4.1.5951.4.1.3.1.1.1
> OIDs for a vserver - rtb01.us in SLIAD this case:
>
> 1.3.6.1.4.1.5951 is the base Netscaler Citrix OID
>
> .4.1.3.1.1.1 is the base OID for verservers
>
> The next group is the index for each value, aka name or port etc.
>
> str.in.gof.num.be.rs is the pool-specific part of these.
So, for each in a list of pool-specific parts - which could easily be a macro - {$pool1_oid}, {$pool_oid}, there are about 15 things we want to monitor and graph.
IE: 1.3.6.1.4.1.5951.4.1.3.1.1.1.value1.str.in.gof.num .be.rs
1.3.6.1.4.1.5951.4.1.3.1.1.1.value2.str.in.gof.num .be.
and so on.
There has GOT to be a way to template this, and I think that finding that would be very advantageous going forward, so we only need to drop in one macro to get 15 new monitors.
Does anyone know how to do this?
2.0.11 on CentOS6.5
Thanks!

Comment