Disable/change status of a test from an email

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
johnv
Posts: 8
Joined: Mon May 09, 2011 9:24 pm

Disable/change status of a test from an email

Post by johnv »

Has anyone thought of, or even better come up with a solution, to being able to disable a test (change a test's %statusid% ??) from another test or by sending an email which would trigger a test to fail which would be the master dependency test to a group of tests, ultimately stopping alerts being created.

So just say an engineer wanted to do some last second work on some servers and wanted to stop alerts being created. He would be able to send an email to a specific email address which would include a specific string of text which hostmon would recognise somehow and then disable the appropriate tests. Once the engineer is finish he would send another email which would re-enable the tests.

What do you guys think? Is this possible? Would be such an awesome feature to have I reckon.

Cheers

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

Post by KS-Soft Europe »

Controling HostMonitor by e-mail ?
This is possible starting from HostMonitor version 9.00
Quote from manual:
Starting from HostMonitor version 9.00 multiline variables supported. E.g. you may use %MailBody% or %HttpPage% variables as body of the script. This way you may setup HostMonitor to receive HM Script commands from mail server (see E-Mail test) or from some page on your web server and execute these commands. In other words, you may send e-mail with HM Script commands to HostMonitor and it will execute your e-mail.
E.g. you may setup HostMonitor to inform you about problems by e-mail and you may respond to HostMonitor by e-mail as well (e.g. pause or acknowledge failed items). Even more, HostMonitor may send confirmation back to you (e.g. you may assign to E-Mail test 2 actions: "Execute HM script" action and "Send e-mail" action using %MailFrom% variable as recipient's address).
Post Reply