running net-snmp agent in windows

2010-05-07 Thread Group
Hi, I'm able to compile the code with basic settings. My Configuration: net-snmp version: net-snmp-5.4.2.1 environment: cygwin operating system: windows XP Now i would like to run the snmp agent on windows. I created a snmpd.conf file in /usr/local/share/snmp with following entry: rocommunity

net-snmp compilation problem still unresolved

2010-05-07 Thread Group
Hi, My Configuration: net-snmp version: net-snmp-5.4.2.1 environment: cygwin operating system: windows XP ran configure command: $ ./configure --without-perl-modules --disable-embedded-perl --without-openssl -with-out-mib-module s="snmpv3mibs ucd_snmp mibII notification utilities disman/event ag

Net-SNMP 5.4.3.2.1 V3 encryption and decrytion code

2010-05-07 Thread Piljoo Choi
Hi all, Is anymore who knows what c code does v3 encryption and decryption such as the type 'AES' in net-snmp-5.4.2.1? I want to look at the logic but so far I have no luck to find the code. What file does have the logic? Thanks, Piljoo --

Re: Net-SNMP 5.4.3.rc2 and 5.2.6.rc2 available for testing

2010-05-07 Thread Dave Shield
On 6 May 2010 17:12, Bart Van Assche wrote: > There is one open issue for the V5.4 branch I'm absolutely not happy with: > http://www.mail-archive.com/net-snmp-users@lists.sourceforge.net/msg25049.html. That seems to be a consequence of patch #2890931 (to add support of Counter64 values within th

Re: SNMP subagent in C + exec_command or similar

2010-05-07 Thread Dave Shield
2010/5/7 Fulko Hew : > Since that command line actually had to spawn 3 sub-processes sort of > daisy-chained, > perhaps this might work instead (where a single sub-process is created, that > then creates > the daisy-chain (note: I haven't tried it, but its a simple experiment): > > ( /bin/cat /proc

Re: SNMP subagent in C + exec_command or similar

2010-05-07 Thread Fulko Hew
2010/5/7 Hársszegi Tibor > Hi, > > have tried exec_command not much luck :( > I am trying to run scripts, like > > cat /proc/cpuinfo | grep vendor_id | awk '{print $3}' > > and similar. > No matter how I tried using SHPROC or EXECPROC (although I don't really > see SHPROC being handled at all any

RE: SNMP subagent in C + exec_command or similar

2010-05-07 Thread Hársszegi Tibor
Yeah, actually I've done that :( Copy-pasted the run_shell_command merely to my agent (since after all it is just a system() invocation with output piped to a temporary file). Thanks a lot Dave for the hint!! t. > -Original Message- > From: Dave Shield [mailto:d.t.shi...@liverpool.ac.uk]

Re: SNMP subagent in C + exec_command or similar

2010-05-07 Thread Dave Shield
2010/5/7 Hársszegi Tibor : > have tried exec_command not much luck :( > I am trying to run scripts, like > > cat /proc/cpuinfo | grep vendor_id | awk '{print $3}' > > and similar. No - exec_command won't really help you here. Try using "run_shell_command" instead. (See mibgroup/utilities/execute.

No Such Instance currently exists at this OID

2010-05-07 Thread омар нескажуев
Hi. I have NET-SNMP 5.4.1 installed. Shortly: I can't get the values in the table Long story: I've generated template code with mib2c for tables. -mib2c -c mib2c.mfd.conf pTable Then I started the binary as an subagent: sudo ./pTable -f -L I set MIBS env -export MIBS=+ANU However, I can't get th

Re: FW: Memory Leaking with NetSNMP V5.5

2010-05-07 Thread Mark Brooks
The patch has removed the problem, Ive run a test for about 12 hours and the memory usage is now stable. Thanks Mark On 6 May 2010 16:33, Mark Brooks wrote: > We may have fixed it, by applying the patch > > > http://sourceforge.net/tracker/index.php?func=detail&aid=2871747&group_id=12694&atid=

RE: SNMP subagent in C + exec_command or similar

2010-05-07 Thread Hársszegi Tibor
Hi, have tried exec_command not much luck :( I am trying to run scripts, like cat /proc/cpuinfo | grep vendor_id | awk '{print $3}' and similar. No matter how I tried using SHPROC or EXECPROC (although I don't really see SHPROC being handled at all anywhere in net-snmp) I didn't get the pipes be