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

custom configure first 5 alerts within an hour?

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



Joined: 12 Dec 2019
Posts: 2

PostPosted: Thu Dec 12, 2019 3:27 am    Post subject: custom configure first 5 alerts within an hour? Reply with quote

Hi,

We use HostMonitor. I would like to have the system send 5 alerts as long as the problem is not solved WITHIN 1 hour and stop emailing afterwards.
If the next day the problem is still not solved it should start send again max 5 times in first hour and stop again until next day if the problem is still not solved.
So actually it should check every 12 minutes (60min/5 alerts) and alert in that 1st hour as long as status is still down and then stop after that hour.
I hope my intentions are clear. Is this possible?

Looking at the advanced mode document it should look something like
('%SimpleStatus%'=='DOWN') and (%Recurrences% mod ????

but I don't how to realize this. Can someone help?

Thanks in advance for your help/advice.
Back to top
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 12793
Location: USA

PostPosted: Thu Dec 12, 2019 5:16 am    Post subject: Reply with quote

Something like
('%SimpleStatus%'=='DOWN') and ((%Recurrences% mod 288)<6)

Are you sure you want to receive 5 alerts for each bad test at the middle of the night, every night (some tests may fail at night, then alerts will repeat next night)?
May be its better send several alerts when test becomes bad, then send single report with al bad tests every morning?

Regards
Alex
Back to top
View user's profile Send private message Visit poster's website
MonitorRookie



Joined: 12 Dec 2019
Posts: 2

PostPosted: Thu Dec 12, 2019 6:50 am    Post subject: Reply with quote

Thanks for the reply.

Hmm...that is a good point.
Well, it should be sending an alert as soon as it detects the 1st error/warning (no matter at what time that occurred) and send it 5 times within that hour and then stop.
On the next following rounds of alerts in the following day(s) (at midnight or during workinghours or within the 24hours) it should send it again max 5 times within that hour of the 2nd and following days.
The alerts on the next and following days act as reminders and it doesn't matter on what specific hour the max 5 alerts will occur. Could be midnight, in the morning or even later in the new day.
Back to top
View user's profile Send private message
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