Changing passwor dfor Connect As...

General chat about HostMonitor (all messages posted before March 07, 2003 available here).
Locked
Tommy
Posts: 22
Joined: Mon Jul 01, 2002 6:00 pm

Post by Tommy »

Alex,

Is there a way to change the password in the connect as for the service tests, etc... I have more than 50 tests for a particular server. I change the password on the machine once a month. This will lead to a lot of boring typing. I do not see anything in Host Monitor or HML Manager.

thanks

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

Post by KS-Soft »

Tom,

Please download update http://www.ks-soft.net/download/hm319.zip
This version of HostMonitor supports new command that can be used in HM script.
Format: SetTestParam <TestName> <ParameterName> <Value>
Where:
TestName name of the test or group name (like _AllPing, _AllService, _AllCPU, etc)
ParameterName can take one of the following values: 'Timeout', 'UserName', 'Password'
Value new value of the specified parameter

Using this command in script you can setup user name and password for the following tests:
UNC
Interbase
Oracle
MSSQL
My SQL
Postgre
Sybace
Process
Service
NTLog
CPU Usage

Using this command in script you can set timeout for the following tests:
Ping
SNMP
ODBC
SMTP
POPT
IMAP
DNS
LDAP

Examples:
SetCurrentFolder RootAsiaPing tests
IncludeSubFolders no
SetTestParam _AllPing Timeout 1111

SetCurrentFolder Europe
IncludeSubFolders yes
SetTestParam _AllCPU UserName test1
SetTestParam _AllCPU Password pswd1

SetCurrentFolder Root
IncludeSubFolders yes
SetTestParam _AllSybase UserName test2
SetTestParam "my sybase server" Password my long big password
Regards
Alex
Tommy
Posts: 22
Joined: Mon Jul 01, 2002 6:00 pm

Post by Tommy »

Thank You, Sir
Locked