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 18.104.22.168.22.214.171.124.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
- Click Devices in the toolbar.
- Locate and click the targeted device you want to monitor.
In the toolbar, click Add > Add New Monitor.
- In the Select Monitor menu, click SNMP.
Under Identification, enter information about the monitor.
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.
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.
- Select Store Monitor Statistics for Recent Activity and Historical Reports to enable this functionality.
Under Test Parameters, enter the monitor testing parameters.
- Enter the IP address or domain name of the server you want to monitor.
- Enter the UDP port number that the targeted resource responds on. The default is UDP port 161.
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 126.96.36.199.188.8.131.52.0 (sysUpTime) OID, which represents the time since the network management portion of the target machine was last re-initialized.
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.
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.
Under Timing, configure the fields for the monitor testing states.
- 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.
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.
Under Notification Control, complete the fields to determine how many test failures must occur before an alert is sent.
- Enter the number of test failures that occur for each alert before ipMonitor generates an alert for the monitor. The default option is 3.
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.
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.
- 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.
- 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.
- 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.
- 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.
- Log in to ipMonitor.
- Click the Devices tab and select the Dell Device you wish to monitor.
- Click Add > Add New Monitor.
- Scroll down and click Custom SNMP (Wizard).
- Verify that the address and SNMP community are correct.
- Replace the OID with one of the following:
Disk State: 184.108.40.206.4.1.674.108220.127.116.11.4.1.4
Expected value: Online(3)
: 18.104.22.168.4.1.674.10822.214.171.124.4.1.4 ArrayDiskState
Expected Value: Online(3)
Controller State: 126.96.36.199.4.1.674.108188.8.131.52.1.1.5
Expected value: Ready(1)
Array Manager Global Status: 184.108.40.206.4.1.674.108220.127.116.11
Expected value: Normal(3)
- Click Next.
- Select the resource you wish to monitor.
Set the criteria accordingly.
See Expected value in step 6.
- 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:
18.104.22.168.22.214.171.124.1.3.0 (System status)
126.96.36.199.188.8.131.52.184.108.40.206.6 (RAID status)
220.127.116.11.18.104.22.168.22.214.171.124.5 (RAID accelerator status)
126.96.36.199.188.8.131.52.184.108.40.206.37 (Drive condition)