[SNMP4J] SysUpTime

Eddy Czitrom eddyone at gmail.com
Sun Aug 10 23:52:42 CEST 2008


Hi Frank,

Thanks for your answer!
I need System up time for the first VB in my notifications that I create
and  I found the implementation under org.snmp4j.agent.om.MIB2.... for
Machine system uptime,
should I look for something else? Is SNMP4J-Agent free as well?

Thanks allot,
Eddy



On 8/10/08, Frank Fock <fock at agentpp.com> wrote:
>
> Hi Eddy,
>
> Since there is no sysUpTime.0 value that relates
> to "a machine", the question is what you really
> want to get?
>
> The sysUpTime object definition refers to *SNMP
> entities* which is something different to a
> physical machine.
>
> So, probably you want to send a get request
> to your SNMP entity with a VariableBinding
> with OID SnmpConstants.sysUpTime?
>
> BTW, org.snmp4j.agent is contained in the
> SNMP4J-Agent package which supports creating
> SNMP agents.
>
> Best regards,
> Frank
>
> Eddy Czitrom wrote:
>
>> Hi,
>>
>> I need to get SysUpTime from my machine, I found that  org.snmp4j.agent
>> package has the desired method, but  I don't have it in my  SNMP4j jar.
>> Can
>> anyone tell me how to obtain this package or maybe there is an easier way
>> to
>> get SysUpTime ?
>>
>> Thanks allot,
>> Eddy
>> _______________________________________________
>> SNMP4J mailing list
>> SNMP4J at agentpp.org
>> http://lists.agentpp.org/mailman/listinfo/snmp4j
>>
>
> --
> AGENT++
> http://www.agentpp.com
> http://www.mibexplorer.com
> http://www.mibdesigner.com
>
>



More information about the SNMP4J mailing list