Alert with multiple SMS recipients - intermittent results

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).
Post Reply
myxiplx
Posts: 21
Joined: Tue Apr 13, 2004 1:53 am

Alert with multiple SMS recipients - intermittent results

Post by myxiplx »

We're using hostmonitor to check the temperature of our server room and have configured it to send SMS messages to our two network admins if the temperature exceeds our limits. We're finding that we can get a message to any one admin, but not to both.

I suspect that all the alert actions are being fired off at the same time which means our scripts to send SMS messages are going to be fighting for control of the same resources with the result that one of the two fails. Can anyone confirm whether this is the case?

If so, I can adjust our scripts to allow for this, but it would be nice to see an option in hostmonitor to choose synchronous / asynchronous processing of alert actions.

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

Post by KS-Soft »

What alert method do you use to send SMS? "Execute external program"? Then yes, HostMonitor may start both actions at the same time.
Probably your script may accept list of recipients instead of single number? In this case you will be able to use single action.
but it would be nice to see an option in hostmonitor to choose synchronous / asynchronous processing of alert actions.
H'm.. synchronous mode has one significant disadvantage - HostMonitor should stop checking other tests because other tests may trigger the same actions...

Regards
Alex
myxiplx
Posts: 21
Joined: Tue Apr 13, 2004 1:53 am

Post by myxiplx »

Yeah, I guess you're right - synchronous mode would require a queuing engine inside hostmonitor and that's a whole new ball game, especially if you have a lot of tests.

I've updated my script so it waits until the device is free, works much better now.

Thanks again for the quick response :)
Post Reply