Adding Custom Monitors

 

In addition to OpManager's default monitors, you can also create your own monitors for the SNMP-enabled devices in your network. The SNMP variable for which you intend configuring a monitor can return either a numeric or a string output when queried.

 

To add a custom monitor for a resource of a particular device type, the device template must be modified. The new monitor should be defined in the device template so that the monitor is associated for all devices of that type. Here are the steps.

  1. Go to Admin --> Device Templates.
  2. Select the template in which you want to add a new monitor. Eg: Linux. Click the letter L to displays templates starting with this letter.
  3. From here, click any template. Example - Linux. Scroll down the template and click Add Monitors under Monitors column.
  4. Click the New Monitor link in this page.
  5. Click the Select button in the Add a new monitor page to browse and select the OID for which you want add a monitor. The MibBrowser is shown.
  6. Load the required MIB and select the OID. Eg: hrStorageSize from HostResource MIB. Click OK after selecting this OID.
  7. Configure all the other properties of the monitor like the name, display name, units etc. Click OK. The new custom monitor is listed under Monitors column in the template.
  8. Click Apply.
  9. The devices are listed prompting you to select the devices for which you want the monitor to be associated. Check the list of devices and click Apply.
  10. The modified template is applied to all devices of type Linux. Go to the snapshot page of any of the Linux devices. You will find the new custom monitor in the list of associated performance monitors.
  11. For SNMP-based monitors to work, make sure to enable SNMP on the devices and check if the OID is implemented.
  12. To easily apply a new monitor to a set of devices, you must add the monitor to the device template.

Consider the example given below to add a custom monitor that monitors a SNMP variable which returns a string output when queried.
  1. Go to the Linux template page.
  2. Click on Add Monitors under Monitors column.
  3. Click on New Monitor in the Add Monitors page,
  4. Click on Select button in order to open the MIB browser.
    1. Select RFC 1213 MIB and click on Expand All .
    2. Choose the System Name variable. The OID of it will be displayed at the bottom. [This variable will give the System Name of the device when queried].
    3. Click on OK. The OID will be displayed in the SNMP OID field.
  5. Configure all the other properties of the monitor like the name, display name, units etc. Click OK. The new custom monitor is listed under Monitors column in the template.
  6. Click on Apply to add the template to the devices.
  7. The devices are listed prompting you to select the devices for which you want the monitor to be associated. Check the list of devices and click Apply. The monitor will be associated to the selected devices under performance monitors.

Copyright © 2012, ZOHO Corp. All Rights Reserved.
Network Monitoring Software from ManageEngine