KS-Soft. Network Management Solutions
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister    ProfileProfile    Log inLog in 

"RMA: Cannot read data" error with Shellscript

 
Post new topic   Reply to topic    KS-Soft Forum Index -> Configuration, Maintenance, Troubleshooting
View previous topic :: View next topic  
Author Message
plambrecht



Joined: 19 May 2004
Posts: 151
Location: Belgium

PostPosted: Wed Oct 13, 2004 8:23 am    Post subject: "RMA: Cannot read data" error with Shellscript Reply with quote

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
View user's profile Send private message Visit poster's website
KS-Soft



Joined: 03 Apr 2002
Posts: 12795
Location: USA

PostPosted: Wed Oct 13, 2004 11:29 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
plambrecht



Joined: 19 May 2004
Posts: 151
Location: Belgium

PostPosted: Thu Oct 14, 2004 4:57 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    KS-Soft Forum Index -> Configuration, Maintenance, Troubleshooting All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
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

KS-Soft Forum Index