RE: Cannot start snmpd plus snmp dead but subsys locked msg

2007-10-26 Thread Lee, John (Sydney)
lsof -p 2796 output should contain all the information you need. If you can't locate the start/stop script, kill 2796 (no, not -9) will probably do it as well. # lsof -p 2796 (please see attached) # kill 2796 # /usr/local/sbin/snmpd -f -Le udp:161 NET-SNMP version 5.4.1 Received TERM or

Register Notification OIDs Within Subagent

2007-10-26 Thread Smith_Randy
Hello, I'm trying to create a subagent that will be able to send traps when something specific occurs. I noticed notification.c example does this, however, this example code gets compiled into the master agent. I would like my trap sender to be a seperate daemon running in the background unlike

-lnetsnmpmibs -lnetsnmpagent - lnetsnmphelpers Not Found

2007-10-26 Thread Smith_Randy
In one of the example Makefiles, it points to libraries that are referenced in net-snmp-config labeled NSC_BASE_SUBAGENT_LIBS which is assigned the value -lnetsnmpagent -lnetsnmphelpers - lnetsnmp. So when I attempt to build, it can't find these libraries anywhere. I've checked all over including

net-snmp slow with kernel 2.6.x

2007-10-26 Thread Cedric MOLINIER
Hi to everybody! Today, I must use net-snmp for an embedded app (based on uClinux and kernel 2.6.19). For the moment, I tested net-snmp 5.0.9 and 5.2.1; But performances about response time with net-snmp (whatever the revisions) are really bad. With net-snmp 5.0.9: Response time of snmp

RE: net-snmp slow with kernel 2.6.x

2007-10-26 Thread Bruce Shaw
For the moment, I tested net-snmp 5.0.9 and 5.2.1; Both of those versions are really, really, really stale and no longer in development. Have you considered 5.4.1? 5.3.2.rc1 has just been released and needs testers (*hint*, *hint*) But ... response time with net-snmp ... are ... 80

snmpset for creating instances

2007-10-26 Thread Marcos Majo
How can I create an instance with snmpset? I have these 3 instances: SNMPv2-SMI::mib-2.17.7.1.4.3.1.1.1 = STRING: Default SNMPv2-SMI::mib-2.17.7.1.4.3.1.1.2 = STRING: Normal SNMPv2-SMI::mib-2.17.7.1.4.3.1.1.28 = STRING: hide and I want to create a 4th one (SNMPv2-SMI::mib-2.17.7.1.4.3.1.1.29) with

Getting cannot shift when starting Emanate snmp

2007-10-26 Thread [EMAIL PROTECTED]
Hi List, We have an installation using both net-snmp on Solaris and Emanate that comes installed with the machines, as Emanate gives us some extra info. When we start the Emanate agent after having started the net-snmp agent the following message pops out and Emanate won't start: snmpd:

problem about mibs

2007-10-26 Thread Fan Zhang
Hi, I am writing a small application program and the purpose is to retrieve the value of a variable from a remote host. If I use this line to read oid, it can get results. read_objid(.1.3.6.1.2.1.1.1.0, anOID, anOID_len); the results is : SNMPv2-MIB::sysDescr.0=string: summit

RE: Getting cannot shift when starting Emanate snmp

2007-10-26 Thread Bruce Shaw
Do you have one set up as a sub-agent of the other? When we start the Emanate agent after having started the net-snmp agent the following message pops out and Emanate won't start: snmpd: cannot shift It is supposed the Emanate start script stops the net-snmp daemon and restarts it listening on

error: netsnmp_assert !registration != duplicate failed agent_registry.c:535 netsnmp_subtree_load()

2007-10-26 Thread Awadhesh Kumar
Hi, I am using net-snmp 5.4.1. When i start snmpd with command /usr/local/sbin/snmpd -Dread_config -Dagentx -c /usr/local/share/snmp/snmpd.conf -x tcp:localhost:705 It shows following error/warning [EMAIL PROTECTED] test]# /usr/local/sbin/snmpd -Dread_config -Dagentx -c