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

action problem

 
Post new topic   Reply to topic    KS-Soft Forum Index -> Other
View previous topic :: View next topic  
Author Message
canish



Joined: 30 May 2007
Posts: 17
Location: TURKEY

PostPosted: Wed Jun 13, 2007 7:10 am    Post subject: action problem Reply with quote

hi all,
My problem is:
i added "execute external command" to one of my test's action profile but it does not work. i simply add "mkdir aa" to execution field on localhost and this command is executed by hostmonitor that i choose from combo box also is did not work.

My main problem is i could not execute a command from command prompt by an agent that i enabled "execute external command" box at my agent configuration manager. Also i can not make a directory by sameway at localhost.
Back to top
View user's profile Send private message
KS-Soft Europe



Joined: 16 May 2006
Posts: 2832

PostPosted: Wed Jun 13, 2007 8:55 am    Post subject: Reply with quote

1. Please ensure you have specified proper condition to start action in "Action Properties" window. http://www.ks-soft.net/hostmon.eng/mframe.htm#actions.htm#standardaction
2. HostMonitor can store information about "successful" or "failed" action into system log (file is specified in "Options" -> "System Log" tab). Do you see any records regarding "Execute external program" action in system log? You have to enable "Record info about successful actions" and "Record info about failed actions" options in "Options" -> "System Log" tab to make HostMontor records such information
3. To perform an action by the agent, you have to select appropriate agent from the "Execute by" dropdown in "Action properties" window of "Execute external program" action. Quote from the manual:
http://www.ks-soft.net/hostmon.eng/mframe.htm#actions.htm
===========================
Execute by
Actions can be performed by HostMonitor or by Remote Monitoring Agent (RMA). "Execute by" option allows you to specify how and where action should be performed. You may select from the list one of the items:

* Test Performer - action will be executed by the same application that had performed the test (test that triggered alert reaction).
What this means? As you know test can be performed by HostMonitor or RMA. It is a usual situation when some tests performed by HostMonitor, while other tests performed by various agents. Single action profile is assigned to many different tests is usual as well. If some test fails and triggers alert reaction, action with "Test Performer" option specified will be executed by the same module (HostMonitor or RMA) that was specified for test execution. So, if HostMonitor performed the test, alert action will be executed by HostMonitor as well. If agent performed the test, action will be executed by the same agent.

* HostMonitor - action will be executed by HostMonitor

* Specific RMA - action will be executed by specific agent. You may select an agent from drop down list or click on a button (to the right of the field) to manage agent list.
===========================

Regards,
Max
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    KS-Soft Forum Index -> Other 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