Re: sample snmptrapd.conf to support custom port?

2010-05-19 Thread Dave Shield
[ First - *please* don't mail me privately, without copying any responses to the mailing list. I don't have the time or inclination to offer private, unpaid, SNMP consultancy. Keep discussions to the list, where others can both learn and offer advice. Thanks. ] On 19 M

Re: IPv6

2010-05-19 Thread Dave Shield
On 18 May 2010 22:09, Buchupalli, Sasidevi wrote: > Does Net-SNMP support registering IPv6 managers. What do you mean by "rregistering [a] manager" ? There are two situations where the agent might specify a network address: - acceptable sources for community-based requests (note th

Re: Howto setup netsnmp for proxying and failover

2010-05-19 Thread Dave Shield
On 18 May 2010 22:38, Boris Zweimueller wrote: > For failover reasons, the hardwares device is doubled. > Failure of one device should be handeled transparently. > So ...  SNMP Requests should always go to both internal devices > How can one request be forwarded to two agents? > How can answers b

Re: v3 informs - snmpd.conf

2010-05-19 Thread Dave Shield
On 19 May 2010 01:04, Joan Landry wrote: > I would like to know if there is a way to configure net-snmp via > snmpd.conf to correctly send traps or informs See the section of snmpd.conf(5) entitled "Notification Handling". In particular, SNMPv3 notifications are configured using "trapsess". You'l

how to configure net-snmp agent version at run time?

2010-05-19 Thread chenwill
hi, If a package is built with v3, it means net-snmp agent can handle request of snmp version v1, v2c and v3. how can I confiure it as v2c, just accepting v1 and v2c request at run time? ___

Re: how to configure net-snmp agent version at run time?

2010-05-19 Thread Dave Shield
2010/5/19 chenwill : > If a package is built with v3, it means net-snmp agent can handle request of > snmp version v1, v2c and v3. > how can I confiure it as v2c, just accepting v1 and v2c request at run time? Don't configure any SNMPv3 access control settings. It will then not accept any SNMPv3 r

To many open files

2010-05-19 Thread Daniel Stålnacke
Hi, I'm using snmp to read status once every secound from a device and after about 10 min I get an error which say that I have to many open files. I have tried to find the error and close about anything I can find, but the problem remains. Here is the code: http://www8.cs.umu.se/~dv05dse/snmpCode

Re: question on set_action and set_commit

2010-05-19 Thread Dave Shield
On 18 May 2010 18:56, Kathy McLeod wrote: > We are saving some of our "set" values in a database or possibly a flat > file.  Based on the mib2c stubs generated for scalars, my initial > interpretation was that the SET_ACTION should write the value(s) to the DB: > > case MODE_SET_ACTION: >        

Re: To many open files

2010-05-19 Thread Dave Shield
On 19 May 2010 11:00, Daniel Stålnacke wrote: > I'm using snmp to read status once every secound from a device and after > about 10 min I get an error which say that I have to many open files. I have > tried to find the error and close about anything I can find, but the problem > remains. I woul

using NetSNMP::agent with SNMP::MIB

2010-05-19 Thread Joao Ferreira gmail
Hello all, in the past I've done agent extension by using C, mib2c, and compiling in a MIB C module. Now I'm facing the same task but this time in Perl. I will use NetSNMP::agent to implement a sub-agent, registered on our private enterprice OID/branch. The speed at which I will be able to refre

syntax on custom port for trapd in the conf file?

2010-05-19 Thread Snmp Nmcsnmp
Hi folks, I need to be able to specify the custom port for trapd to listen on for all incoming traps. The port has to be specify in the config file and not from the command line, is it possible? thanks to Dave Shield for pointing out my mistake earlier with the snmpTrapdAddr format. thanks, Huy

Re: syntax on custom port for trapd in the conf file?

2010-05-19 Thread Dave Shield
On 19 May 2010 16:44, Snmp Nmcsnmp wrote: > I need to be able to specify the custom port for trapd to listen on for all > incoming traps. The port has to be specify in the config file and not from > the command line, is it possible? The syntax for the snmpTrapdAddr directive is exactly the same a

RE: setting ifAdminStatus when interface cannot go up

2010-05-19 Thread Lewis Adam-VNQM87
Hmmm, no replies. As a matter of interest, can anyone tell me whether the question was too dumb, not appropriate for this forum, so incredibly clever it's beyond the scope of this forum, ... Better still, if anyone knows where I could get an answer, it would be much appreciated. Regards, Adam.

Re: Perl-module:make test failure

2010-05-19 Thread vineet gehlot
hi.. plz tell me abt how to set LD_LIBRARY_PATH Regards, Vineet Gehlot --- On Tue, 18/5/10, Bart Van Assche wrote: From: Bart Van Assche Subject: Re: Perl-module:make test failure To: "vineet gehlot" Cc: net-snmp-users@lists.sourceforge.net, "Thomas Anders" Date: Tuesday, 18 May, 2010, 10

RE: setting ifAdminStatus when interface cannot go up

2010-05-19 Thread Ron Rader
> From: Lewis Adam-VNQM87 [mailto:vnq...@motorola.com] > As a matter of interest, can anyone tell me whether the question was too > dumb, not appropriate for this forum, so incredibly clever it's beyond > the scope of this forum, ... Probably means that nobody has done exactly what you asked...

Re: Perl-module:make test failure

2010-05-19 Thread vineet gehlot
yes i did followed the same steps as you mentioned... 1)./configure --with-perl-modules ...: done 2)make: done 3)make test: done 4)make perltest: error .. PERL_DL_NONLAZY=1 /usr/bin/perl "-I../blib/lib" "-I../blib/arch" test.pl 1..90 Can't load '../blib/arch/auto/NetSNMP/default_store/def

