I am trying to monitor a log file for a Windows service to ensure that the service is executing. Unfortunately, I cannot get a heartbeat out of the log, though there are entries almost constantly added. So what I would like to do is alert on the file when is DOES NOT grow since the last check. I could not find a way to do that...I can alert on increase or decrease, but not on "unchanged". Is there a way that this could be done without resorting to custom code?

asked 27 Feb '17, 16:34

TheSemicolon's gravatar image

TheSemicolon
33810
accept rate: 0%


Hi TheSemicolon,

You could invert the the status of the monitor and then alert when there is no change. In my test I set the monitor to watch the size of a file and to alert on increase or decrease of 1%. Then in the monitor's Advanced Monitor Options, on the Status tab, I set the "Invert monitor status..." by checking the box. This worked, so that if there was no increase or decrease in the size I received an alert, if there was an increase or decrease no alert was sent.

Thanks
Quinn

Please make sure to mark your questions accepted when you have your answer by clicking the gray check mark to the left of the answer.

link

answered 27 Feb '17, 17:38

Quinn's gravatar image

Quinn ♦♦
14.5k3925
accept rate: 35%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×33
×2

Asked: 27 Feb '17, 16:34

Seen: 3,040 times

Last updated: 27 Feb '17, 17:38