Andrea Castello wrote:

>    I've developed an addon for OpenNMS (using version 1.6.1) for the 
> company I work for.
>    This module provides a Plugin and a Monitor classes (plus some other 
> helpers) that allow the user to define services that are composed by a 
> single object (or an arbitrary aggregation of objects) in order to get a 
> fine grained control of a node's components (ie: a service for every 
> port in a switch, or state of ink cartridges of a printer) according to 
> a predefined set of rules.
> 
> For example, I can define a service that monitors (via SNMP polling) two 
> objects, each one with its own rules, by declaring my own class as the 
> () service's monitor class adding the following parameters to a 
> <service> tag inside poller-configuration.xml 
> 
> <!-- The number of objects that compose the service -->
> <parameter key="objCount" value="2" />
> <!-- The id of the objects that must be monitored to check the service' 
> status -->
> <parameter key="objId-0" value=".1.3.6.1.2.1.11.29" />
> <parameter key="objId-1" value=".1.3.6.1.2.1.11.30" />
> <!-- Value pattern that must be matched for the service to be up -->
> <parameter key="valuePattern-0" value="0" />
> <parameter key="valuePattern-1" value=">5" />
> 
> For my service to be up, it is necessary that ALL the values read by the 
> SNMP poller for every given object match their the value pattern.
> 
> Different value patterns can be specified for the objects. The most 
> obvious is equality (for numbers, strings and IPs), but also "bigger 
> than {value}", "smaller than {value}" and "range".
> 
> If there is a mismatch between a value and a value pattern, an outage is 
> generated, with the report of the mismatch.
> 
> I've made a three min video to explain this addon. You can see it here:
> http://www.youtube.com/watch?v=d8-kD4Or8e8
> Please watch it in HD in order to easily read the text.
> 
> I'd like to have some feedback for this addon.

Is there any way to make it monitor an individual process on a server 
for processes that are long-running but occasionally restarted?  That 
is, pick up the index by matching a string in 
HOST-RESOURCES-MIB::hrSWRunName then monitor the values for that index 
in HOST-RESOURCES-MIB::hrSWRunPerfCPU and 
HOST-RESOURCES-MIB::hrSWRunPerfMem?

-- 
   Les Mikesell
    lesmikes...@gmail.com







------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-devel mailing list

To *unsubscribe* or change your subscription options, see the bottom of this 
page:
https://lists.sourceforge.net/lists/listinfo/opennms-devel

Reply via email to