View previous topic :: View next topic |
Author |
Message |
sysadmber
Joined: 08 Dec 2015 Posts: 50
|
Posted: Mon Jan 22, 2018 6:09 am Post subject: Alert if File is greater than x and exists |
|
|
Could you add the posibility to only go bad if the named resource exists?
For now I use
"use Normal Status if": '%SuggestedReply%'=='RMA: 301 - Folder/File doesn`t exist'
as workaround.
Regards,
Sebastian |
|
Back to top |
|
|
KS-Soft
Joined: 03 Apr 2002 Posts: 12805 Location: USA
|
Posted: Mon Jan 22, 2018 7:13 am Post subject: |
|
|
>Could you add the posibility to only go bad if the named resource exists?
Are we talking about File/Folder Size test method?
Then it works in the way you want. HostMonitor does not set Bad status when file/folder does not exist. HostMonitor sets Unknown status.
How to process Unknown status is up to you. E.g. you may unmark "Treat Unknown status as Bad" option.
Also you may use Count Files test method
- count files bigger than N;
- alert when folder contains more than 0 files
Regards
Alex |
|
Back to top |
|
|
sysadmber
Joined: 08 Dec 2015 Posts: 50
|
Posted: Tue Jan 23, 2018 1:48 am Post subject: |
|
|
Hello Alex,
Yes I am talking about "File/Folder Size" test method.
Unknown status is no solution for me. I have enough VBScript tests which turn to unknown fairly often. I'll stick with my workaround.
Regards,
Sebastian |
|
Back to top |
|
|
|