How to restart an SNMP service regardless of status at a specific time or specific interval
There are an infinite number of programs you can have the trigger action "execute a program" use. However the default action for APMServiceControl.exe is to issue the restart.
This wouldn't really be done in APM. You could write a little batch script and then have a windows scheduled task run the batch job. eg
net stop "Remote Registry"net start "Remote Registry"
1. if you really don't care about the status dont check for it (cleans up the trigger)
2. In the trigger action under Time of day you can pick when you want it run
3. you can also pick Escalation.. (making it never reset) then you can have it restart every xxx min
4. on the restart component process .. if you keep the component in the alert you can just reference componet as it shows here..
for my last issue.. i had to create a group. that group contained the components i wanted to check.. (cant have more than one component being checked at one time) (ie cant say comp. A and comp. B and comp. C must all be down ..
T0 do this we put them all in one group (ABC group: checking for all component being down at one time)
if ABC group was down then i could issue the restart..
OK, I'm starting to get a little dizzy... let me state my original goal.
I need to be able to restart a specific SNMP process on a remote server every 4 hours and then verify that the service is running.
How, step-by-step would I do this, and what role could APM play in this scenario?
Thanks.
Scheduled Tasks doesn't give me the option of running the batch file every 4 hours.
I'm a bit dizzy myself. Just to be clear, do you want APM to monitor a process or a service? What do you mean by "a specific SNMP process"? Is this related to the SNMP service?
APM can monitor either the process or a service. APM would not normally go out and restart a service "just because". It does not have the ability to restart a process.
If you had a scheduled task to restart the service, APM would still monitor that service to see if it is up and let you know when it is down.
If you want to do a scheduled task in windows more than 1 time a day, you need to schedule more than one job.