Re: Problem modifying trap destination etc. dynamically with snmpset

2010-06-14 Thread Dave Shield
On 10 June 2010 12:28, Boris Zweimueller bo...@zweimueller.ch wrote: snmpset -v 3 -u boris localhost SNMP-TARGET-MIB::snmpTargetAddrRowStatus.\'mytrap2\' = 5 Error in packet. Reason: wrongLength (The set value has an illegal length from what the agent expects) I don't understand

NMS IP address from Perl NetSNMP::agent API

2010-06-14 Thread Joao Ferreira gmail
Hello, can I read the NMS IP address from within a perl NetSNMP::agent ? I've searched the docs at CPAN but I can't find anything there. thanks Joao -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad

Re: NMS IP address from Perl NetSNMP::agent API

2010-06-14 Thread Fulko Hew
On Mon, Jun 14, 2010 at 6:15 AM, Joao Ferreira gmail joao.miguel.c.ferre...@gmail.com wrote: can I read the NMS IP address from within a perl NetSNMP::agent ? I've searched the docs at CPAN but I can't find anything there. getSourceIp and getDestIp can be used to find the requestor and the

Re: cache

2010-06-14 Thread Dave Shield
On 8 June 2010 20:50, Kathy McLeod kmcl...@us.ibm.com wrote: Not to nag, but I have been waiting since March for an answer/fix for my cache problems and no one will even reply as to whether there is a fix in the works or not. I'm sorry that no-one has been able to help you with these problems.

Re: NMS IP address from Perl NetSNMP::agent API

2010-06-14 Thread Dave Shield
On 14 June 2010 16:12, Fulko Hew fulko@gmail.com wrote: Ok, that is great... but... what version of net-snmp are you using ? I tried to do it in 5.4.1 and it does not work... It looks like it didn't make it in until the 5.5 release. Correct. The 5.4.x branch was first released in late

subagent core dump at startup

2010-06-14 Thread W Z
We use net-snmp 5.4.2.1. We had a subagent core dump at system start up. This happens rarely, i.e., cannot reproduce. After gdb core file, backtrace shows: == Program terminated with signal 11, Segmentation fault. [New