Menu

#3 Use OID value in threshold comparison

open
nobody
Devmon (2)
3
2011-04-04
2008-12-31
Anonymous
No

I'd like to be able to use the value of an OID (or of a transform) in a
threshold comparison, but cannot see a way to do it. Specifically, I
have APC power strips that can have their thresholds configured in their
management interfaces (and this threshold is available via SNMP). Would
be nice to read that and use it as a comparison value.

For example, if one could add OIDs:
pduBank1Crit : .1.3.6.1.4.1.318.1.1.12.2.4.1.1.4.1 : leaf
pduBank1Out : .1.3.6.1.4.1.318.1.1.12.2.3.1.1.2.2 : leaf

And, maybe, something like this to the thresholds file:
pduBank1Out : red : {pduBank1Crit} : PDU bank1 load

Would be nice if values calculated in the transforms file could be used as well.
-Alan Sparks

Discussion

  • Buchan Milne

    Buchan Milne - 2011-04-04
    • labels: 822153 --> Devmon
    • priority: 5 --> 3
     
  • Buchan Milne

    Buchan Milne - 2011-04-04

    You can always introduce a value that is the difference between the value OID and the threshold OID, e.g.:

    pduBank1CritDiff : MATH: {pduBank1Out} - {pduBank1Crit}

    Then you could put a 'static' threshold on pduBank1CritDiff.

    Since there is a workaround, I will not look at this for 0.3.1, but it would make life easier in some situations, so I will look at it later.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.