cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Passing a device specific value in Extension 2.0 SNMP

nbb006
Visitor

I am using the the Extension 2.0 SNMP extension.

Is it possible to pass in a device specific value in the monitoring configuration?
For example I may have 10 different SNMP endpoints defined in the monitoring configuration. For each of those devices I would like to define a device specific value.

I know that variables can be defined for the entire monitoring configuration but that is not what I want. I want to be able to do it in the device level.

Thank you.

5 REPLIES 5

AntonioSousa
DynaMight Leader
DynaMight Leader

@nbb006  Have you found a solution for your problem? If no, can you clarify a little bit more about your needs. I'm also in this process, so might try to help  😊

Antonio Sousa

david_lopes
Dynatrace Advisor
Dynatrace Advisor

Can you give us an example of what that value per device might be, and why using a different monitoring configuration (instead of having all devices using the same configuration) won't work?

Might not be a question of not working, but otherwise. One case might be devices (eg. switches) that have 48 ports, and you are using only 12, and don't want to use 4x DDUs than needed...

I'm still imaging the best way to get around this, am trying to see if I can only upload data from interfaces that are being used...

Antonio Sousa

I see, you can still have a monitoring configuration that filters interfaces by status, example:

 

      - subgroup: f5-sys-interface-stat
        featureSet: interface
        table: true
        dimensions:
          - key: interface.name
            value: oid:1.3.6.1.4.1.3375.2.1.2.4.4.3.1.1
            filter: var:interface-name-filter
          - key: interface.status
            value: oid:1.3.6.1.4.1.3375.2.1.2.4.1.2.1.17
            filter: var:interface-status-filter
        metrics:
          - key: com.dynatrace.extension.f5.bigip.sys.interface.stat.bytes.in
            value: oid:1.3.6.1.4.1.3375.2.1.2.4.4.3.1.3
            type: count
          - key: com.dynatrace.extension.f5.bigip.sys.interface.stat.bytes.out
            value: oid:1.3.6.1.4.1.3375.2.1.2.4.4.3.1.5
            type: count
          - key: com.dynatrace.extension.f5.bigip.sys.interface.stat.pkts.in
            value: oid:1.3.6.1.4.1.3375.2.1.2.4.4.3.1.2
            type: count
          - key: com.dynatrace.extension.f5.bigip.sys.interface.stat.pkts.out
            value: oid:1.3.6.1.4.1.3375.2.1.2.4.4.3.1.4
            type: count
          - key: com.dynatrace.extension.f5.bigip.sys.interface.stat.drops.in
            value: oid:1.3.6.1.4.1.3375.2.1.2.4.4.3.1.10
            type: count
          - key: com.dynatrace.extension.f5.bigip.sys.interface.stat.drops.out
            value: oid:1.3.6.1.4.1.3375.2.1.2.4.4.3.1.11
            type: count
          - key: com.dynatrace.extension.f5.bigip.sys.interface.stat.errors.in
            value: oid:1.3.6.1.4.1.3375.2.1.2.4.4.3.1.8
            type: count
          - key: com.dynatrace.extension.f5.bigip.sys.interface.stat.errors.out
            value: oid:1.3.6.1.4.1.3375.2.1.2.4.4.3.1.9
            type: count

 
Documented here: https://www.dynatrace.com/support/help/extend-dynatrace/extensions20/snmp-extensions/#filters

So you could set the var interface-status-filter to "1" to monitor statistics only for interfaces that are UP.

And you can still monitor interface status (UP/DOWN/DISABLED) for all interfaces, by having that metric in a different sub group



Nice. Going to try it out for the generic if MIB 😀

Antonio Sousa