Re: external authentification

2010-06-22 Thread Torsten Bitterlich
Am Dienstag 22 Juni 2010 17:15:03 schrieb Wes Hardaker: > > On Tue, 15 Jun 2010 11:13:55 +0200, Torsten Bitterlich > > said: > > TB> I would like to know if there are any new developments on external > TB> authentication for SNMP. Is it possible to use PAM or any external > TB> mechanism

Net-SNMP on AIX

2010-06-22 Thread Stock, Roger W
I created a user: adding the following line to /var/net-snmp/snmpd.conf: createUser velocity MD5 "velocitypwd" DES adding the following line to /usr/local/share/snmp/snmpd.conf: rwuser velocity BUt, when I attempt an snmpget it fails: # snmpget -v 3 -u velocity -l authNoPriv -a MD5 -A ve

RE: Compile my sub-agent erros

2010-06-22 Thread Mike Ayers
> From: Alexander King [mailto:chenyapu1...@qq.com] > Sent: Tuesday, June 22, 2010 1:07 AM > My project is running its key step at this time.^_^,my snmp sub-system > has compiled several times with the whole system(X86 64bits,Linux > kernel 2.6.30).I got a lot errors somtthing like this: > > uit.

Re: Trying to update a FAQ on the Net-SNMP Wiki but cannot

2010-06-22 Thread Max
Thanks, Wes! - Max On Tue, Jun 22, 2010 at 11:01 AM, Wes Hardaker wrote: >> On Sun, 20 Jun 2010 17:37:41 -0400, Max >> said: > > M> When I hit edit on that page all i see is the question itself and a > M> few wiki links in the editor pane - I do not see the FAQ text itself. > > It's in

64 bit counter error messages

2010-06-22 Thread Ron Rader
I'm getting some flak over error messages generated by the net-snmp agent (snmpd). I get the same errors on both v5.4.1 and v5.5 agents: snmpd[946]: c64 32 bit check failed snmpd[946]: netsnmp_assert 1 == new_val->high failed int64.c:419 netsnmp_c64_check32_and_update() I have seen these err

Re: Shared object "libperl.so" not found, required by "libnetsnmphelpers.so.20"

2010-06-22 Thread Wes Hardaker
> On Tue, 15 Jun 2010 12:36:22 +0800, nicHolas chew > said: nc> Hi i am facing this problem using snmpd. can you help me? nc> Command : > /usr/local/etc/rc.d/snmpd start nc> Error: /libexec/ld-elf.so.1: Shared object "libperl.so" not found, required by "libnetsnmphelpers.so.20" You pr

Re: injecting a handler to chain

2010-06-22 Thread Wes Hardaker
> On Sun, 13 Jun 2010 18:08:59 +0300 (IDT), "Asaf Ohaion" > said: AO> how can I inject handler for a leaf which is registered within AO> the net-snmp code ? You can do it by name instead of OID... See the "injeectHandler" token option in the snmpd.conf manual page. -- Wes Hardaker Co

Re: external authentification

2010-06-22 Thread Wes Hardaker
> On Tue, 15 Jun 2010 11:13:55 +0200, Torsten Bitterlich > said: TB> I would like to know if there are any new developments on external TB> authentication for SNMP. Is it possible to use PAM or any external TB> mechanism to authenticate users ? For the current release I could TB> not fin

Re: tracking agentx communication to find out lack of answer reason

2010-06-22 Thread Wes Hardaker
> On Tue, 15 Jun 2010 15:40:31 +0200, Julian Kania > said: JK> I have a difficulty with netsnmp 5.4.3 running on hpux11.23: snmpd doesn't JK> answer to agentx request, and I want to know how to force snmpd to log why JK> it doesn't answer. You might try turnning on debugging for agentx

Re: net-snmp binaries for Solaris 9 SPARC platform

2010-06-22 Thread Wes Hardaker
> On Fri, 18 Jun 2010 09:23:02 -0400, John Waller > said: JW> Hi. I was directed to the net-snmp site to download the 5.0.9 JW> binaries for the Solaris 9 SPARC platform. The only binaries I found JW> were for 5.5 and none of those were for the Solaris 9 SPARC. The JW> actual file name i

Re: SNMP V3 missing components

