References > Template Reference > Unix > Unix Disk Monitoring Perl

Unix Disk Monitoring Perl

This 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 installed on the target server.

If Perl is installed in a location different from /usr/bin/perl, you should correct all components in the first line of the field ”script body” (#!/usr/bin/perl), or you can create a symbolic link to Perl (refer to the documentation for the ln command).

You can find where Perl is installed by using 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.

Monitored Components

For details on monitors, see SAM Component Monitor Types.

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.

Available space on root (/) partition (MB)

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

You should set this threshold according to your Unix installation and your requirements. In the worst case, it should be more than 512 MB.

Used space on root (/) partition (%)

This shows 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