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.
- Go to Admin --> Device Templates.
- 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.
- From here, click any template. Example -
Linux. Scroll down the template and click Add Monitors under Monitors
column.
- Click the New
Monitor link in this
page.
- 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.
- Load the required MIB and select the OID. Eg: hrStorageSize from
HostResource MIB. Click OK
after selecting this OID.
- 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.
- Click Apply.
- 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 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.
- For SNMP-based monitors to work, make sure to enable SNMP on the
devices and check if the OID is implemented.
- 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.
- Go to the Linux template
page.
- Click on Add Monitors
under Monitors column.
- Click on New Monitor in
the Add Monitors page,
- Click on Select button
in order to open the MIB browser.
- Select RFC 1213 MIB
and click on Expand All .
- 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].
- Click on OK. The OID
will be displayed in the SNMP OID field.
- 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.
- Click on Apply to add
the template to the devices.
- 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.