Linux Monitoring Agent - SUSE Quick Installation Guide

Automatic Deployment from Repository

The Linux Monitoring Agent may be installed from the command line and the following examples usezypper.

Add a repository reference, the repository can be added using addrepo or ar with the directory location of the repository  and package alias, rmmagent.

# zypper addrepo http://repos.*/rmmagent/distribution/rmmagent

# zypper ar http://repos.*/rmmagent/distribution/rmmagent

Add the repository key to the list of trusted keys, enter info or if for information on the repository, this will also prompt for the installation of the GPG key:

# zypper info rmmagent

# zypper if rmmagent

Install the Linux Monitoring Agent, once the repository reference is added to and the GPG key appended to the trusted keys list the Agent installation can begin using the install or in command

#zypper install rmmagent

#zypper in rmmagent

Manual deployment using RPM (Red Hat Package Management)

The Agent is available as an RPM file and as such it is possible to automatically install the package from the command line in both Red Hat and SUSE.

Enter rpm -Uhv and the location of the package for this distribution and architecture, for example its repository position:

# rpm -Uhv http://repos.*/rmmagent/distribution/architecture/rmmagent-*.rpm

This command initiates the download and installation of the Agent onto the target device:

Register the Linux Monitoring Agent with the Dashboard

Navigate to the Agent installation directory

# cd /usr/local/rmmagent

Apply the following command to register the Agent on the Dashboard.

# ./rmmagentd -i

When prompted input the login credentials (for example the Agent Key Username and password) then select the required Client and Site.

Please note it is normal to see one or more Access Deniederror messages while the Agent attempts to locate the correct territory system instance.

When complete you can Start Agent Now ?  to run the Agent as a daemon.

Register rmmagent as a service using chkconfig to ensure the Linux Monitoring Agent starts after a reboot

Please ensure the Linux Monitoring Agent is registered as a service to start automatically when the server enters runlevel 3. This can be achieved using chkconfig which updates system services runlevel information.

Use --add <servicename> to add the service then --list <servicename> to ensure this was successful.

# chkconfig --add rmmagent

# chkconfig --list rmmagent

Where not set to as a service the Linux Monitoring Agent must be manually started after a reboot.

Proxy

Where communication is through a proxy on the network, the pak.xml file  contained in /usr/local/rmmagent directory - must be edited before registration to take account of this. Amendments to the proxy settings may be applied post-registration in agentconfig.xml in the rmmagent directory.

Apply the ./rmmagentd -i command to register the Agent on the Dashboard.

After the Agent is registered against the Dashboard it will appear in the Server Monitoring section with a Linux icon clip0458

linux_dashboard

Please note as there is no management console for the Linux Monitoring Agent, any changes (change Agent settings add or edit Checks) are configured from the Dashboard.