Hi,
I'm using a Shell script (VBScript) to read information out of a log file.
The script uses the "Scripting.FileSystemObject" with "OpenTextFile".
The script works fine, it reads out the data I need.
The thing now is, that when HM performs the shell script (using the RMA2.0), it returns an error: "RMA: Cannot read data"
When I refresh the test, the value is returned as expected.
When I select 2 or more tests and refresh them simultaniously, I get the error msg again.
Any idea what this can be ?
HM : 4.70 on W2K3
RMA: v2.0 on W2000 & W2K3
I can post/email the script if you like...
Pieter
"RMA: Cannot read data" error with Shellscript
- plambrecht
- Posts: 151
- Joined: Wed May 19, 2004 8:11 am
- Location: Belgium
- Contact:
Looks like timeout issue. What timeout specified for the agent (on HostMonitor's side)? Use "Agent Connection Parameters" dialog to check this setting.The thing now is, that when HM performs the shell script (using the RMA2.0), it returns an error: "RMA: Cannot read data"
When I refresh the test, the value is returned as expected.
When I select 2 or more tests and refresh them simultaniously, I get the error msg again.
Regards
Alex
- plambrecht
- Posts: 151
- Joined: Wed May 19, 2004 8:11 am
- Location: Belgium
- Contact:
Right on... I checked the tiemout of my script; but didn't check the timeout of the RMA...KS-Soft wrote: Looks like timeout issue. What timeout specified for the agent (on HostMonitor's side)? Use "Agent Connection Parameters" dialog to check this setting
For some reason it was set to 2 secs, and not the default of 120...
Looks like it solved the issue...
thx alot.
Pieter