Search found 3 matches
- Thu Mar 13, 2008 12:34 pm
- Forum: Configuration, Maintenance, Troubleshooting
- Topic: How to debug error at hms scripts
- Replies: 3
- Views: 11577
'%DateTime%' gets split into multiply strings in HMS?
How to avoid broken macro parameters? HMS Code ExecuteProgram 10000 cmd /c echo ExecuteProgram 1000 "C:\jobs\hostmonitor\set.cmd" OK '%DateTime%' '%TestName%' '%Status%' '%Reply_CStyle%' '%TestMethod%' ""%LastTestTime%"" '%StatusID%' '%SimpleStatus%' '%Agent%' '%AckCom...
- Thu Mar 13, 2008 2:32 am
- Forum: Configuration, Maintenance, Troubleshooting
- Topic: How to debug error at hms scripts
- Replies: 3
- Views: 11577
How to debug error at hms scripts
We have a hms script like: Example ExecuteProgram 1000 wget http://webserver/cms_ip_tab?rma=%CommentLine1% -O "C:\Program Files\HostMonitor6\Lists\cms_ip_tab-%CommentLine1%.txt" ImportFromFile cms_ip_tab-%CommentLine1%.txt SkipDuplicates WriteLog SaveTestList servername.hml This test file...
- Thu Mar 13, 2008 2:10 am
- Forum: Configuration, Maintenance, Troubleshooting
- Topic: How to test Database driven logging with macro variables
- Replies: 1
- Views: 7389
How to test Database driven logging with macro variables
We created a ODBC Datasource and we log to it using a SQL Query like: begin NewHostmonitorEntry ('%DateTime%','%TestName%', '%Status%', '%Reply_CStyle%','%TestMethod%','%LastTestTime%','%StatusID%','%SimpleStatus%','%Agent%','%AckComment%','%LastStatus%','%PreviousStatus%','%TaskComment%','%TestID%'...