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

Multiple Users

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



Joined: 21 Jul 2003
Posts: 13

PostPosted: Tue Jun 22, 2004 8:10 pm    Post subject: Multiple Users Reply with quote

We run Host Monitor as a service. Multiple users often want to log in and through the GUI check status of tests or edit tests. The web interface does not offer as much functionality as we would like for editing or viewing tests as yet so this is not currently an option (I'm sure this would change, HM is a great tool). We would also like to avoid stopping and starting the service since if we open the GUI with the default install a monitor going bad would send duplicate alerts.

So the question is if I create a second copy of the .exe folder (I've tried this and it works) with the hostmon.ini variable set to Start=0 while pointing to the same .hml file that the service is using, is this a clean way to allow users to check tests and to update them (recognizing that the service would need to be restarted to pick up changes)? If not what suggestions would you have?
Back to top
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 12795
Location: USA

PostPosted: Wed Jun 23, 2004 8:49 am    Post subject: Reply with quote

Quote:
So the question is if I create a second copy of the .exe folder (I've tried this and it works) with the hostmon.ini variable set to Start=0 while pointing to the same .hml file that the service is using, is this a clean way to allow users to check tests and to update them (recognizing that the service would need to be restarted to pick up changes)? If not what suggestions would you have?


Its not good solution. If you start second instance of HostMonitor, make changes in HML file and then restart service, you will keep all settings but lose some statistical information.

Better solutions:

- if users log in locally or users access HostMonitor's system using tools like PC Anywere, they should see HostMonitor's icon in system tray (if service configured properly). Click on icon and make any changes you want.

- if users connects to remote system using MS Terminal Service, you should stop service, start HostMonitor in application mode and start service when changes saved.
You may create simple BAT file that will stop service, start HostMonitor in application mode and (after you change settings and terminate application) start service again.
Code:
net stop hostmonservice
"c:\program files\hostmon\hostmon.exe"
net start hostmonservice


Quote:
We would also like to avoid stopping and starting the service since if we open the GUI with the default install a monitor going bad would send duplicate alerts.


If you stop service before you start application and application is started under account with necessary rights (e.g. the same account you are using for the servcie), a monitor will not "goind bad" and will not send any alerts.

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



Joined: 02 Jul 2002
Posts: 112
Location: Arizona, USA

PostPosted: Sat Jun 26, 2004 12:39 pm    Post subject: Use Remote Desktop to Manage Hostmonitor Remotely (console) Reply with quote

Note: This only works if hostmonitor is running on Windows Server 2003

Another option (the one we currently use) is to use remote desktop and connect to the console (shadow the console session). This only allows one person to connect at a time but it does not cause any conflicts with hostmonitor. Just make sure each person IS connecting to the console and not just the standard way. Either use the Remote Desktops plug-in for the MMC and check the "connect to console" option or execute the following from the command line.

mstsc -v:servername /F -console

See the microsoft article below for more information.

http://support.microsoft.com/default.aspx?scid=kb;en-us;278845
Back to top
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 12795
Location: USA

PostPosted: Sun Jun 27, 2004 10:30 am    Post subject: Reply with quote

Cool. I think it should be added into FAQ section. No objections?

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