View previous topic :: View next topic |
Author |
Message |
zendesigner
Joined: 03 Mar 2005 Posts: 40
|
Posted: Thu Mar 03, 2005 3:06 am Post subject: Scripting Hostmonitor + updates while running |
|
|
Hi were looking into using hostmonitor for monitoring a large array of servers.
As we have so many server (bank) we need to be able to script the addition of servers to test into the applivation.
1) is this possible?
2) if so does the service needs to be restarted?
3) What would be the best way to do it ?
Thanks
Z |
|
Back to top |
|
|
KS-Soft
Joined: 03 Apr 2002 Posts: 12795 Location: USA
|
Posted: Thu Mar 03, 2005 7:51 am Post subject: |
|
|
Script should generate import file with information about test items you want to add or modify, file like this.
Then you may import information from text file manually (using menu File -> Import from text file) or automatically using some test to check for updates (e.g. "File Availability" test) and "Run HMS script" action with "ImportFromFile" command.
Regards
Alex |
|
Back to top |
|
|
zendesigner
Joined: 03 Mar 2005 Posts: 40
|
Posted: Fri Mar 04, 2005 7:09 am Post subject: |
|
|
thanks alex , that put me on my way
Is there a way also to delete tests through this script as it doesn't seems to have a delete "testname" option in it?
Thanks for the help |
|
Back to top |
|
|
KS-Soft
Joined: 03 Apr 2002 Posts: 12795 Location: USA
|
Posted: Fri Mar 04, 2005 9:14 am Post subject: |
|
|
HM script supports "deletetest" command, this is unofficial undocumented command. Use it only if you really need this command.
Regards
Alex |
|
Back to top |
|
|
zendesigner
Joined: 03 Mar 2005 Posts: 40
|
Posted: Mon Mar 07, 2005 12:36 am Post subject: |
|
|
thanks alex, i'll have a look at it.
we would need it as hostmonitor would need to be populated by the release managements database. this database is updated daily with servers added and deleted. |
|
Back to top |
|
|
|