SNMP AIX 6.1-1

Description

Monitors several statistics for AIX servers.

Profile Package

This package includes the following files:

  • Profile definition: service_profile_snmp_aix.xml

  • WMI script (installed on the WMI Proxy server): check_snmp, check_snmp_load.pl , check_snmp_storage.pl

Installation

GroundWork Monitor includes many monitoring profiles for a variety of devices, systems and applications. Some profiles are pre-imported on a new GroundWork installation and others are distributed with the product. The configuration tool is used to import updated profiles and profiles that require additional setup, services can also be imported, see Importing Profiles.

Services Configuration

For plugin details you can run the service help command from within the nagios container. For example: Get to the nagios container from the gw8 directory: docker-compose exec -u 1000 nagios bash, then to the libexec directory: cd /usr/local/nagios/libexec, and enter a service help command e.g., ./check_snmp --help to receive help content.

Service/Command Line/Plugin CommandCommand Parameters

This column lists the Service Definition name, Service Command name with arguments to be passed to the plugin, and the Plugin Command line which is the plugin script called by Nagios for the service.

Command parameters are in the configuration services section with the following names and default values.

  • snmp_alive

  • check_snmp_alive

  • $USER1$/check_snmp -H $HOSTADDRESS$ -o .1.3.6.1.2.1.1.5.0 -l "sysName is " -C '$USER7$'

Check for uptime at $HOSTADDRESS$. This check is used as a service dependency for the rest of the checks.

  • snmp_aix_disk_home

  • check_snmp_unix_disk!'/dev/hd1$'!80!90!pu

  • $USER1$/check_snmp_storage.pl -H $HOSTADDRESS$ -C $USER7$ -m $ARG1$ -w $ARG2$ -c $ARG3$ -T $ARG4$

The percentage of disk utilization used on /home

  • $ARG1$: Mount point. This is a regular expression; HINT: use the $ to terminate the string, allows search for '/'

  • $ARG2$: Warning threshold

  • $ARG3$: Critical threshold

  • $USER7$:  SNMP Community string

  • snmp_aix_disk_root

  • check_snmp_unix_disk!'/dev/hd4$'!80!90!pu

  • $USER1$/check_snmp -H $HOSTADDRESS$ -o "$ARG1$" -r "$ARG2$" -l "$ARG3$" -C '$USER7$'

The percentage of disk utilization used on / (root)

  •  $ARG1$: Mount point

  •  $ARG2$ - Warning threshold

  •  $ARG3$ - Critical threshold

  •  $USER7$: SNMP Community string

  • snmp_aix_disk_var

  • check_snmp_unix_disk!'/dev/hd9var$'!80!90!pu

  • $USER1$/check_snmp -H $HOSTADDRESS$ -o "$ARG1$" -w "$ARG2$" -c "$ARG3$" -C '$USER7$'

The percentage of disk utilization used on /var

  •  $ARG1$: Mount point

  •  $ARG2$: Warning threshold

  •  $ARG3$: Critical threshold

  •  $USER7$: SNMP Community string

  • snmp_aix_load

  • check_snmp_unix_load!90!100!stand

  • $USER1$/check_snmp_load.pl -H $HOSTADDRESS$ -C $USER7$ -w $ARG1$ -c $ARG2$ -T $ARG3$

The CPU load numbers

  •  $ARG1$: Warning threshold

  •  $ARG2$: Critical threshold

  •  $ARG3$: The type of CPU load (see plugin help for details). Default value is ’r;stand’ (standard MIB2)

  •  $USER7$: SNMP Community string

  • snmp_aix_procs

  • check_snmp_unix!HOST-RESOURCES-MIB::hrSystemProcesses.0!Processes!800!1000

  • $USER1$/check_snmp -H $HOSTADDRESS$ -o "$ARG1$" -u "$ARG2$" -C '$USER7$' -w $ARG3$ -c $ARG4$

The number of running processes

  •  $ARG1$: The Object Identifier (OID) to query

  •  $ARG2$: Units to use when displaying data

  •  $ARG3$: Warning threshold

  •  $ARG4$: Critical threshold

  •  $USER7$: SNMP Community string

  • snmp_aix_if_1

  • check_snmp_if!1

  • $USER1$/check_snmp -H $HOSTADDRESS$ -C '$USER7$' -o "IF-MIB::ifInOctets.$ARG1$,IF-MIB::ifOutOctets.$ARG1$ ,IF-MIB::ifInDiscards.$ARG1$,IF-MIB::ifOutDiscards.$ARG1$,IF-MIB::ifInErrors.$ARG1$,IF-MIB::ifOutErrors.$ARG1$"

The total number of in/out octets, in/out discarded packets, and in/out errors recorded on this interface

  •  $ARG1$: Interface to query

  • snmp_uptime

  • check_snmp_uptime!1800:!900

  • $USER1$/check_snmp -H $HOSTADDRESS$ -o .1.3.6.1.2.1.1.3.0 -l "sysUptime is " -C '$USER7$' -w $ARG1$ -c $ARG2$

Check for uptime as a dependency for SNMP access.

  • $USER7$: SNMP Community string

  • $ARG1$: Warning threshold

  • $ARG2$: Critical threshold

Related Resources