Service Question
Service Question
I run HM as a service. However, it appears if I am not logged in no alarms are sent and the alarms that run external programs do not work. Did I do something wrong?
Probably service cannot perform tests due to lack of rights.
Have you specified admins account on Service page in the Options dialog (HostMonitor's Options dialog)?
Please check status of the tests by clicking on HostMonitor's icon that is visible in system tray.
BTW: You are running service on local system? Or you are using Terminal Server to access remote system?
Regards
Alex
Have you specified admins account on Service page in the Options dialog (HostMonitor's Options dialog)?
Please check status of the tests by clicking on HostMonitor's icon that is visible in system tray.
BTW: You are running service on local system? Or you are using Terminal Server to access remote system?
Regards
Alex
It means you are not working with HostMonitor's service because service cannot display anything on remote desktops. Every time you log in to that system, you start another instance of HostMonitor in application mode. Right?I am remote desktop in to that server
In a turn it means - if you have made some changes (added new tests, configured action profiles, etc) but you did not restart service, service doesn't know anythink about these modifications.
1) Please read following article: http://www.ks-soft.net/cgi-bin/phpBB/vi ... php?t=1100
2) Provide admins account on Service page in HostMonitor's Options dialog.
3) If alerts still don't work, check the logs and reports to see what is going on.
If you can log in to that system localy or you can use some 3rd party applications (like PCAnywhere) instead of Terminal Service, you may easily avoid these problems and work with service directly.
Regards
Alex
KS-Soft wrote:I am remote desktop in to that server
If you can log in to that system localy or you can use some 3rd party applications (like PCAnywhere) instead of Terminal Service, you may easily avoid these problems and work with service directly.
Regards
Alex
We use VNC here. It's free and does just what you are talking about.
I am using it right now, actually. Another option is to make a batch script to bring down the service, boot up HostMonitor, and then bring the service back up after you close the program. When I have no other option but to use remote desktop connection we use that. This way you can edit and configure things with out worrying about multiple copies of HM running and getting in the way of each other.
It's a simple 3 line batch script, you can make a shortcut to it right on the desktop:
Code: Select all
net stop hostmonservice
"C:\Program Files\HostMonitor4\hostmon.exe"
net start hostmonservice
Hi :
I tried to enter the 3 commands specified in the above post in a batch file and I put that in the Startup of Windows. When the batch file is executed the following happens :
1. net stop hostmonservice -- Service stops
2. "C:\Program Files\HostMonitor6\hostmon.exe" -- after this the application starts and the command file is just hanging
3. net start hostmonservice -- never runs.
Also, what I am noticing is that now and then the application stops and does not do any monitoring and once I login to the server the application starts by itself. I am using Remote Desktop to connect to the server. Please help me resolve this.
Thanks.
I tried to enter the 3 commands specified in the above post in a batch file and I put that in the Startup of Windows. When the batch file is executed the following happens :
1. net stop hostmonservice -- Service stops
2. "C:\Program Files\HostMonitor6\hostmon.exe" -- after this the application starts and the command file is just hanging
3. net start hostmonservice -- never runs.
Also, what I am noticing is that now and then the application stops and does not do any monitoring and once I login to the server the application starts by itself. I am using Remote Desktop to connect to the server. Please help me resolve this.
Thanks.
Of course. Service will be started when you close application.1. net stop hostmonservice -- Service stops
2. "C:\Program Files\HostMonitor6\hostmon.exe" -- after this the application starts and the command file is just hanging
3. net start hostmonservice -- never runs.
Remote Desktop leads to problems. Use RCCI am using Remote Desktop to connect to the server. Please help me resolve this.
http://www.ks-soft.net/hostmon.eng/rcc/index.htm
Regards
Alex
-
- Posts: 2832
- Joined: Tue May 16, 2006 4:41 am
- Contact:
You have to execute such script manually only when you are already conneted to remote server through Remote Desktop. As LordJezo wrote above, you can make a shortcut and place it right on the desktop.
After you will have made necessary changes, you MUST close HostMonitor application. Service will be started after you close application.
So, you should perform following steps:
1. Connect to remote server using Remote Desktop
2. Execute foregoing script (manually).
3. Ensure the HM service is stopped
4. Make necessary changes using HM application.
5. Close application. (Important!!!)
6. Ensure the HM service is started.
7. Disconnect from remote server.
Anyway, using Remote Desktop may lead to problems. We recommend you to use RCC instead: http://www.ks-soft.net/hostmon.eng/rcc/index.htm
RCC provides more convenient and reliable way to manage HostMonitor on remote system than using terminal services.
Regards,
Max
After you will have made necessary changes, you MUST close HostMonitor application. Service will be started after you close application.
So, you should perform following steps:
1. Connect to remote server using Remote Desktop
2. Execute foregoing script (manually).
3. Ensure the HM service is stopped
4. Make necessary changes using HM application.
5. Close application. (Important!!!)
6. Ensure the HM service is started.
7. Disconnect from remote server.
Anyway, using Remote Desktop may lead to problems. We recommend you to use RCC instead: http://www.ks-soft.net/hostmon.eng/rcc/index.htm
RCC provides more convenient and reliable way to manage HostMonitor on remote system than using terminal services.
Regards,
Max
-
- Posts: 2832
- Joined: Tue May 16, 2006 4:41 am
- Contact:
You shoud setup properly user accout.vidyagana wrote:Authentication... Failed. HostMonitor response: Authorization failed. Unacceptable IP address
http://www.ks-soft.net/hostmon.eng/mfra ... #operators
Please, specify a list of IP addresses (address where RCC is running)authorized for remote connections for each of the accounts into the "Accept remote connection from" listbox.
Regards,
Max
-
- Posts: 2832
- Joined: Tue May 16, 2006 4:41 am
- Contact:
Please check your settings again.I created a new user "hostmonop" and accept remote connections from "10.35.103.1" which is my local machine and I opened RCC from my machine and specified the username hostmonop and password and clicked on connect when I got the error.
Or may be there is some firewall between RCC and HostMonitor that translates IP addresses? Or may be you started application, made changes and closed application while service still works and don't know about the changes?
Do you understand what this simple BAT file is doing? It stops service, starts application and then starts service again after you close application.So these 3 steps should be followed any time someone connects to the server through Remote Desktop or whenever the server is restarted ? Please let me know.
When do you need that script? Anytime you want to stop service and start application.
Why do you want to start application? It was necessary long time ago when RCC did not exist. When you are using Remote Desktop you cannot work with interactive services directly because services cannot display information on remote desktop. In such case you need to start HostMonitor in application mode.
Now you may use RCC and work with HostMonitor without any 3rd party software
Regards
Alex