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

Shell Script working in RCC, works fine in Hostmonitor

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



Joined: 24 Sep 2009
Posts: 58

PostPosted: Mon Oct 20, 2014 8:45 am    Post subject: Shell Script working in RCC, works fine in Hostmonitor Reply with quote

Hello,

We're using Hostmonitor 9.82. I have a Shell Script running with the start cmd as follows:

cmd /c C:\Python27\python.exe %Script% %Params%

The executable refers to the executable location on the Hostmonitor. The agent is set to Test by: Hostmonitor.

If I run Hostmonitor in Application Mode, the test runs fine and I get results. If I stop Application Mode and start the service, then connect in with RCC from another computer and refresh the test, I get ERROR: Script returns no results.

Can anyone offer any insight to what is happening and how to fix it?
Back to top
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 12791
Location: USA

PostPosted: Mon Oct 20, 2014 10:09 am    Post subject: Reply with quote

Probably permissions related issue...
What account have you specified for HostMonitor service?
Windows? Service Pack?
UAC enabled?

Regards
Alex
Back to top
View user's profile Send private message Visit poster's website
Gavin



Joined: 24 Sep 2009
Posts: 58

PostPosted: Tue Oct 21, 2014 1:45 am    Post subject: Reply with quote

Disabling UAC sorted this (though not exactly sure why) the Hostmonitor service was running as Local System? On 2008 R2 Standard
Back to top
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 12791
Location: USA

PostPosted: Tue Oct 21, 2014 7:54 am    Post subject: Reply with quote

Local system account? Then HostMonitor unable to check remote systems.
Please use admin account or Built-in administrator account if UAC is enabled

Regards
Alex
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