"RMA: Cannot read data" error with Shellscript

All questions related to installations, configurations and maintenance of Advanced Host Monitor (including additional tools such as RMA for Windows, RMA Manager, Web Servie, RCC).
Post Reply
User avatar
plambrecht
Posts: 151
Joined: Wed May 19, 2004 8:11 am
Location: Belgium
Contact:

"RMA: Cannot read data" error with Shellscript

Post by plambrecht »

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
KS-Soft
Posts: 12821
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

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
User avatar
plambrecht
Posts: 151
Joined: Wed May 19, 2004 8:11 am
Location: Belgium
Contact:

Post by plambrecht »

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
Post Reply