Regarding logOption in snmptrapd.conf file

2013-01-01 Thread Adishesh M
Hi, I am using below line in snmptrapd.conf file to log all traps received into a file. logOption f /tmp/all_traps and I am running snmptrapd with below option /usr/sbin/snmptrapd -Ot -On –OQ I want all the traps received to be logged to into my file only and not to syslog (/var/log/m

RE: SNMPD ignores community string in set/get requests

2013-01-01 Thread Dudi Bickel
Hi Dave, I was trying to redirct the ifTable, ifXtable and system group to my subagentx instead of having SNMPD to process these MIB variables. My mistake was using the wrong token "system" instead of "system_mib". Thanks for pointing it out. Is there any documentation on this somewhere? When usi

Re: snmpd.conf: unknown token: dlmod

2013-01-01 Thread Dave Shield
On 1 January 2013 08:01, Bart Van Assche wrote: > Note: the Net-SNMP dlmod module has been ported recently to Windows. Thanks for that, Bart. This must have happened during my recent sabbatical from the project. Certainly the code I was looking at didn't seem to support dlmod under Windows, but I

Re: creating a new row using old api handlers

2013-01-01 Thread Dave Shield
On 31 December 2012 19:34, pal snmp wrote: > I create a final row in the back-end when the ACTION method for > exampleTableEntryRS is invoked. However, the ACTION method for exampleName > is not getting invoked until after the ACTION method for entryRS is invoked. That's quite possible. The order

Re: SNMPD ignores community string in set/get requests

2013-01-01 Thread Dave Shield
On 31 December 2012 12:34, Dudi Bickel wrote: > While trying to redirect the MIB-II system group to my subagent to handle > instead of SNMPD handle, the SNMPD ignore ANY check of the community string > on any request (meaning any string in the community will be answered). > > The redirection is do

Re: net-snmp packaging.

2013-01-01 Thread Dave Shield
On 31 December 2012 13:31, Jatin Bodarya wrote: > Let me be specific. Specifics would be good, yes. > I have downloaded NET-SNMP version: 5.7.2.rc1.tar.gz and installed with > "make install" in "Ubuntu 12.04" > Now I want to use same installation in linux OK - let's be specific here. What di

Re: snmpd.conf: unknown token: dlmod

2013-01-01 Thread Bart Van Assche
On 12/30/12 01:13, Dave Shield wrote: > Windows seems to use 'winExtDLL' instead of 'dlmod' The recommended approach on Unix and Windows for extending Net-SNMP is AgentX. This is because AgentX uses interprocess communication and hence a bug in an AgentX sub-agent does not affect the snmpd maste