[SNMP4J] Test

Everton Lima peitin.inutil at gmail.com
Sat Feb 19 16:21:27 CET 2011


Hi there,

I new in this area. I was trying to create a sample agent to monitor a
statistic  of a program mine.
My program is in Java.

What I have done?
I create a class MyMib in my program that extends MOGroup, to create a mib.
in that class I create a sample attribube to monitor (a scalar String -
OID=1.3.6.4.1.4326.10)
ok....
Then I create a class (MyAgent) that extends BaseAgent and subscribe MyMib
in the agent.

I am doing something wrong?
How can I test if its all rigth?

I tryed to use line command snmpget, but its always send me a timeout. I
don´t really know if my snmpget if working. XD

Since now, tkns!

-- 

Everton Lima Aleixo
Graduando em Ciencia da Computação
Universidade Federal de Goiás



More information about the SNMP4J mailing list