Hey Devs,
    I'm doing some prototyping around some backend enhancements and I not
sure how to resolve the resourceParent(which is a NodeId) to a
NodeLabel/SysName within my StorageStrategy.  I understand why you guys use
nodeid, but I really need a human readable representation.

I figured the easiest way to get it would be through a NodeDao.
 Unfortunately, I can't seem to get a NodeDao instance to work:

    new NodeDaoHibernate();  #results in a NullPointer in the
AbstractDaoHibernate::get method when using get(resourceParent)
    BeanUtils resource fetch method     #OpenNMS doesn't
startup(BeanCurrentlyInCreationException)

 For Notifd plugins, they can use Notifd.getInstance().getNodeDao(), but
Collectd doesn't expose that getter.

Any suggestions?

Thanks for your help,

Anthony
------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
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