How to Install the net-snmp

2008-01-30 Thread maruthi prasad
Dear Sir, Could please tell me the procedure how I can install the net-snmp package in to my Linux system and my target board. Do I need to remove the exsting one or not?. Thanks in Advance, -Maruthi - This SF.net email i

RE: SNMP v3 - Authentication - Report PDU/Trap

2008-01-30 Thread Mike Ayers
> From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Dave Shield > Sent: Wednesday, January 30, 2008 7:59 AM > On 30/01/2008, Buchupalli, Sasidevi > <[EMAIL PROTECTED]> wrote: > > So, per RFC, can I summarize: > > > > For SNMPv1, if the community string is incorrect, the agent

RE: IpAddress types being rewritten as signed integer

2008-01-30 Thread Larry Low
Ahh I see. I thought I had read differently. I'll just have to continue to decode the integers in my handlers. Thanks. Larry Low 4150 N Drinkwater Blvd., 5th Floor Scottsdale, AZ 85251 Office: 480.385.7045 E-mail: [EMAIL PROTECTED]' Telesphere Networks, Inc > -Original Message-

RE: snmpbulkget mismatch??

2008-01-30 Thread Mike Ayers
> From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of yuchen lu > Sent: Tuesday, January 29, 2008 6:56 PM > "snmpbulkget -v2c -c amail 4.4.4.31 hrStorageIndex > hrStorageType hrStorageDescr hrStorageSize hrStorageUsed" > > and the following is what bulkget returned, notice inde

Re: upgrading from 5.2.3 to 5.2.4

2008-01-30 Thread Dave Shield
On 30/01/2008, Bell, Adam <[EMAIL PROTECTED]> wrote: > a) the output into snmpd.conf is from net-snmp-config, it looks the same > as it did for 5.2.3. net-snmp-config reports v5.2.4 "Looks the same" is a dangerous assumption. I suggested copying the file to another system, in case a non-printing

RE: upgrading from 5.2.3 to 5.2.4

2008-01-30 Thread Bell, Adam
Here it is host/hr_system mibII/system_mib util_funcs mibII/vacm_conf mibII/vacm_context mibII/vacm_vars snmpv3/usmConf snmpv3/usmStats snmpv3/usmUser snmpv3/snmpEngine utilities/override utilities/execute Thanks, Adam -Original Message- From: Thomas Anders [mailto:[EMAIL PROTECTED] Se

RE: upgrading from 5.2.3 to 5.2.4

2008-01-30 Thread Bell, Adam
I appreciate your attention on this. a) the output into snmpd.conf is from net-snmp-config, it looks the same as it did for 5.2.3. net-snmp-config reports v5.2.4 b) I'll try your suggestions but I do not link in the UCD mibs, I posted the net-snmp-config output to Thomas, here it is host/hr_syste

Re: snmpinform questions

2008-01-30 Thread Antonio Grassi
Thanks very much for the answers. Wes Hardaker escribió: >> "AG" == Antonio Grassi <[EMAIL PROTECTED]> writes: >> > AG> - First of all, can snmp notifications be sent over TCP instead of UDP? > > Yes. > > AG> - snmpinform talks with snmpd in order to deliver the notification.

Re: installation guide

2008-01-30 Thread Wes Hardaker
> "CA" == Carey Auguste <[EMAIL PROTECTED]> writes: CA> I've been reading the document trying to find the installation instruction CA> for net-snmp 5.4.1. But couldn't find it. CA> Could u please email me the instruction http://www.net-snmp.org/docs/INSTALL.html -- Wes Hardaker Sparta, In

Re: snmp_log() statements - Where do They Get Logged?

2008-01-30 Thread Wes Hardaker
> "MA" == Mike Ayers <[EMAIL PROTECTED]> writes: MA> You put "-Le" in your snmpd.conf file? Sigh... Read the problem too quickly. no. Please submit a patch to make snmpd.conf parsing (snmp.conf actually) handle logging options. Thanks! -- Wes Hardaker Sparta, Inc. --

Re: snmpinform questions

2008-01-30 Thread Wes Hardaker
> "AG" == Antonio Grassi <[EMAIL PROTECTED]> writes: AG> - First of all, can snmp notifications be sent over TCP instead of UDP? Yes. AG> - snmpinform talks with snmpd in order to deliver the notification. I've AG> seen that snmpd has a buffer of commands to process. Does snmpinform AG> exi

Re: SNMP v3 - Authentication - Report PDU/Trap

2008-01-30 Thread Dave Shield
On 30/01/2008, Buchupalli, Sasidevi <[EMAIL PROTECTED]> wrote: > So, per RFC, can I summarize: > > For SNMPv1, if the community string is incorrect, the agent should send > an authenticationFailure Trap. > For SNMPv2c, if the community string is incorrect, the agent should send > an authenticationF

RE: SNMP v3 - Authentication - Report PDU/Trap

