how to start/stop BMC patrol agents in linux ? (2166 Views)
Reply
Frequent Advisor
AA786
Posts: 59
Registered: ‎02-21-2007
Message 1 of 2 (2,166 Views)

how to start/stop BMC patrol agents in linux ?

how to start/stop BMC patrol agents in linux ?
Honored Contributor
Matti_Kurkela
Posts: 6,271
Registered: ‎12-02-2001
Message 2 of 2 (2,166 Views)

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
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.