[no subject]

2011-03-01 Thread normanraedke
Hello, my snmp application is created as a Dynamically Loadable Object. If i link the pthread library to my shared object snmpd will not response on any request. After the first request snmpd droped. :-( I would like to update my table data, because there is another application which provides

Request information for net-snmp

2011-03-01 Thread Vabhav
Hello users, I would like to compile/configure net-snmp package for OpenWrt with minimal functionality(test/set parameters implement traps),Request you to provide me with step by step approach starting from getting the binary till compiling it for Openwrt I am using ubuntu 10 as the place

createUser entry issue

2011-03-01 Thread Prakash Masanagi
Hi, I have built net-snmp 5.6.1 and trying to enable snmpV3. I have a problem with createUser ... entry. If I add createUser ... entry in /etc/snmp/snmpd.conf and restart snmpd, then it adds corresponding usmUser ... entry with hashed key into /var/net-snmp/snmpd.conf file. That is working fine.

Re:

2011-03-01 Thread Dave Shield
On 1 March 2011 08:08, normanrae...@gmx.de wrote: my snmp application is created as a Dynamically Loadable Object. If i link the pthread library to my shared object snmpd will not response on any request. After the first request snmpd droped. :-( Does it log anything before stopping? What

Re: createUser entry issue

2011-03-01 Thread Dave Shield
On 28 February 2011 20:41, Prakash Masanagi prakashmn2...@gmail.com wrote: If I add createUser ... entry in /etc/snmp/snmpd.conf Try putting this entry directly into /var/net-snmp/snmpd.conf (while the agent is *not* running), and then start snmpd. This line should then be replaced by the

Re: Can not get remote engineTime.

2011-03-01 Thread Dave Shield
On 28 February 2011 19:20, Zongjun qizong...@gmail.com wrote: Besides our own MIB definitions, it outputs SNMP-VIEW-BASED-ACM-MIB::vacmGroupName.1.public = STRING: public SNMP-VIEW-BASED-ACM-MIB::vacmGroupName.2.public = STRING: public SNMP-VIEW-BASED-ACM-MIB::vacmGroupName.3.public = STRING:

snmptable return : No Entries

2011-03-01 Thread Evgeny Mugerman
Hello, I wrote my own mib file and snmp translate run successfully on the NetCounterTablein this mib. Here is an output of snmptranslate snmptranslate -On -Td -IR CODS-NETCTR-MIB::NetCounterTable .1.3.6.1.4.1.37010.6 NetCounterTable OBJECT-TYPE -- FROM CODS-NETCTR-MIB MAX-ACCESS

Re: snmptable return : No Entries

2011-03-01 Thread Dave Shield
On 1 March 2011 09:59, Evgeny Mugerman mugerm...@gmail.com wrote: It seems to me that my table's OID registration pass well. Can somebody explain, why No Entries message printed? Have you added any rows to the table? How? Should I add Entries somehow? Errr... yes. If the table is empty,

Re: snmpd droped if library pthread linked

2011-03-01 Thread Dave Shield
[ First - *please* don't mail me privately, without copying any responses to the mailing list. I don't have the time or inclination to offer private, unpaid, SNMP consultancy. Keep discussions to the list, where others can both learn and offer advice. Thanks. ] On 1

snmptrapd - parse fail not logging trap

2011-03-01 Thread Andy Brown
Hi All, Having a right time with snmptrapd here, got it working perfectly on one ubuntu server, and on another, supposedly identical, no go, it fails to receive/log the traps sent to it (from the same hardware). Can anyone assist in debugging the logs here and help me get it logging (all I

Re: snmptable return : No Entries

2011-03-01 Thread Evgeny Mugerman
Thank you for fast reply. No, I missed it. I built my MIB based on IF-MIB example. I copied the first table ifTable and run mib2c with *mib2c.mfd.conf script.* ***I didn't find any row creation or addition there.* *Can you point me on the appropriate documentation.* * * On Tue, Mar 1, 2011 at

Re: snmptrapd - parse fail not logging trap

2011-03-01 Thread Dave Shield
On 1 March 2011 11:03, Andy Brown a...@thebmwz3.co.uk wrote: Having a right time with snmptrapd here, got it working perfectly on one ubuntu server, and on another, supposedly identical, no go, it fails to receive/log the traps sent to it (from the same hardware). Can anyone assist in

Re: snmptable return : No Entries

2011-03-01 Thread Dave Shield
On 1 March 2011 12:15, Evgeny Mugerman mugerm...@gmail.com wrote: I built my MIB based on IF-MIB example. I copied the first table ifTable and run mib2c with mib2c.mfd.conf script. I didn't find any row creation or addition there. Can you point me on the appropriate documentation. Sorry - I'm

Re: snmptrapd - parse fail not logging trap

2011-03-01 Thread Andy Brown
On 01/03/11 12:17, Dave Shield wrote: On 1 March 2011 11:03, Andy Browna...@thebmwz3.co.uk wrote: Having a right time with snmptrapd here, got it working perfectly on one ubuntu server, and on another, supposedly identical, no go, it fails to receive/log the traps sent to it (from the same

Changing community strings automatically

2011-03-01 Thread Giuseppe Modugno
I have a Net-SNMP agent running on a Linux computer. I want to write a script/program that automatically change the community strings (I'm not interested in SNMPv3). Actually I know how to stop and restart the snmpd daemon. But how to change the community strings? I know they are written in