Run Live Demo

Unix

Supported Versions
OS Versions
RedHat Linux 9, AS 3.0, RHEL 3 +
SuSE Linux 8.2 +
Sun Solaris 8, 9, 10, 11
HP-UX 11, 11i
AIX 4.3.3, 5.1, 5.2, 5.3,6.1,7.1,7.2
Collection Methods SSH or rexec
Data Collected Unix Data CollectionsDownload PDF
Requirements
  • Username and password with permission to log in via either SSH or rexec.
  • Password authentication is attempted first. If password authentication fails, public-key authentication is attempted.
  • If there is a password expiration policy for Unix, it is recommended that the account used to monitor Unix either be exempted from that policy, or that the account use public-key authentication.
  • Instructions on configuring Longitude for public-key authentication can be found in Configuring public-key authentication for SSH based collections.
  • On Linux servers, the sysstat package should be installed to provide the OS commands used to collect data.
  • The account specified should have permission to run the following commands:
    Platform Commands
    AIX iostat, ps, df, vmstat, lsattr, lsps, netstat
    HP-UX iostat, ps, df, vmstat, swapinfo, netstat, “grep Physical /var/adm/syslog/syslog.log”
    Linux iostat, ps, df, sar, free, ip
    Solaris iostat, ps, df, sar, prtconf, vmstat, swap, netstat
Configuration
  1. Use Monitor Devices or see the Unix instructions for Device Discovery.
  2. Select Unix.
  3. If necessary, select a Longitude Remote Agent.
  4. If monitoring manually, enter the name of the Server in the Computers field.
  5. Enter a Username.
  6. Enter the Password for the Username, the passphrase for public key authentication, or blank for public key authentication without a passphrase.
  7. The SshPort is set to the SSH default port of 22. Change this if necessary.
  8. If public-key authentication is being used, select the SshPrivateKey configured for the specified account. If password authentication is used, this field will be ignored.
  9. Click on the Monitor button.
Troubleshooting
  • On some systems, the root account is blocked from making an SSH or rexec connection for security reasons. The commands Longitude runs to collect data do not require root access – please specify a user account for data collection.
  • AIX servers may require that Longitude server collecting data be in the local /etc/hosts file.
  • SuSE Linux may have password authentication disabled for SSH connections:
    1. Check /etc/ssd/sshd_config for the line: PasswordAuthentication no
    2. Change the line to PasswordAuthentication yes
    3. Restart sshd
  • If memory collections fail during registration for HP-UX:
    • Check that /usr/sbin/swapinfo can be executed by the account used for collections.
    • Check the output from head -n 100 /var/adm/syslog/syslog.log | grep Physical. If this does not contain the total memory on the server, contact Longitude support at [email protected] for additional options on collecting the total memory for HP-UX servers.
  • -1 is returned for collections:
    Some collections are not supported on all platforms, and will return a default value of -1. The following collections are not supported:

    Platform Collector Collection
    AIX Memory SWAP_OUT_RATE
    AIX Processor RUNNABLE_PROCESSES
    Linux Memory PAGE_SCAN_RATE
  •  

  • Linux MEM_FREE_PCT is higher than expected:
    Longitude’s value for MEM_FREE_PCT on Linux is calculated to include the amount of free memory in the cache. Longitude runs the free -k command and uses the memory listed on the -/+ buffers/cache: line. This line displays all the memory that is usable, regardless of whether or not if has been allocated. The top line of the free -k output displays allocated memory, some of which may be cached and still available for processes.

 


Top
Transactions VMware