Page 1 of 1

Problem with notifications

Posted: Wed Mar 30, 2011 8:10 pm
by tdrepeater
I followed the instructions from the forum and from the manual, but i can not handle notifications. My very first intention is to start any exe file when host is up or down. I chose notepad for test, but thing does not work the way i thought, so i ask for help.

I'm running Dude 3.6 under Win7 Ultimate 32bit, pinging couple of hosts in local network. Notification is set as follows:

Image Image

I put test.bat into c:\windows, where is notepad.exe. Into test.bat is line c:\windows\notepad.exe

Image Image

When monitoring host changes state (up->down, or down->up), notepad does not start.

Where i'm wrong?

Re: Problem with notifications

Posted: Thu Mar 31, 2011 9:24 am
by gsandul
Where i'm wrong?
1) Do not put c:\windows\test.bat in quotes ("")
quotes.png
2) The service does not change it state directly from up to down (this will not be true if you change probe down count to 1).
down.png
First it change state from up to unstable, so you will not receive notification. The settings should be
state.png

Re: Problem with notifications

Posted: Sun Apr 03, 2011 12:23 am
by zindy
Hello,

another solution is to check more rules. I use {acked,unknown,unstable,up}->down and {unknown,down}->up

with this you will always know of device, which is down and when it comes from down to up (it happens directly) and from unknown to up (it happens when you are using dependencies for example)

If you want to debug your network, you can check up->unstable and unstable->up. This will notify you, when some device in your network drops some pings, but still answers some of them.

Vaclav