Re: how to use net-snmp for monitoring java processes in linux

2012-02-14 Thread Dave Shield
On 13 February 2012 00:58, Zain Mirza zain.mi...@hughes.com wrote:   a) i have to write add extra layer in my java processes that interacts with snmpd agent. If so how ? code examples? c) I have to write sub agents? Do I also have to use AgentPro necessarily to generate java stubs for my mib

RE: how to use net-snmp for monitoring java processes in linux

2012-02-14 Thread Zain Mirza
Thanks a lot waqas for your prompt reply. Is there a way i could do the same in java? I am sorry i was not very clear about our limitation to only use java. Keeping this in mind, what will be my way to go? Sent from my HTC Touch Pro2 on the Now Network from Sprint®.

how to use net-snmp for monitoring java processes in linux

2012-02-13 Thread Zain Mirza
Hi All, I am very new to net-snmp. I have many hosts with each running few java processes. These processes have custom statistics which we want to be reported back to an SNMP server for e.g. EM7. I started off by writing a separate .mib for each process and its scalar statistics. Now I have

RE: how to use net-snmp for monitoring java processes in linux

2012-02-13 Thread Mohammad Waqas Athar
Well it seems like you have not seen any tutorials on net-snmp.First of all you need to create mib files for all the parameters that you want to monitor.Then you have to extend your snmpd agent so that it answers request for your parameters.For this you have to use mib2c to generate code.

RE: how to use net-snmp for monitoring java processes in linux

2012-02-13 Thread Mohammad Waqas Athar
Well for that you have to use java bindings . There is a related library netsnmpj that provides java api for net-snmp and it supports agent x protocol . I have not used it but it would be very similar and the fastest way to get it going is to install it and run some examples or debug them ,