Ad Widget

Collapse

Trigger Expression with snmp values

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • martins.felipe
    Member
    • Jul 2006
    • 34

    #1

    Trigger Expression with snmp values

    I would like to check my server's hds to know if they are being 80% used.
    Is there a way to do something like this at trigger expression ?

    {SNMP_t:hrStorageUsed.4.last(0)}>{(SNMP_t:hrStorag eSize.4.last(0))*(0.8)}

    I mean, Above i'm making a comparison between the last value of hrStorageUsed.4 (my servers / directory) and the total size of this partition (hrStoragesize.4) and see if it is higher then 80% (0.8).

    Is that possible ? I use snmp to monitor this devices.

    []'s
  • den_crane
    Senior Member
    • Feb 2006
    • 272

    #2
    Originally posted by martins.felipe
    {SNMP_t:hrStorageUsed.4.last(0)}>{(SNMP_t:hrStorag eSize.4.last(0))*(0.8)}
    []'s
    try

    {SNMP_t:hrStorageUsed.4.last(0)}>{(SNMP_t:hrStorag eSize.4.last(0))}*0.8

    Comment

    • martins.felipe
      Member
      • Jul 2006
      • 34

      #3
      Worked

      Thanx man, it worked

      {SNMP_t:hrStorageUsed.2.last(0)}>({SNMP_t:hrStorag eSize.2.last(0)}*0.8)

      Problem with the "(" ")".

      thanx a lot!!!

      []'s

      Comment

      Working...