SNMP HPUX Server Profile

This profile monitors several statistics for HPUX (HP UNIX system) servers via SNMP.

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 . -l "sysName is " -C '$USER7$'
    snmp_hpux_load check_snmp_unix_load!90,92,95!100,100,100!hpux $USER1$/ -H $HOSTADDRESS$ -C $USER7$ -w $ARG1$ -c $ARG2$ -T $ARG3$
    snmp_hpux_mem_8GB check_snmp_unix!,1.3.!Free,Total!100000:8000000,
    $USER1$/check_snmp -H $HOSTADDRESS$ -o "$ARG1$" -u "$ARG2$" -C '$USER7$' -w $ARG3$ -c $ARG4$
    snmp_hpux_procs check_snmp_unix!!
    $USER1$/check_snmp -H $HOSTADDRESS$ -o "$ARG1$" -u "$ARG2$" -C '$USER7$' -w $ARG3$ -c $ARG4$
    snmp_hpux_disk_root check_snmp_unix_disk!'/$'!80!90!pu $USER1$/ 
    -H $HOSTADDRESS$ -C $USER7$ -m $ARG1$ -w $ARG2$ -c $ARG3$ -T $ARG4$
    snmp_hpux_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 check_snmp_alive $USER1$/check_snmp -H $HOSTADDRESS$ -o . -l "Uptime is " -C '$USER7$'
    snmp_uptime check_snmp_uptime!1800:!900: $USER1$/check_snmp -H $HOSTADDRESS$ -o . -l "sysUptime is " -C '$USER7$' -w $ARG1$ -c $ARG2$
Profile Package

This package includes the following files:

Profile Definitions

  • service-profile-snmp-hpux.xml
  • perfconfig-snmp-hpux.xml

Plugins Scripts on the GroundWork Server

  • check_snmp

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.


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.


  • The CPU load numbers.
  • $ARG1$ - Warning thresholds for 1, 5 and 15 minute averages  (triplet)
  • $ARG2$ - Critical thresholds for 1, 5, and 15 minute averages (triplet)
  • $ARG3$ - The type of CPU load (see plugin help for details). Value is ’r;hpux’
  • $USER7$ - SNMP Community string.


  • The free and total memory on the system (measure is by Bytes)
  • $ARG1$ - The Object Identifiers (OID) to query. By default print the available (free) and total physical memory.
  • $ARG2$ - Labels to display in the status line (”r;free”, ”r;total”)
  • $ARG3$ - Warning thresholds, paired for Free and Total.  Range, compare, less than, greater than syntax
  • $ARG4$ - Critical thresholds, paired for Free and Total
  • $USER7$ - SNMP Community string.


  • The number of running processes.
  • $ARG1$ - The Object Identifier (OID) to query
  • $ARG2$ - Units to display after the number.
  • $ARG3$ - Warning threshold.
  • $ARG4$ - Critical threshold.
  • $USER7$ - SNMP Community string.


  • The percentage of the disk used
  • $ARG1$ - Regular Expression reflecting the name of the (Storage) Disk Resource
  • $ARG2$ - Warning threshold
  • $ARG3$ -. Critical threshold.
  • $ARG4$ -  Identifier for type of return (pu percent used, pf percent free, bu Bytes used, bf Bytes free)
  • $USER7$ - SNMP Community string.


  • The total number of in/out octets, in/out discarded packets, and in/out errors recorded on this interface.
  • $ARG1$ - Interface to query


  • Check for uptime as a dependency for snmp accesses.
Performance Graphing Parameters

The following parameters are used to generate performance charts. These parameters are set using the Configuration>Performance tool in GroundWork Monitor.


  • Graphs the percentage of disk space used.
  • The Nagios service description must contain the string snmp_hpux_disk_.


  • Graphs the average load values.
  • The Nagios service description must contain the string snmp_hpux_load.


  • Graphs the amount of memory free.
  • The Nagios service description must contain the string snmp_hpux_mem.


  • 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_hpux_if_.


  • Graphs the number of system processes running
  • The Nagios service description must contain the string snmp_hpux_procs
Implementation Notes


Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.