Re: net-snmp fails to create entries with a zero in the OID in SnmpTargetParamsEntry

2013-11-18 Thread zhuyj
On 09/10/2013 01:41 PM, Bart Van Assche wrote: On 09/10/13 04:04, zhuyj wrote: Please help me to merge this patch into trunk. Thanks a lot. Hello Zhu, The code in snmpd_parse_config_targetAddr() and store_snmpTargetAddrEntry() assumes that targetAddTable_struct.params is an ASCII string

Re: net-snmp fails to create entries with a zero in the OID in SnmpTargetParamsEntry

2013-11-18 Thread Bart Van Assche
On 11/18/13 11:48, zhuyj wrote: On 09/10/2013 01:41 PM, Bart Van Assche wrote: On 09/10/13 04:04, zhuyj wrote: Please help me to merge this patch into trunk. Thanks a lot. Hello Zhu, The code in snmpd_parse_config_targetAddr() and store_snmpTargetAddrEntry() assumes that

snmpwalk of Net Snmp throws the error Wrong Type (should be Counter64): INTEGER: 27344896

2013-11-18 Thread Padmaja Sridharan
Hi , We run snmpwalk of net-SNMP 5.7.2 with Emanate SNMP agents on HPUX 11.31 ia64 We have customized MIB that has OID configuration(mounted filesystems) with fileSystemBlock defined as Counter64. When run snmpwalk with that OID, it gives the following message. # snmpwalk -m HP-UNIX -v2c

Re: Trouble with send_v2trap

2013-11-18 Thread Чугунов Дмитрий
Thanks. It works Niels Baggesen ni...@baggesen.net писал(а) в своём письме Thu, 31 Oct 2013 01:42:17 +0400: Den 30-10-2013 19:04, Чугунов Дмитрий skrev: Hello. I've tried to send trap using example notification.c. It works fine. It sends trap to .1.3.6.1.4.1.8072.2.3.0.1. But if I change

Problem with negative number in counters

2013-11-18 Thread Robo BAss
Hi friends, I have a problem. I reinstall new fedora OS Linux xxx2 3.8.11-200.fc18.x86_64 #1 SMP Wed May 1 19:44:27 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux and my old netmonitor I porting on this new OS system and don't work. I see problem between snmpget and rrdtool snmpget take me back

bug in trapsess directive?

2013-11-18 Thread Paul Jaehne
Version: 5.7.2 Hi all, I'm currently experiencing strange behaviour while experimenting with SNMPv3 traps. Every time I define a trapsess directive like followed I get an error about an unknown user: trapsess -v3 -u trapuser -l authPriv -n -a MD5 -A authPass1 -x AES -X privPass1 192.168.2.240

transplant netsnmp into embedded device

2013-11-18 Thread yin . yao
Hi, I want to transplant netsnmp into my embedded device. Here is my configure option: CC=arm-none-linux-gnueabi-gcc ./configure --prefix=/usr/local/net-snmp-5.7.2/yaoyin --with-default-snmp-version=2 --with-logfile=/var/log/snmpd.log --with-persistent-directory=/var/net-snmp

Re: snmpwalk of Net Snmp throws the error Wrong Type (should be Counter64): INTEGER: 27344896

2013-11-18 Thread Niels Baggesen
Den 31-10-2013 06:23, Padmaja Sridharan skrev: HP-UNIX::fileSystemBlock.1073741828.0 = Wrong Type (should be Counter64): INTEGER: 8192 Your MIB file with the fileSystemBlock object defines this as a Counter64, but the agent returns an integer. Can you please help with the following queries

Re: Compilation issue on HPUX

2013-11-18 Thread Niels Baggesen
Den 07-11-2013 18:41, Felipe Souza skrev: Hello experts.. There is an issue over a compilation on HPUX. Could someone help me please? # uname -a HP-UX isxu310 B.11.31 U 9000/800 3832670166 unlimited-user license thanks in advance Felipe == # ./configure [snip] checking

Re: transplant netsnmp into embedded device

2013-11-18 Thread Niels Baggesen
Den 01-11-2013 02:22, yin.yao skrev: Then,I copy all libs into /usr/lib of my embedded device,these libs are below: libnetsnmp.a libnetsnmp.so.30.0.2 libnetsnmpagent.so.30 libnetsnmp.la libnetsnmpagent.a libnetsnmpagent.so.30.0.2 libnetsnmp.so

Re: transplant netsnmp into embedded device

2013-11-18 Thread Magnus Fromreide
On Fri, 2013-11-01 at 09:22 +0800, yin.yao wrote: Hi, I want to transplant netsnmp into my embedded device. Here is my configure option: CC=arm-none-linux-gnueabi-gcc ./configure --prefix=/usr/local/net-snmp-5.7.2/yaoyin --with-default-snmp-version=2 --with-logfile=/var/log/snmpd.log