action after an alert

General chat about HostMonitor (all messages posted before March 07, 2003 available here).
Locked
fioi
Posts: 2
Joined: Thu Apr 04, 2002 6:00 pm
Location: Italy

Post by fioi »

I've got a some windows servers to be checked: I've to check a service and in the alert profile I want to restart the service if the test fails.
And this is ok. But I've got to check about 50 servers and I want to use the same alert profile. My problem is that I have to specify the name of the server where to restart the service: in this way I have to do 50 different profiles that to the same thing for 50 servers.
Is there any way to use (like in the email section) a variable to specify the name of the host?

Thanks a lot and sorry for my english.

I'm tring version 1.76. Is it solved in version 3?
ccooper
Posts: 5
Joined: Sun Apr 07, 2002 6:00 pm

Post by ccooper »

This was the question I had asked before Alex. I must not have been clear enough and I'm from the US. Loooks like your English is better than mine fioi.
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

I believe this problem was solved in version 1.70. You can use macro variables %ServiceName%, %ServiceComp%.
Please, look at http://www.ks-soft.net/hostmon.eng/mfra ... .htm#macro

Regards
Alex
fioi
Posts: 2
Joined: Thu Apr 04, 2002 6:00 pm
Location: Italy

Post by fioi »

Alex,

thanks!! It works great now. My problem was that I was using %HostName% and not
%ServiceComp%.

Thank you very much.

Locked