Hi
from some days HM didn't execute external programs in an alert profile.
This alert profile worked fine for about 1 year...but now when a test status is bad the external program will not be executed.
how can i solve this issue?
thanks for your support
hostmonitor did not execute external programs in alert prof.
-
- Posts: 2832
- Joined: Tue May 16, 2006 4:41 am
- Contact:
Could you provide more information, please?
- What version of HostMonitor do you use?
- What Windows do you use? Service Pack?
- Are you sure alert profile is configured properly?
- Do you see any error messages in System Log (file is specified in menu "Options" -> "System Log"). You may access the System Log using menu "View" - > "System Log". HostMontor writes information about performed actions if "Record info about successful actions" and "Record info about failed actions" options are enabled in "Options" -> "System Log" tab.
- What kind of program HostMonitor should perform?
- Probably, the external program is located on some network drive and hostmonitor does not have necessary permissions?
Regards,
Max
- What version of HostMonitor do you use?
- What Windows do you use? Service Pack?
- Are you sure alert profile is configured properly?
- Do you see any error messages in System Log (file is specified in menu "Options" -> "System Log"). You may access the System Log using menu "View" - > "System Log". HostMontor writes information about performed actions if "Record info about successful actions" and "Record info about failed actions" options are enabled in "Options" -> "System Log" tab.
- What kind of program HostMonitor should perform?
- Probably, the external program is located on some network drive and hostmonitor does not have necessary permissions?
Regards,
Max
SureKS-Soft Europe wrote:Could you provide more information, please?
6.80- What version of HostMonitor do you use?
Win VISTA Business Edition- What Windows do you use? Service Pack?
i think that it's configured properly...it has worked fine up to the 6 of november.- Are you sure alert profile is configured properly?
no...i can't see any arror in my syslog. the system log is configured to log only failed actions- Do you see any error messages in System Log (file is specified in menu "Options" -> "System Log"). You may access the System Log using menu "View" - > "System Log". HostMontor writes information about performed actions if "Record info about successful actions" and "Record info about failed actions" options are enabled in "Options" -> "System Log" tab.
a simple .exe. We use them to understand the destinatary of SMS and to send it using our GSM modem.- What kind of program HostMonitor should perform?
this is the command line
Code: Select all
"C:\Program Files\HostMonitor6\esterni\sendsms.exe" %TestName% %Reply%
as you can se it's located in the same directory of hostmonitor.- Probably, the external program is located on some network drive and hostmonitor does not have necessary permissions?
The user running HM have the right permission to execute the program (it's a Domain admins

Thanks for your support,Regards,
Max
Salvatore
-
- Posts: 2832
- Joined: Tue May 16, 2006 4:41 am
- Contact:
Could you enable "Record info about successful actions" option? Just for testing?sine wrote:no...i can't see any arror in my syslog. the system log is configured to log only failed actions
Could you wrap this command into .bat file with extended logging functions? Like the following:sine wrote:C:\Program Files\HostMonitor6\esterni\sendsms.exe" %TestName% %Reply%
Code: Select all
echo C:\Program Files\HostMonitor6\esterni\sendsms.exe" %1 %2 > C:\Temp\hm_program.log
C:\Program Files\HostMonitor6\esterni\sendsms.exe" %1 %2 >> C:\Temp\hm_program.log
Code: Select all
C:\Temp\sms_script.bat %TestName% %Reply%
Regards,
Max
-
- Posts: 2832
- Joined: Tue May 16, 2006 4:41 am
- Contact:
Hm. So, do you see a log record in system log about this action?sine wrote:i have tryed with batch but nothing change (the C:\Temp\hm_program.log isn't created)
Also please ensure alerts are enabled. You may enable alerts using menu "Monitoring" -> "Enable alerts" or by pressing "Enable alerts" button on the toolbar.
If monitoring is started, actions are enabled, "Record info about successful actions" and "Record info about failed actions" are enabled and you still cannot find any messages in the system log you should check properties of the action: http://www.ks-soft.net/hostmon.eng/mfra ... properties
Regards,
Max
Max...thanks a lotKS-Soft Europe wrote:Hm. So, do you see a log record in system log about this action?sine wrote:i have tryed with batch but nothing change (the C:\Temp\hm_program.log isn't created)
Also please ensure alerts are enabled. You may enable alerts using menu "Monitoring" -> "Enable alerts" or by pressing "Enable alerts" button on the toolbar.
If monitoring is started, actions are enabled, "Record info about successful actions" and "Record info about failed actions" are enabled and you still cannot find any messages in the system log you should check properties of the action: http://www.ks-soft.net/hostmon.eng/mfra ... properties
Regards,
Max
Now i'm sure: some one of my collegue are very stupid: the alerts are disabled.
I'm very very sorry.
Bye
If several persons have access to HostMonitor, you may delegate different set of rights for each operator. E.g. you may provide "start/stop monitoring" permission to single person.
http://www.ks-soft.net/hostmon.eng/mfra ... #operators
Regards
Alex
http://www.ks-soft.net/hostmon.eng/mfra ... #operators
Regards
Alex