RE: setting ifAdminStatus when interface cannot go up

2010-05-19 Thread Lewis Adam-VNQM87
Thanks Ron. I had a rummage through the net-snmp support for the interface mib but I couldn't see much in the way of exception handling or cross-checking with the value of ifOperStatus. Lots of "TODO" comments lurking in there. Maybe it's regarded as an implementation-specific design decision but

RE: setting ifAdminStatus when interface cannot go up

2010-05-19 Thread Ron Rader
> From: Lewis Adam-VNQM87 [mailto:vnq...@motorola.com] > I had a rummage through the net-snmp support for the interface mib but I > couldn't see much in the way of exception handling or cross-checking > with the value of ifOperStatus. Lots of "TODO" comments lurking in Might also figure out whe

Re: Perl-module:make test failure

2010-05-19 Thread Bart Van Assche
Hello, You can run the perl tests e.g. as follows on a Unix system (assuming you are using a POSIX-compliant shell, all on one line): LD_LIBRARY_PATH=$PWD/agent/helpers/.libs:$PWD/agent/.libs:$PWD/snmplib/.libs: make -C perl test Bart. On Wed, May 19, 2010 at 7:19 PM, vineet gehlot wrote: > hi

RE: setting ifAdminStatus when interface cannot go up

2010-05-19 Thread Lewis Adam-VNQM87
Just to give some context to what I am doing: basically, we are looking to use a cut-down version of the net-snmp agent code as one of many tasks running on an embedded platform. The platform has a number of interfaces, some of which (currently) cannot be controlled via SNMP. What I was trying to w

RE: AgentX bug?

2010-05-19 Thread X Z
Version 5.5 did have the fix for the problem I described. Thank you very much. Xuan > Date: Mon, 17 May 2010 22:11:43 +0100 > Subject: Re: AgentX bug? > From: d.t.shi...@liverpool.ac.uk > To: b...@live.com > CC: net-snmp-users@lists.sourceforge.net > > On 17 May 2010 20:48, X Z wrote: > >> Whi

RE: v3 informs - snmpd.conf

2010-05-19 Thread Joan Landry
I have tried to get v3 traps to work - and unfortunately have had no luck. I have used a v2 trap2sink in the past and so I know the basic trap mechanism works in my system. For v3 I have the following set up in snmpd.conf: authtrapenable 1 group groupV2usm usm v3user4 view readview included .1

Re: Howto setup netsnmp for proxying and failover

2010-05-19 Thread Boris Zweimueller
> Hi Dave > > thanks a lot for your fast answer! > > - I don't know how you'd want to handle receiving different answers from > - the parralel proxied agents, but the above should be a workable arrangement. > Answers from different parallel proxies are simply compared. If they are > different t

RE: v3 informs - snmpd.conf

2010-05-19 Thread Ron Rader
> From: Joan Landry [mailto:joan.lan...@overturenetworks.com] > Am I missing something? Reviewing http://www.net-snmp.org/tutorial/tutorial-5/commands/snmptrap-v3.html I notice "The difference is that SNMPv3 TRAPs use the engineID of the local application sending the trap rather than the engin

RE: v3 informs - snmpd.conf

2010-05-19 Thread Joan Landry
Thanks - I had not configured the receiving station correctly. Thanks - for the help!!! -Original Message- From: Ron Rader [mailto:ron.ra...@cipheroptics.com] Sent: Wednesday, May 19, 2010 5:56 PM To: Joan Landry Cc: net-snmp-users@lists.sourceforge.net Subject: RE: v3 informs - snmpd.con

RE: v3 informs - snmpd.conf

2010-05-19 Thread Joan Landry
I am now able to send v3 traps - but not able to send informs - I added the -Ci to the trapsess line, where the engineid is the engineid of my sending agent. Do I need to specify in the engineid of the remote management station if I am sending and inform? Thanks, Joan -Original Message- F

Please i need support

2010-05-19 Thread Mahmmoud Rashed
Dear supporter, I have a Cisco access point WAP200, Which is connected to my computer through a cable.. Can i run a command to get the RSSI (Signal Stregth) per DBm between it and any client that is connected to the access point. thanks for your support.

Re: Please i need support

2010-05-19 Thread Max
Check the Cisco site and the manuals that come with the device and see if your device has an embedded SNMP agent, if it does you can then run commands to get information from it. Read up on the commands you can use at http://net-snmp.sf.net/ Good luck! On Wed, May 19, 2010 at 11:17 PM, Mahmmoud