Inscrit le: 21 Sep 2017
Moyenne de points: 0
|Posté le: Lun 30 Oct - 17:02 (2017) Sujet du message: 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.
I didn't find the right solution from the Internet.