Re: snmpd.conf: unknown token: dlmod

2012-12-29 Thread Nuno Magalhães
Hi Dave, So, how do I extend the functionality of an agent in windows (i.e.: defining, monitoring and trapping new OID's). Can you give me an example/steps starting with the mib2c.exe command. Thanks in advance, Nuno Magalhães. Em 30-12-2012 00:13, Dave Shield escreveu: > On 29 December 2012 2

Re: creating a new row using old api handlers

2012-12-29 Thread Dave Shield
On 29 December 2012 01:48, pal snmp wrote: > I created a simple table (one integer index) and got the agent > implementation using old API handlers done. > However, I am having tough time understanding how to add a row into the > table. > First of all, my write_* methods are never called for some

Re: snmpd.conf: unknown token: dlmod

2012-12-29 Thread Dave Shield
On 29 December 2012 22:00, Nuno Magalhães wrote: > I thought I was only enabling debug for dlmod token -Ddlmod. My apologies - I'd misread the command you were using to start the agent. You are quite correct. > Even if I simply call snmpd.exe with no parameters the error persists. Looking at t

Re: snmpd.conf: unknown token: dlmod

2012-12-29 Thread Nuno Magalhães
Hi Dave, I thought I was only enabling debug for dlmod token -Ddlmod. Even if I simply call snmpd.exe with no parameters the error persists. What should I call to suppress this error? Regards, Nuno Magalhães. Em 29-12-2012 21:18, Dave Shield escreveu: > On 29 December 2012 09:23, Nuno Magalhães

Usage text on Windows shows the wrong list separator

2012-12-29 Thread Jason McCollum
In Windows, you have to use semi-colon ';' to separate things for the -m and -M options, but the usage text says to use a colon. Here's a patch to fix the text: diff -rup net-snmp-5.7.2-original/snmplib/snmp_parse_args.c net-snmp-5.7.2/snmplib/snmp_parse_args.c --- net-snmp-5.7.2-original/snmp

Re: snmpd.conf: unknown token: dlmod

2012-12-29 Thread Dave Shield
On 29 December 2012 09:23, Nuno Magalhães wrote: > 3) The problem: whenever I launch the snmpd with the necessary arguments: > snmpd.exe -V -f -Lo > -I-udp,udpTable,tcp,tcpTable,icmp,ip,interfaces,system_mib,sysORTable > -DnstAgentPluginObject,dlmod,winExtDLL If I've read this correctly, you are

Re: snmpd.conf: unknown token: dlmod

2012-12-29 Thread Nuno Magalhães
Hi Bart, Sorry, but the patch is rejected on the latest revision (20533) from the official repository. Can you tell me the revision (for that version 5.6). I downloaded the 5.7.2 and the patch is rejected. Or better yet, can you send me an updated patch for the latest revision. (Because the

Re: snmpd.conf: unknown token: dlmod

2012-12-29 Thread Bart Van Assche
On 12/29/12 10:23, Nuno Magalhães wrote: I installed the version 5.6.1.1 (Windows Extension mode) of the windows Net-SNMP on my Windows Server 2007 machine. I'm facing an issue and here are the steps described: 1) I generated a couple of source files from the MIB (with the tool mib2c) with no p

snmpd.conf: unknown token: dlmod

2012-12-29 Thread Nuno Magalhães
Hi, I installed the version 5.6.1.1 (Windows Extension mode) of the windows Net-SNMP on my Windows Server 2007 machine. I'm facing an issue and here are the steps described: 1) I generated a couple of source files from the MIB (with the tool mib2c) with no problems. 2) The configuration was s