how to get notifications only once...

General chat about HostMonitor (all messages posted before March 07, 2003 available here).
Locked
unclelude
Posts: 20
Joined: Wed Jan 22, 2003 6:00 pm

Post by unclelude »

hello,
I am having problems configuring HostMonitor for notifications. Basically, I have a sql with a where clause which gets the count with a certain criteria. If the count > 100, then I would like it to send me a message saying "Count is too high". Else, send me an e-mail, saying "Count is manageable". But I am not having any luck. I have the alert enables in the ODBC SQL Test screen. On the Alerts Configuration screen, I have tried both "repeat 1 times" and "untill status changes", but they both are giving me inconsistent results. I have set the criteria to be always true, i.e count > 100, but it reports both statuses. what am I doing wrong ?

thanks for all the help I can get.
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

I am not sure I understand you correctly, please correct me if I am wrong. Topic is "how to get notifications only once". So I assume you want to get notification only in case test status changes. In this case add one "Bad" action with "Count is too high" message and one "Good" action with "Count is manageable" message. Use "Repeat: 1 time" option for both actions.

>I have set the criteria to be always true, i.e count > 100, but it reports both statuses

I think you created 2 "Bad" or 2 "Good" actions. Use instead 1 "Bad" and 1 "Good" actions.

Regards
Alex
unclelude
Posts: 20
Joined: Wed Jan 22, 2003 6:00 pm

Post by unclelude »

well, what I want is to schedule the sql to run every 10 minutes and give me the status only when the condition count > 100 is true. But it keeps running on its own, randomly, and it gives me both statuses (don't know why, beacuse the count is never <= 100) . I can e-mail u screen shots if you would like.
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

Better send HML file with tests and all *.LST files. It will be more useful than screen shots.

Regards
Alex
unclelude
Posts: 20
Joined: Wed Jan 22, 2003 6:00 pm

Post by unclelude »

What e-mail address should I send them to ?
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

Just click on "mail" below my message.
Locked