System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

how to start/stop BMC patrol agents in linux ?

AA786
Frequent Advisor

how to start/stop BMC patrol agents in linux ?

how to start/stop BMC patrol agents in linux ?
1 REPLY
Matti_Kurkela
Honored Contributor

Re: how to start/stop BMC patrol agents in linux ?

The short answer would be: it depends on your installation.

In our company, the monitoring guys have pre-built installation packages for each OS we support. They contain some customizations that are specific to our environment. All of them have a common PatrolAgent.rc script: our procedure is to copy it to /etc/init.d (or /sbin/init.d in HP-UX, or /etc/rc.d/init.d in ancient RedHats...) and create the proper symlinks in the /etc/rc?.d directories, so that the script will start the agent automatically at the end of system startup and stop it at the very beginning of system shutdown.

Thus, in our environment, if it's necessary to start the Patrol agent manually, the command would be:
sh /etc/init.d/PatrolAgent.rc start

And to stop it:
sh /etc/init.d/PatrolAgent.rc stop

MK
MK