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

Normal Status config

 
Post new topic   Reply to topic    KS-Soft Forum Index -> Configuration, Maintenance, Troubleshooting
View previous topic :: View next topic  
Author Message
totte



Joined: 30 May 2007
Posts: 55

PostPosted: Wed Sep 20, 2017 8:23 am    Post subject: Normal Status config Reply with quote

Hi
I have two tests that checks mailboxes for incoming emails.

TestB is a backup if the mailserver for testA is down.

Test B should only get Status "Bad" if the testA has status "UNKNOWN" otherwise it should get status "NORMAL"

Test B "Use Normal Status If" = ("%SuggestedStatus%"=="Bad") AND ('%::%fvar_voicemail1%::SimpleStatus%'<>'UNKNOWN')

%fvar_voicemail1% is the testid of testA

TestB still gets status "NORMAL" when TestA has status "UNKNOWN"

I canĀ“t set TestA as Master for TestB since i need testB to remove the emails from the mailbox.

//Christoffer
Hogia
Back to top
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 12792
Location: USA

PostPosted: Wed Sep 20, 2017 12:20 pm    Post subject: Reply with quote

HostMonitor version?

If "Treat Unknown status as Bad" option marked (TestA) then %SimpleStatus% returns 'DOWN' for statuses like "No answer", "Bad" and "Unknown".
So you may unmark "Treat Unknown status as Bad" option for testA or change expression for TestB
("%SuggestedStatus%"=="Bad") AND ('%::%fvar_voicemail1%::SimpleStatus%'<>'DOWN')

Regards
Alex
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    KS-Soft Forum Index -> Configuration, Maintenance, Troubleshooting 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