Documentation forServer & Application Monitor

Unix Disk Monitoring Perl

This SAM application monitor template uses Perl scripts to assess the disk performance of computers running AIX 5.3 or 6.1; Solaris 8, 9, or 10; or HP-UX 11.0.

Prerequisites

SSH and Perl are installed on the target server.

If Perl is installed in a location different from /usr/bin/perl, edit paths in the first line of the field ”script body” (#!/usr/bin/perl) for component monitors, or create a symbolic link to Perl with ln command.

To determine where Perl is installed, use the following command: which perl

Credentials

Root credentials on the target server.

Some Unix implementations such as Solaris have a character limit in the input buffers of SSH sessions that prevents SolarWinds SAM from copying over scripts. If a monitored component fails to return a result or returns error code 255, manually copy the script to the target machine and then make the appropriate path and file name change in the Command Line field. For example, if you manually copied the script over as /usr/script.pl, you should change the Command Line to: perl/usr/script.pl.

Component monitors

Components without predetermined threshold values have guidance such as "Use the lowest threshold possible" or "use the highest threshold possible" to help you find a threshold appropriate for your application. To learn more, see Manage thresholds in SAM.

Available space on root (/) partition (MB)

The available space on the root (/) partition in MB.

Set this threshold according to your Unix installation and requirements. At a minimum, it should be more than 512 MB.

Used space on root (/) partition (%)

The used space on the root (/) partition in percentage.

Should be less than 95%.

Percent busiest device is in use

The percent of time the busiest device was busy servicing a transfer request. The name of the busiest device can be seen in the message field.

The next command allow you to see all devices currently connected to machine:

  • For AIX: lscfg
  • For Solaris: cat /etc/mnttab
  • For HP-UX: ioscan

If no devices are currently active, the statistic is 0.

Use the lowest threshold possible.

This counter doesn’t work on Solaris 8.

Disk operations/sec of busiest device

The number of read/write transfers to and from the busiest device. The name of the busiest device can be seen in the message field.

The next command allow you to see all devices currently connected to machine:

  • For AIX: lscfg
  • For Solaris: cat /etc/mnttab
  • For HP-UX: ioscan

If no devices are currently active, the statistic is 0.

Use the lowest threshold possible.

This counter doesn’t work on Solaris 8