NetXMS Support Forum

Please login or register.

Login with username, password and session length

Author Topic: need help with java agent and netxms integration  (Read 2430 times)

Mariposa

  • Newbie
  • *
  • Posts: 7
    • View Profile
need help with java agent and netxms integration
« 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 :)
Logged

Alex Kirhenshtein

  • Team Member
  • Administrator
  • Hero Member
  • *****
  • Posts: 924
    • View Profile
Re: need help with java agent and netxms integration
« Reply #1 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:
Code: [Select]
nxmibc -d /usr/share/netxms/mibs -o /usr/share/netxms/mibs/netxms.mib6) 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")
« Last Edit: January 12, 2012, 11:45:57 am by Alex Kirhenshtein »
Logged