RE: Re:Re: send_v3trap(...)

2009-11-17 Thread Mike Ayers
> From: karl [mailto:mai...@126.com] > Sent: Monday, November 16, 2009 5:48 PM > i configured " trapsess -v 3 -e 0x010203040506 -u myuser -l > authNoPriv -a MD5 -A 123456789 dsthost" in the file snmpd.conf,but the > packet sents had a wrong EngineID,that is > 80001F888025A2B45A1021014B000

Re:RE: Re:Re: send_v3trap(...)

2009-11-17 Thread karl
Hi: I use the command line "snmptrap -v 3 -a MD5 -A 1 -x DES -X 123456789 -l authPriv -u myuser -e 0x010203040506 192.168.1.112 0 linkUp.0" , the dst_machine can receive the trap noticafication decode it .And the EngineID of the packet is "010203040506" as i hoped. Thanks, karl

RE: 回复:RE: The problem about the net-snmp installation

2009-11-17 Thread Mike Ayers
> From: chenyapu1...@qq.com [mailto:chenyapu1...@qq.com] > Sent: Tuesday, November 17, 2009 12:53 AM > I got snmpd in directory /usr/local/sbin/ but I cannot start it use > command ./snmpd start,the hint is no snmpd service. can you tell me > more detailed??? You are getting confused.

How to change key/password in the Agent

2009-11-17 Thread Chi . Guan
Hi, all, I am new of net-snmp, I am trying to change the authentication key and private key in a agent and using snmpusm. But failed. 1. If I use /usr/local/bin/snmpusm -v3 -l authPriv -u test-agent -l authPriv -a MD5 -A test_authkey -x DES -X test_privkey 192.168.83

Re: net-snmp and disk space

2009-11-17 Thread Dave Shield
2009/11/17 Gabriele Giorelli : > snmpwalk -v2c -c public localhost | grep -i dsk > > does not return anything. Correct. The disk entries are part of a Net-SNMP enterprise-specific part of the OID tree. Please see the FAQ entry I mentioned earlier. Dave --

Re: net-snmp and disk space

2009-11-17 Thread Gabriele Giorelli
Hi snmpwalk -v2c -c public localhost | grep -i dsk does not return anything. --- On Tue, 11/17/09, Dave Shield wrote: > From: Dave Shield > Subject: Re: net-snmp and disk space > To: "Gabriele Giorelli" > Cc: net-snmp-users@lists.sourceforge.net > Date: Tuesday, November 17, 2009, 4:50 AM >

Re: snmpgetnext for mips

2009-11-17 Thread Dave Shield
2009/11/17 forumde...@tataelxsi.co.in : >       I have been trying the snmpgetnext command on my Linux it is > working fine, when I do it from linux to cross compiled snmp on the mips > platform I am not getting the values, Has anyone encountered a similar > problem? > > *The error coming up is:* >

snmpgetnext for mips

2009-11-17 Thread forumde...@tataelxsi.co.in
Hello, I have been trying the snmpgetnext command on my Linux it is working fine, when I do it from linux to cross compiled snmp on the mips platform I am not getting the values, Has anyone encountered a similar problem? *The error coming up is:* #snmpgetnext -v 2c -c public 125.125.1.

Re: Question about mib2c.create-dataset.conf

2009-11-17 Thread Dave Shield
2009/11/16 X Z : > Two functions are created automatically: > myTable_createEntry(...) and myTable_removeEntry(...) Not if you're using the create-dataset template, surely? > But I couldn't find where the function myTable_removeEntry was called. > Is it supposed to be called somewhere? If your

Re: Trap Ip address on command line

2009-11-17 Thread forumde...@tataelxsi.co.in
Thanks! Dave Shield wrote: > 2009/11/17 forumde...@tataelxsi.co.in : > >> I am getting the SNMP v2 traps. I have trap2sink ipaddress >> configured in my snmpd.conf. >> Is there anyway where I can start the agent by giving the >> trap2sink ipaddress on the Command line, without modif

回复:RE: The problem about th e net-snmp installation

2009-11-17 Thread 飞飞
-- 原始邮件 -- 发件人: "mike_ayers-net-snmp-"; 发送时间: 2009年11月17日(星期二) 凌晨3:57 收件人: "飞飞"; "net-snmp-users"; 主题: RE: The problem about the net-snmp installation > From: 飞飞 [mailto:chenyapu1...@qq.com] > Sent: Sunday, November 15, 2009 7:16 PM > Apparently everyt

Magic net-snmp installation problem

2009-11-17 Thread 飞飞
Hello everybody: SuSE 11.2,net-snmp 5.5,I downloaded the source,and run the commands: tar -zxvf net-snmp-5.5.tar.gz cd net-snmp-5.5 ./configuresome options here make sudo make install no error message and tips in the who

Re: Trap Ip address on command line

2009-11-17 Thread Dave Shield
2009/11/17 forumde...@tataelxsi.co.in : >       I am getting the SNMP v2 traps. I have trap2sink ipaddress > configured in my snmpd.conf. >       Is there anyway where I can start the agent by giving the > trap2sink ipaddress on the Command line, without modifying the code? snmpd --trap2sink=

Re: net-snmp and disk space

2009-11-17 Thread Dave Shield
2009/11/17 Gabriele Giorelli : > a snmpwalk does not show the MIBs related to disk What was the command that you gave? The FAQ entry "Why can't I see values in the tree?" may possibly be relevant here Dave ---

Trap Ip address on command line

2009-11-17 Thread forumde...@tataelxsi.co.in
Hi, I am getting the SNMP v2 traps. I have trap2sink ipaddress configured in my snmpd.conf. Is there anyway where I can start the agent by giving the trap2sink ipaddress on the Command line, without modifying the code? Thanks! Forum --

net-snmp and disk space

2009-11-17 Thread Gabriele Giorelli
Hi I installed NET-SNMP version 5.2.5.1 on fedora 4 (./configure; make ; make install) I am interested in monitoring the disk space. I edited snmpd.conf disk / 0 a snmpwalk does not show the MIBs related to disk Am I missing something? thanks --