It ok Dave,
I launch agent with : /opt/FERMA/sbin/agtcks -c /etc/opt/FERMA/agent.cfg -d localhost:7075 I request it with following command : /usr/local/bin/snmpget -v 1 -c public localhost:7075 .1.3.6.1.4.1.2390.1.3.1.1.0 SNMPv2-SMI::enterprises.2390.1.3.1.1.0 = STRING: "5.2" /usr/local/bin/snmpwalk -v 1 -c public localhost:7075 .1.3.6.1.4.1.2390.1.3.1 the end of answer : SNMPv2-SMI::enterprises.2390.1.3.1.15.2.2.0 = INTEGER: 0 SNMPv2-SMI::enterprises.2390.1.3.1.15.2.3.0 = INTEGER: 0 SNMPv2-SMI::enterprises.2390.1.3.1.100.1.0 = INTEGER: 7679 SNMPv2-SMI::enterprises.2390.1.3.1.100.2.0 = INTEGER: 7059 SNMPv2-SMI::enterprises.2390.1.3.1.100.3.0 = INTEGER: 91 SNMPv2-SMI::enterprises.2390.1.3.1.100.4.0 = INTEGER: 1 SNMPv2-SMI::enterprises.2390.1.3.1.9999.0 = INTEGER: 2 SNMPv2-SMI::enterprises.2390.1.3.1.9999.0 = "" Error: OID not increasing: SNMPv2-SMI::enterprises.2390.1.3.1.9999.0 >= SNMPv2-SMI::enterprises.2390.1.3.1.9999.0 Why I have this error ?, I have not change the agent mib ? After start sun master agent with /etc/init.d/init.sma commands I request agent whith following commands /usr/local/bin/snmpget -v 1 -c public localhost .1.3.6.1.4.1.2390.1.3.1.1.0 /usr/local/bin/snmpwalk -v 1 -c public localhost .1.3.6.1.4.1.2390.1.3.1 I obtain same answer ... So I deduce that sun master agent and my agent net-snmp are working good ? You confirm me that ? Thanks, Sandrine. Dave Shield a écrit : > On 22/05/07, Sandrine MONOT <[EMAIL PROTECTED]> wrote: >> And I launch the agent with the command : >> /opt/FERMA/sbin/agtcks -c /etc/opt/FERMA/agent.cfg -f -Le -Dread_config >> -d localhost:7075 >> >> I execute snmpgetnext, snmpget and snmpwalk request in another windows, >> I obtain answer, i have seen the agent send data ... > > > >> But when i launch the agent with the command : >> >> /opt/FERMA/sbin/agtcks -c /etc/opt/FERMA/agent.cfg udp:7075 >> >> I have an answer for snmpget, this seems to be correct. >> But the answer of snmpgetnext and snmpwalk ( after debug traces ), >> finish by : >> Timeout: No Response from localhost:7075. > > When you say "finish by" - do you mean that you get some > results, followed by this timeout message? Or is this the > *only* output you get from the getnext/walk request? > > If you do see some real results first, what is the last such value? > > It would probably also be useful if you could indicate the *exact* > commands you are running each time - rather than something > vague like "snmpgetnext" or "snmpwalk". > > > >> And I constate that the agent is downed ! > > Not necessarily. > It may be waiting for results from somewhere else, or looking > for a result that is within an authorised view. Without a clearer > description of exactly what you're trying, and exactly what you > are seeing, it's difficult to comment. > > >> It's normal ? the command /opt/FERMA/sbin/agtcks -c >> /etc/opt/FERMA/agent.cfg udp:7075 >> is appropriated ? > >> It's the same thing with /opt/FERMA/sbin/agtcks -c >> /etc/opt/FERMA/agent.cfg 7075 > > > Either of those should be OK. > Just to be certain, try using the same invocation as the > debug version - but without the irrelevant flags. > I.e if things worked with > > /opt/FERMA/sbin/agtcks .... -f -Le -Dread_config -d localhost:7075 > > then try with > > /opt/FERMA/sbin/agtcks .... localhost:7075 > > In gnereal, if you've got something that works, it's a good idea to > change as little as possible. > > Dave > ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
