[SNMP4J] SNMP doubts
Frank Fock
fock at agentpp.com
Thu Mar 31 09:07:51 CEST 2005
Hi Bala,
Bala Subramaniam wrote:
> Hi,
>
> I am a newbie to SNMP . I have some basic doubts on SNMP .
>
> (1) Can SNMP monitor only devices or shall we use to monitor some specific processes of an application . I mean can i make it to monitor cpu usage,load average of my application ?
>
>
These basic application monitoring capabilities are provided by the
systems agent
through the HOST-RESOURCES-MIB. There is no need to instrument your
application
because this data can be provided through the operating system.
> (2) If it is possible to monitor application through SNMP how my application will communicate with the SNMP agent?
>
>
>
By a subagent protocol like AgentX or by implementing a separate SNMP agent.
> (3) weather application will send data on request of agent or automatically at some specific interval the data can be sent?
>
>
>
By using AgentX, data is provided on request.
> Currently i am able to retreive information about my system using SNMP4J . But i would want to provide SNMP monitoring facility to my software . Any help would be grateful.
>
>
>
You may wait for SNMP4J-Agent or use any other Java SNMP library to
build your
own agent (if necessary at all - see above) or use a Java AgentX API to
build a subagent
(requires the OS master agent to be AgentX capable).
Best regards,
Frank
Best regards,
Frank
More information about the SNMP4J
mailing list