2008-01-30 Thread Buchupalli, Sasidevi
So, per RFC, can I summarize: For SNMPv1, if the community string is incorrect, the agent should send an authenticationFailure Trap. For SNMPv2c, if the community string is incorrect, the agent should send an authenticationFailure Trap. For SNMPv3, if the auth/priv passphrases are incorrect or if

Re: upgrading from 5.2.3 to 5.2.4

2008-01-30 Thread Dave Shield
On 30/01/2008, Bell, Adam <[EMAIL PROTECTED]> wrote: > I still see /var/net-snmp/snmpd.conf: Line 34: > Warning: Unknown token: createUser > > What else should I be looking at? Two basic possibilities spring to mind: a) There's a typo or similar in the snmpd.conf file b) There's som

Re: upgrading from 5.2.3 to 5.2.4

2008-01-30 Thread Thomas Anders
Bell, Adam wrote: > I also include mibII/vacm_conf,mibII/vacm_context,mibII/vacm_vars in the > configure script. > I also included > snmpv3/usmConf,snmpv3/usmStats,snmpv3/usmUser,snmpv3/snmpEngine > > I have verified the vacm code has been compiled and included in the > snmpd build. > > I still s

RE: upgrading from 5.2.3 to 5.2.4

2008-01-30 Thread Bell, Adam
Dave, The creatuser was just a typo here /var/net-snmp/snmpd.log contains the line: createUser SHAAESUser SHA "shapassword" AES aespassword /usr/local/share/snmp/snmpd.conf contains the line: rwuser SHAAESUser I also include mibII/vacm_conf,mibII/vacm_context,mibII/vacm_vars in the configure s

Re: need help setting a basic extented snmp agent with perl

2008-01-30 Thread Dave Shield
On 28/01/2008, Jordi Moles Blanco <[EMAIL PROTECTED]> wrote: > I would like to do some thing as easy as this: > in my snmpd.conf > pass.1.2.3.4.5.6.7.8.9.10 /root/myperl.pl > then in this myperl.pl > something as simple as. > echo "77"; > and finally from the computer that gets all the

Re: Problem with defining custom data type (TEXTUAL-CONVENTION)

2008-01-30 Thread Dave Shield
On 28/01/2008, Manfred Wassmann <[EMAIL PROTECTED]> wrote: > The current design is that there is one OID where I can query the current > version of a device and a second OID where I can set a Version to be > updated. something like: versionCurrent OBJECT-TYPE MAX-ACCESS read-onl

Re: IpAddress types being rewritten as signed integer

2008-01-30 Thread Dave Shield
On 28/01/2008, Larry Low <[EMAIL PROTECTED]> wrote: > Here is the capture from an event. As you can see the issue. IpAddress is > by definition formatted as an unsigned integer but snmptrapd is detecting it > as a signed integer. Actually, assuming that these MIB objects are defined using the sy

Re: Failed object

2008-01-30 Thread Dave Shield
On 28/01/2008, Mike Ayers <[EMAIL PROTECTED]> wrote: > what does the agent do with MIB files anyway? Disman? Close. The agent only needs MIB files if you are going to be referring to MIB objects by name in the snmpd.conf file. The DisMan support does not inherently require MIB files, since i

Re: SNMP v3 - Authentication - Report PDU/Trap

2008-01-30 Thread Dave Shield
On 25/01/2008, Karthick Babu <[EMAIL PROTECTED]> wrote: > RFC 3414, section 3.2 (Processing an Incoming SNMP Message), > point no. 6 says as follows : > If the authentication module returns failure, then ... > . an error indication (authenticationFailure) > together with the OID and value

Query on accessing table data set values

2008-01-30 Thread Namburi, Srivastava (IE10)
Hi, I have a table which has been defined & created in the following way. Table initialization code snippet is as given below table_set = netsnmp_create_table_data_set("myStatsTable"); table_set->allow_creation = 1; netsnmp_table_set_add_indexes(table_set, ASN_INTEGER, 0); n

Re: One question about net-snmp

2008-01-30 Thread Dave Shield
On 25/01/2008, Mike Ayers <[EMAIL PROTECTED]> wrote: > > We want to support duplicate attribute name in different > > table with different OID. > > You can have the same relative name for a column (attribute) > in two different tables. Just as long as the two tables are defined in different

Re: upgrading from 5.2.3 to 5.2.4

2008-01-30 Thread Dave Shield
On 29/01/2008, Bell, Adam <[EMAIL PROTECTED]> wrote: > The second part of this problem relates to the USM user creation. My > users were all erased upon running 5.2.4 the first time. Presumably because the agent didn't include the vacm_conf module at that point. (Since it's this module that wou

RE: upgrading from 5.2.3 to 5.2.4

2008-01-30 Thread Bell, Adam
That fixed up the vacm token errors - Thanks. The second part of this problem relates to the USM user creation. My users were all erased upon running 5.2.4 the first time. I ran net-snmp-config --create-snmpv3-user -A SHA -a password -X AES -x password SHAAESUser. That put the proper line in /v