2010-06-22 Thread Wes Hardaker
> On Tue, 15 Jun 2010 05:29:06 -0700, "Joan Landry" > said: JL> 1. sending traps or informs using the notify filtering defined in the JL> snmpNotifyFilterTable and the vacmAccessNotifyViewName. JL> 2. snmpTargetAddrRetryCount and snmpTargetAddrTimeout JL> Any info on how to get these f

Re: Any way to have trapsink or trap2sink send traps to a given destination ONLY if the OID matches a configured OID prefix?

2010-06-22 Thread Wes Hardaker
> On Fri, 18 Jun 2010 15:20:09 -0400, Max > said: M> Thank you. I will publish this as an web-1ndexable document so that M> others do not have to spend their time figuring this out again :). That'd be great! If you could put it in our wiki that'd be the best spot! -- Wes Hardaker Cob

Re: query about monitor expression

2010-06-22 Thread Wes Hardaker
> On Sun, 20 Jun 2010 13:47:48 +0530, gunsnroses said: g> How do I write monitor expression for same OID, one for high and g> another for low voltage? You can have two different monitors for the same OID, just name them differently. -- Wes Hardaker Cobham Analytic Solutions ---

Re: Trying to update a FAQ on the Net-SNMP Wiki but cannot

2010-06-22 Thread Wes Hardaker
> On Sun, 20 Jun 2010 17:37:41 -0400, Max > said: M> When I hit edit on that page all i see is the question itself and a M> few wiki links in the editor pane - I do not see the FAQ text itself. It's in a template instead. The FAQ in the wiki needs some work to make it more easy to edit

Re: another query on monitor command

2010-06-22 Thread Wes Hardaker
> On Sun, 20 Jun 2010 19:51:34 +0530, gunsnroses said: g> Now, how do I get a trap everytime on this when this OID value g> changes? I plan to check every 60 sec to see if OID value has changed g> and then fire the trap as the configuration in snmpd.conf file. I g> think this is simple and th

Re: creating first snmpv3 user .....

2010-06-22 Thread Wes Hardaker
> On Mon, 21 Jun 2010 16:46:13 +0530 (IST), ganeshyell...@bel.co.in said: g> how to create first time snmpv3 user. g> i found that, in readme.snmpv3, we have to use net-snmp-config g> command for this. g> when i tried the following command g> c:\usr\bin\net-snmp-config --create-snmpv3-user

Re: how to increase the MaxMsgSize to 5000

2010-06-22 Thread Wes Hardaker
> On Sun, 20 Jun 2010 08:56:46 -0700 (PDT), Malathi Panyam > said: MP> After digging through the agent code, I figured out that we set the SNMP_MAX_MSG_SIZE to 1472 in snmp_api.h. MP> Can we increase this size? is it advisable? The biggest problems with maximum messages sizes is that

Re: how to send octet string using snmptrap command

2010-06-22 Thread Dave Shield
On 21 June 2010 13:43, Harendra Pratap Singh wrote: > What happens if you omit this particular varbind from the command? > i.e. >    /usr/bin/snmptrap 10.201.1.180:162 ' ' 1.3.6.1.4.1.7684.2.5.0.10 >             NOTIFICATION-MIB:Port i 1 NOTIFICATION-MIB:epOperStatus i 1 ? >>> trap goes wi

Re: snmpv3 user authorization error

2010-06-22 Thread Dave Shield
On 22 June 2010 11:36, wrote: > 2. snmpget -v 3 -u yellapu -a MD5 -A passphrase  localhost sysLocation.0 > > error inpacket: > reason:authorization errorFrom snmpd.conf "rouser yellapu priv" So the user "yellapu" is only authorised for access when using authPriv. (i.e. encrypted requests).

snmpv3 user authorization error

2010-06-22 Thread ganeshyellapu
hi, i wanted to create snmpv3 users. i succeeded in creating readonly user but not readwrite user. i tried the following commands. 1. snmpget -v 3 -u ganesh -a MD5 -A passphrase localhost sysLocation.0 is working properly. But the following two commands are not working. 2. snmpg

Compile my sub-agent erros

2010-06-22 Thread Alexander King
Hello everybody and Dave: My project is running its key step at this time.^_^,my snmp sub-system has compiled several times with the whole system(X86 64bits,Linux kernel 2.6.30).I got a lot errors somtthing like this: uit.h:16: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ befor