Troubleshooting Tips > OpmanagerProbe as Linux service

OpmanagerProbe as Linux service

Tags:  

Query:

Can I run OpManagerProbe as Linux service so that it starts after server reboot.

Resolution:

Yes, you can run OpManagerProbe as a Unix Service.

Follow the steps mentioned below to install OpManagerProbe as a service on a linux box.

1. Copy the attached OpManagerProbe.txt file to /etc/init.d directory as OpManagerProbe
    mv /etc/init.d/OpManagerProbe.txt  /etc/init.d/OpManagerProbe

2. Edit the MDIR variable in this (OpManagerProbe) file which should point to the bin folder of OpManagerProbe Installation directory using the command                             "vi /etc/init.d/OpManagerProbe" . Typically, the default installation folder on a Linux box will be /opt/AdventNet/ME/probe. Hence the value for MDIR in the file you are editing should be MDIR=/opt/AdventNet/ME/probe/bin

3.Edit the line     " sh ShutDownOpManager.sh admin admin >>/var/log/OpManagerProbe.log 2>&1    " in OpManagerProbe file, so  that it will look like shown below
    " sh ShutDownOpManager.sh admin <yourAdminPassword> >>/var/log/OpManagerProbe.log 2>&1  ". Now save the file(OpManagerProbe).


4. Provide executable permissions for this script using
    chmod 755 /etc/init.d/OpManagerProbe

5. Use chkconfig command to add opmanager as a service
    chkconfig --add OpManagerProbe

For further details visit this forum post;
http://forums.adventnet.com/viewtopic.php?t=1181
and get back to us (mspsupport@opmanager.com)

OS:RH Linux 7.2 and above


Please click on link below to download OpManagerProbe.txt :
  
    OpManagerProbe.txt




 RSS of this page

rtttrrb