How to Set up the UNIX Monitoring Environment

This task describes how to configure the UNIX environment before setting up the UNIX Resources monitor.

  1. Make sure that authentication by password is enabled on your server:

    1. Open /etc/ssh/sshd_config.

    2. Find the line that defines the password authentication property, and enable it.

      For example: PasswordAuthentication yes

      If this property is not defined, add it.

    3. Save the file and restart the sshd service.
  2. Verify that the following commands run on the UNIX machine without errors:

    /bin/cat /proc/stat| /bin/grep cpu | /usr/bin/head -n 1

    /bin/cat /proc/stat | /bin/grep btime

    /bin/cat /proc/uptime

    /bin/cat /proc/stat | /bin/grep ctxt

    /bin/cat /proc/vmstat | /bin/grep pgpgin -A 3

    /bin/cat /proc/loadavg

    /bin/cat /proc/net/dev | /usr/bin/head -n3 | /usr/bin/tail -n1

    /bin/cat /proc/stat | /bin/grep intr | /usr/bin/awk '{print $2}'

    /bin/cat /proc/meminfo | /bin/grep MemTotal -A 2

  3. Configure the monitor measurements in Controller

    For task details, see Set up a monitoring environment.

    In the Resource Measurements on <machine> section of the UNIX Resources dialog box, click Add to open the UNIX Kernel Statistics dialog box, and then select the available measurements and server properties.

    For a description of the available UNIX monitor measurements, see UNIX resources performance counters.

    Note: In the UNIX Kernel Statistics dialog box, selecting the Recover Connection check box enables Controller to try to recover a broken connection to a monitored UNIX server. If the Recover Connection check box is not selected, a broken connection will be maintained until the end of the Controller session, and as a result server details will not be received from the monitored server. By default, the Recover Connection check box is selected.

Back to top