Eval version stops sending emails but popup windows ok

All questions related to installations, configurations and maintenance of Advanced Host Monitor (including additional tools such as RMA for Windows, RMA Manager, Web Servie, RCC).
gwalkey
Posts: 9
Joined: Wed Feb 15, 2012 10:00 am

Eval version stops sending emails but popup windows ok

Post by gwalkey »

Have about 50 pings scheduled for every 30 seconds.
the tests complete, but no actions are triggered.

Is this normal behavior?
It was working fine for about a week.

NO other actions seem to work other than popup windows..

thanks
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

Please check the following article
http://www.ks-soft.net/cgi-bin/phpBB/vi ... php?t=4804

Regards
Alex
gwalkey
Posts: 9
Joined: Wed Feb 15, 2012 10:00 am

Post by gwalkey »

thanks Alex
I will try Reverse alert

I just created a new action for SMTP email and it started to work again...
gwalkey
Posts: 9
Joined: Wed Feb 15, 2012 10:00 am

Post by gwalkey »

then the email actions failed again...

ho hum
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

What exactly means "failed"? What error do you see in the log?

Regards
Alex
gwalkey
Posts: 9
Joined: Wed Feb 15, 2012 10:00 am

Post by gwalkey »

which log, there are test logs, but no action logs.

failed means I get no email...
the SMTP Options are also set to display a window when the SMTP action is triggered. No window. Again.....popups as an action work everytime.
KS-Soft Europe
Posts: 2832
Joined: Tue May 16, 2006 4:41 am
Contact:

Post by KS-Soft Europe »

which log, there are test logs, but no action logs.
If action failed for some reason, HostMonitor should record error description into the System log (Menu View->System log).
Also, you may use Quick Log to check if action was executed or failed (menu View->Quick log)
Have you checked this article ?
http://www.ks-soft.net/cgi-bin/phpBB/vi ... php?t=4804
gwalkey
Posts: 9
Joined: Wed Feb 15, 2012 10:00 am

Post by gwalkey »

Last entry in system log was Monitor Started
Quick Log shows Event Time, Test Status, Reply, Test Method
with the test,

IN other words you dont have a log of your actions.
And how long/deep is the SMTP queue?
What if i get all monitors go down and they all use SMTP.
I got hundreds of texts (#@smsprovider.com) while testing.

again, the problem remains.

If the log action is popup or sound actions = ok
SMTP fails....everytime

i read that article.

How many times can I create a new action and choose SMTP
it works for a while then quits....

NOT cool
KS-Soft Europe
Posts: 2832
Joined: Tue May 16, 2006 4:41 am
Contact:

Post by KS-Soft Europe »

Quick Log shows Event Time, Test Status, Reply, Test Method.
Quick Log may work in 3 different modes:
- Show test results
- Show actions
- Show test results and actions
You may select Quick Log mode using popup menu that appears when you click right mouse button on Quick Log pane.
gwalkey
Posts: 9
Joined: Wed Feb 15, 2012 10:00 am

Post by gwalkey »

For instance, I create a ping monitor to 127.0.0.0
fails everytime

action = smtp with working in-house exchange server

event 1(ping to above) = i get the text

event 2 (30 seconds later) = no text

:(

the timer is 30 seconds
I am killing your SMTP send code?
gwalkey
Posts: 9
Joined: Wed Feb 15, 2012 10:00 am

Post by gwalkey »

I think I found my problem.
My BAD

The alert only goes out one time.....UNTIL the condition changes....
(-1) should show in the actions Window....

Here is what I was testing:
Setup SNMP Trap listener and log to windows app log....
every incoming trap only created one app log entry.

change it to (until status changes)
which is what? a time out?

in other words if there is a steady stream of incoming SNMP traps
what is considered an OK/Good status?

(I know i should be using a proper SYSLOG for this)
Last edited by gwalkey on Wed Feb 15, 2012 1:17 pm, edited 1 time in total.
KS-Soft Europe
Posts: 2832
Joined: Tue May 16, 2006 4:41 am
Contact:

Post by KS-Soft Europe »

Probably, you just setup Condition to start action: "Repeat 1 time".
With this option selected test will trigger Action only after first consecutive Bad result.
If you want to get Alert each time test gets "Bad" status, use Condition to start action: "Repeat until status changes".
You may change this option on Action properties dialog:
http://www.ks-soft.net/hostmon.eng/mfra ... properties
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

event 1(ping to above) = i get the text
event 2 (30 seconds later) = no text
Sound like you forgot to check item #3 from the article - If monitoring is started, actions enabled, you cannot find any errors in the log and Quick Log does not show any information about specific action, you should check properties of the action

Actually this is default behavior - trigger action just once when test status changes from "bad" to "good" or vice versa.
If you want to start action after each test iteration, just say so - set "Repeat until status changes" option.

Regards
Alex
gwalkey
Posts: 9
Joined: Wed Feb 15, 2012 10:00 am

Post by gwalkey »

Yes I got it.

but what about this:

in other words if there is a steady stream of incoming SNMP traps
what is considered an OK/Good status?
KS-Soft Europe
Posts: 2832
Joined: Tue May 16, 2006 4:41 am
Contact:

Post by KS-Soft Europe »

in other words if there is a steady stream of incoming SNMP traps
what is considered an OK/Good status?
This behaviour is defined on "Trap filter" dialog. You may select one of these options:
- Set "Ok" status if received message satisfies...
- Set "Ok" status if no "Bad" trap received within NN sec
- Set Ok status by acknowlegement (manually)

Please check the manual or visit our web site for more information at:
http://www.ks-soft.net/hostmon.eng/mfra ... m#snmptrap
Post Reply