|
View previous topic :: View next topic |
Author |
Message |
plambrecht
Joined: 19 May 2004 Posts: 151 Location: Belgium
|
Posted: Wed Oct 13, 2004 8:23 am Post subject: "RMA: Cannot read data" error with Shellscript |
|
|
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 |
|
Back to top |
|
|
KS-Soft
Joined: 03 Apr 2002 Posts: 12795 Location: USA
|
Posted: Wed Oct 13, 2004 11:29 am Post subject: |
|
|
Quote: | 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. |
Looks like timeout issue. What timeout specified for the agent (on HostMonitor's side)? Use "Agent Connection Parameters" dialog to check this setting.
Regards
Alex |
|
Back to top |
|
|
plambrecht
Joined: 19 May 2004 Posts: 151 Location: Belgium
|
Posted: Thu Oct 14, 2004 4:57 am Post subject: |
|
|
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 |
Right on... I checked the tiemout of my script; but didn't check the timeout of the RMA...
For some reason it was set to 2 secs, and not the default of 120...
Looks like it solved the issue...
thx alot.
Pieter |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|