SNMP monitor

The SNMP monitor verifies that an SNMP agent can respond to an information request in a timely manner.

ipMonitor measures the round-trip time by sending a request for a fixed piece of information (such as sysUpTime OID 1.3.6.1.2.1.1.3.0) to the target SNMP agent and waits for a valid response. The monitor test passes if the monitor receives a valid response within the required timeout period.

The SNMP monitor verifies that:

  • The target SNMP agent is running and is able to respond.
  • The response makes the complete round trip within a specific number of seconds.

Create an SNMP monitor

  1. Click Devices in the toolbar.
  2. Locate and click the targeted device you want to monitor.
  3. In the toolbar, click Add > Add New Monitor.

  4. In the Select Monitor menu, click SNMP.
  5. Under Identification, enter information about the monitor.

    1. Enter a name in the Monitor Name field using up to 64 characters. This name will appear in the monitor list, monitor status, log files, and your reports.

      You can change this name later, if necessary. ipMonitor does not use this field to internally identify this monitor.

    2. Select Enabled to enable the monitor.

      When enabled, the monitor tests the specified resource using the settings you enter under Test Parameters. You can disable the monitor later if required.

    3. Select Store Monitor Statistics for Recent Activity and Historical Reports to enable this functionality.
  6. Under Test Parameters, enter the monitor testing parameters.

    1. Enter the IP address or domain name of the server you want to monitor.
    2. Enter the UDP port number that the targeted resource responds on. The default is UDP port 161.
    3. Enter the object identifier (OID) that identifies the path to the value that ipMonitor retrieves for analysis.

      ipMonitor sends a standard Get Protocol Data Unit (SNMP GET command) that asks the SNMP agent to send back the value for this particular MIB instance or unique OID setting. The OID is hard coded to retrieve the 1.3.6.1.2.1.1.3.0 (sysUpTime) OID, which represents the time since the network management portion of the target machine was last re-initialized.

    4. Click the SNMP Version drop-down menu and select the version used by the targeted device.

      Both ipMonitor and the target device must use the same version.

    5. Enter a community string.

      The SNMP Community string acts like a password for SNMP. When ipMonitor receives a trap from an agent, it includes the SNMP Community string. If both ipMonitor and the agent use this same read-only string, ipMonitor will continue its trap filtering and progress to the IP Range test.

      The default SNMP communities include:

      • Private (Read-Write)
      • Public (Read-Only)

      Some SNMP Agents allow you to use non-default Community strings. This is typically done to improve the SNMP security model, often in conjunction with a non-standard SNMP port.

  7. Under Timing, configure the fields for the monitor testing states.

    1. In the Maximum Test Duration field, enter the maximum test duration rate (in seconds) that the monitor times out before the test is considered a failure.
    2. In the remaining fields, enter the number of second between each test while the monitor is in an OK state (Up), a failed state while alerts are processed (Down), and a failed state and the maximum number of alerts have been processed (Lost).

      In the Lost state, no additional failure alerts are processed. However, a recovery notification is sent if the monitor recovers.

  8. Under Notification Control, complete the fields to determine how many test failures must occur before an alert is sent.

    1. Enter the number of test failures that occur for each alert before ipMonitor generates an alert for the monitor. The default option is 3.
    2. Enter the maximum number of alerts to send before the monitor enters a Lost state.

      The monitor must be assigned to a notification alert to generate an action.

  9. Under Recovery Parameters, complete the fields to indicate the corrective action used to automatically restore a resource using the External Process Recovery, Reboot Server Recovery, or Restart Service Recovery action.

    1. Enter the Fully Qualified Domain Name (FQDN), NetBIOS, or IP Address of the machine hosting the service that needs a restart or the machine that needs a restart. You can also click Browse to locate and select the machine.
    2. Select the set of credentials used by the recovery alert. You can select a specific credential to execute recovery alerts that require access to restricted resources, such as Reboot Server, Restart Service, or External Process.
    3. Select the list of services to restart on the target machine specified in the FQDN/NetBIOS/IP Address field. This field is only required for the Restart Service alert. If a service has dependencies, select all dependent services.
  10. Click OK.

Create a custom SNMP monitor for Dell power supplies

You can create a custom SNMP monitor to monitor the status of one or more Dell server power supplies. Administrators can monitor the status of each individual power supply or the status of all power supplies on a Dell server to ensure they continue to provide a steady supply of power to the system.

See Monitor Dell power supplies using ipMonitor for details.

Create a custom SNMP monitor for server hard disk failures

Perform the following procedure to monitor the state of your RAID controller card, array disk, or the global status of the array environment.

To monitor RAID on a Dell system, verify that Dell OpenManage is installed on the target server where the storage management component is installed. When you are finished, restart the SNMP Agent (if recently installed).
  1. Log in to ipMonitor.
  2. Click the Devices tab and select the Dell Device you wish to monitor.
  3. Click Add > Add New Monitor.
  4. Scroll down and click Custom SNMP (Wizard).
  5. Verify that the address and SNMP community are correct.
  6. Replace the OID with one of the following:
    • Disk State: 1.3.6.1.4.1.674.10893.1.1.130.4.1.4

      Expected value: Online(3)

    • : 1.3.6.1.4.1.674.10893.1.20.130.4.1.4 ArrayDiskState

      Expected Value: Online(3)

    • Controller State: 1.3.6.1.4.1.674.10893.1.1.130.1.1.5

      Expected value: Ready(1)

    • Array Manager Global Status: 1.3.6.1.4.1.674.10893.1.1.2

      Expected value: Normal(3)

  7. Click Next.
  8. Select the resource you wish to monitor.
  9. Set the criteria accordingly.

    See Expected value in step 6.

  10. Click Create.

To monitor RAID on a Dell system, verify that Dell OpenManage is installed on the target server where the storage management component is installed. When you are finished, restart the SNMP Agent (if recently installed)

Compaq and HP servers

For Compaq or HP servers use one of the following OIDs:

  • 1.3.6.1.4.1.232.6.1.3.0 (System status)
  • 1.3.6.1.4.1.232.3.2.2.1.10.6 (RAID status)
  • 1.3.6.1.4.1.232.3.2.2.2.1.5 (RAID accelerator status)
  • 1.3.6.1.4.1.232.3.2.5.1.1.37 (Drive condition)