KS-Soft. Network Management Solutions
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister    ProfileProfile    Log inLog in 

Alert if File is greater than x and exists

 
Post new topic   Reply to topic    KS-Soft Forum Index -> Wish list
View previous topic :: View next topic  
Author Message
sysadmber



Joined: 08 Dec 2015
Posts: 50

PostPosted: Mon Jan 22, 2018 6:09 am    Post subject: Alert if File is greater than x and exists Reply with quote

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
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 12790
Location: USA

PostPosted: Mon Jan 22, 2018 7:13 am    Post subject: Reply with quote

>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
View user's profile Send private message Visit poster's website
sysadmber



Joined: 08 Dec 2015
Posts: 50

PostPosted: Tue Jan 23, 2018 1:48 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    KS-Soft Forum Index -> Wish list All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

KS-Soft Forum Index