NetXMS Support Forum

English Support => General Support => Topic started by: Mariposa on January 02, 2012, 04:16:47 PM

Title: need help with java agent and netxms integration
Post by: Mariposa on January 02, 2012, 04:16:47 PM
hello guys :)

i have a java agent up and running using OpenDMK library as well as netxms (without the webserver) on Ubuntu , i also created a MIB tree which can be loaded using MIB browser. But I'm having difficulties with the integration of the two. Can someone please give me some guidelines on how to integrate them and get them to work ?

all help will be highly appreciated :)
Title: Re: need help with java agent and netxms integration
Post by: Alex Kirhenshtein on January 12, 2012, 11:29:39 AM
Hi

I have no real experience with OpenDMK, but did a quick test and seems that integration should be like this:

1) make MIB file
2) generate java stubs using mibgen
3) implement these stubs to return real data
4) copy MIB file to ${prefix}/share/netxms/mibs (c:\NetXMS\var\mibs on Windows)
5) recompile all NetXMS MIBs:nxmibc -d /usr/share/netxms/mibs -o /usr/share/netxms/mibs/netxms.mib
6) restart management console, it should download updated netxms.mib from server
7) add your server to NetXMS
8) configure DCIs (set source to "SNMP Agent")