On Dec 18, 2008, at 4:58 AM, Andrea Castello wrote:

> Hello all,
>
>   I'd like to use SNMP protocol to collect data of physical entities
> such as ports, sensors and so on.
>
> In my idea, I'd access the ENTITY-MIB data in a way that is similar
> to what has been done IfSnmpCollector class of package
> org.opennms.netmgt.capsd.snmp.
>
> The data I'm interested in are entPhysicalTable and its entries.
>
> I've browsed both OpenNMS source code and docs for some time, but I
> haven't found classes for performing that task.
>
> Do you know if there are any classes inside OpenNMS that I can use
> to perform the entPhysicalTable data collection, or I have to
> develop my own module to do it.
>
> Thank you all,
>
> Andrea Castello
>

I think all you need is
http://www.opennms.org/index.php/Collecting_SNMP_data_from_tables_with_arbitrary_indexes
 it should handle any table type data.

Mike

Thank you Mike,

  the only difference from what is written in the tutorial is that I need to
access those data in form of Java object, in order to manipulate them.
  After I've configured my resourceType, group and mibObj, is there any
possiility to get the data through some Java API?

Andrea C.
------------------------------------------------------------------------------
_______________________________________________
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