Ad Widget

Collapse

arithmetic function on numbers in log file

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mhm
    Junior Member
    • Mar 2012
    • 1

    #1

    arithmetic function on numbers in log file

    I am attempting to monitor a log file, and send an alert if a value recorded in a log file drops below a threshold.

    For example, this is one line in the log file:
    03/01 08:43:40 metrics Web threads (busy/total): 0/2 Sessions: 2 Total Memory=32512 Free=26801

    How can I send an alert when the value for Free drops below 1000?
    What should I select as the key for the item? Only "log" seems to be a logical choice. But then how would I set up the trigger to do the math comparison?

    This log file is on a windows server.

    Thank you
Working...