SNMP AIX Server Profile
This profile monitors several statistics for AIX servers.
Services Configuration
- Service - Definitions in Monarch are stored under this name.
- Command Line - Service command name with arguments to be passed to the plugin.
- Plugin Command Line - Plugin script called by Nagios for this Service.
Command lines displayed below are intended to be single line commands. Service Command Line Plugin Command Line 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$' 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$ 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$' 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$' 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$ 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$ 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$" 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$ tcp_ssh check_ssh $USER1$/check_ssh -H $HOSTADDRESS$ -t 60
Profile Package
This package includes the following files:
Profile Definitions
- service-profile-snmp-aix.xml
- perfconfig-snmp-aix.xml
Plugins Scripts on the GroundWork Server
- check_snmp
- check_snmp_storage.pl
- check_snmp_load.pl
Installation
GroundWork Monitor includes many monitoring profiles for a variety of devices, systems and applications. Profiles already imported on a new GroundWork installation include Service Ping, SNMP Network, and SSH UNIX. The GroundWork Monitor Configuration tool is used to import updated Profiles and Profiles that require additional setup; the Profile XML file and its companion Performance Configuration definition file. Services can also be imported in addition to Service Profiles in the Profile Importer. The import process is documented under GROUNDWORK PROFILES > How to import profiles.
Implementation
This section contains detail settings used by this Profile. These parameters can be altered with the Configuration tool.
Command Parameters
Command parameters are in the Configuration Services section with the following names and default values.
snmp_aix_disk_home
- 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
- 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
- The percentage of disk utilization used on /var.
- $ARG1$ - Mount point.
- $ARG2$ - Warning threshold.
- $ARG3$ - Critical threshold.
- $USER7$ - SNMP Community string.
snmp_aix_load
- 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
- 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
- The total number of in/out octets, in/out discarded packets, and in/out errors recorded on this interface.
- $ARG1$ - Interface to query
snmp_alive
- Check for uptime at $HOSTADDRESS$. This is a dependency check.
Performance Graphing Parameters
The following parameters are used to generate performance charts. These parameters are set using the Configuration>Performance tool in GroundWork Monitor.
snmp_aix_disk_
- Graphs the percentage of disk space used.
- The Nagios service description must contain the string snmp_aix_disk_.
snmp_aix_load
- Graphs the average load value.
- The Nagios service description must contain the string snmp_aix_load.
snmp_aix_procs
- Graphs the number of system processes running
- The Nagios service description must contain the string snmp_aix_procs.
snmp_aix_if_1
- Graphs the traffic, errors, and discard rate for input and output on the network interface (index value 1, 2, 3 etc)
- The Nagios service description must contain the string snmp_aix_if_.
Implementation Notes
None.