To implement the snmpTargetAddrExttable as per the rfc3584.

2009-04-16 Thread sanjaykumar
Hi, I am looking to implement the snmpTargetAddrExttable as per the rfc3584. Could anyone anyone tell which mib config shall I use ? Or does any Patch is available for this ? Rgds, Sanjay -- Stay on top of everything

Re: length of community strings

2009-04-16 Thread Bart Van Assche
On Thu, Apr 16, 2009 at 8:52 PM, Mike Ayers wrote: >> See >> also http://en.wikipedia.org/wiki/User_Datagram_Protocol. > >        Wikipedia as a technical reference?!  Please... If you don't trust Wikipedia, look up the appropriate RFC. You can find a reference to the RFC in which UDP has been de

error come out when executing ./snmptrapd -v

2009-04-16 Thread XIANG Lei
Does anybody know that the error: .libs/snmptrapd: symbol lookup error: /usr/lib64/libnetsnmpagent.so.10: undefined symbol: boot_DynaLoader when input ./snmptrapd -v in the linux cmd line. The platform is Linux RH ES 5.3 (64 bits). I had tried to link the netsnmp library in /usr/local/lib from

Re: Why do I have to start snmpd twice to get USM to work?

2009-04-16 Thread Anthony Wright
Mike Ayers wrote: >> If I have a manually generated snmpd.conf but no >> automatically generated >> snmpd.conf (with the modified usmUser records) >> > > I think you meann that you have an snmpd conf file > (/usr/local/snmp/etc/snmpd.conf) but no persistent data file > (/var/snmp/snmp

Trap to command rather than remote snmptrapd

2009-04-16 Thread Anthony Wright
I suspect I know the answer to this, but is it possible to get snmpd to run a command when it issues a trap rather than sending out a trap packet? I want to keep an eye on disk space and when it gets to high remove some log files. I wondered if it is possible for snmpd to watch the disk space, and

RE: Why do I have to start snmpd twice to get USM to work?

2009-04-16 Thread Mike Ayers
> From: Anthony Wright [mailto:anth...@overnetdata.com] > Sent: Thursday, April 16, 2009 12:43 PM > If I have a manually generated snmpd.conf but no > automatically generated > snmpd.conf (with the modified usmUser records) I think you meann that you have an snmpd conf file (/usr/loca

How do you generate a USM localized key?

2009-04-16 Thread Anthony Wright
I'm trying to get USM authentication and encryption working on an SNMPv3 server, and don't want to store the password in the snmpd.conf file. Due to the way my server works, the contents of the snmpd.conf generated by snmpd are destroyed at a reboot (it's a virtual machine which resets to initial

Why do I have to start snmpd twice to get USM to work?

2009-04-16 Thread Anthony Wright
If I have a manually generated snmpd.conf but no automatically generated snmpd.conf (with the modified usmUser records) when I start snmpd all requests to the server that use USM authentication timeout. If I stop snmpd & restart it without changing a thing the requests now complete successfully. Th

RE: length of community strings

2009-04-16 Thread Mike Ayers
> From: Bart Van Assche [mailto:bart.vanass...@gmail.com] > Sent: Wednesday, April 15, 2009 12:05 PM > An UDP packet can contain at most 65527 bytes data. UDP packets that > do not fit in a single Ethernet packet (max. 1500 bytes when not using > GbE jumbo frames) get fragmented over multiple Et

Re: why do we put .0 after sysUpTime OID?

2009-04-16 Thread Dave Shield
2009/4/16 acec acec : > I checked rfc1213 MIB definition, OID of sysUpTime is "1.3.6.1.2.1.1.3". The OID of the MIB (scalar) *object* is .1.3.6.1.2.1.1.3 The OID of the (sole) *instance* of this MIB object is .1.3.6.1.2.1.1.3.0 Have a quick read up on how SNMP represents scalar instances. Dave

why do we put .0 after sysUpTime OID?

2009-04-16 Thread acec acec
Hi, all I checked rfc1213 MIB definition, OID of sysUpTime is "1.3.6.1.2.1.1.3". In http://www.net-snmp.org/tutorial/tutorial-5/commands/snmptrap.html, why do we use "1.3.6.1.2.1.1.3.0" instead of "1.3.6.1.2.1.1.3" to send a trap? Thanks a lot. Arden

Re: Why does net-snmp generate an extra request internally?

2009-04-16 Thread Dave Shield
2009/4/16 Fulko Hew : > 1/ This is a side effect of my Perl based sub-agent not being able to > register itself against the top tree 1.x (the master agent complains > about multiple registrations) I will examine if/what changes might be > required in Net::SNMP to allow/superceed existing registrati

Re: Why does net-snmp generate an extra request internally?

2009-04-16 Thread Fulko Hew
On Thu, Apr 16, 2009 at 3:59 AM, Dave Shield wrote: 2009/4/16 Fulko Hew : > > While testing my 'network simulator' agent, I'm finding that Net-SNMP > > appears to be generating an extra (ie. unexpected) getnext request > > internally that gets handed down to agents. > > Are you talking about commu

Re: snmpd.conf IPaddress

2009-04-16 Thread Dave Shield
2009/4/16 Raghu Ramaraj : > > I am getting like ... > > [r...@a2md06031 snmp]# snmpset -v1 -c democommunity 172.22.68.14 > system.sysLocation.0 s "hai" > Error in packet. > Reason: (noSuchName) There is no such variable name in this MIB. > Failed object: SNMPv2-MIB::sysLocation.0 First th

RE: snmpd.conf IPaddress

2009-04-16 Thread Raghu Ramaraj
I am getting like ... [r...@a2md06031 snmp]# snmpset -v1 -c democommunity 172.22.68.14 system.sysLocation.0 s "hai" Error in packet. Reason: (noSuchName) There is no such variable name in this MIB. Failed object: SNMPv2-MIB::sysLocation.0 Thanks & Regards, Raghu -Original Message

Re: snmpd.conf IPaddress

2009-04-16 Thread Dave Shield
2009/4/16 Tanisha Kashyap : >> [r...@a2md06031 snmp]# snmpset -v1 -c democommunity 172.22.68.14 >> system.sysLocation.0="hai" >> system.sysLocation.0=hai: Needs type and value > Correction: > [r...@a2md06031 snmp]# snmpset -v1 -c democommunity 172.22.68.14 > system.sysLocation.0 s "hai" That wo

RE: snmpd.conf IPaddress

2009-04-16 Thread Tanisha Kashyap
Correction: [r...@a2md06031 snmp]# snmpset -v1 -c democommunity 172.22.68.14 system.sysLocation.0 s "hai" "No task is so humble that it does not offer an outlet for individuality" -Original Message- From: Raghu Ramaraj [mailto:raghu_rama...@mindtree.com] Sent: Thursday, April 16, 2009

RE: snmpd.conf IPaddress

2009-04-16 Thread Raghu Ramaraj
Hi, Thanks for your response. It is working now. But if I give like [r...@a2md06031 snmp]# snmpget -v1 -c democommunity 172.22.68.14 system.sysLocation.0 SNMPv2-MIB::sysLocation.0 = STRING: HW_LAB [r...@a2md06031 snmp]# snmpset -v1 -c democommunity 172.22.68.14 system.sysLocation.0="hai"

Why are Session Timeout and Session Retries values hard coded

2009-04-16 Thread Logeswari Viswanath
Hi all, Why are the values for the session attributes such as session timeout and retries are hard coded while initializing the session attributes in the function subagent_open_master_session() for the sub-agent? Can't these values be made configurable by the user through the variables age

Re: snmpd.conf IPaddress

2009-04-16 Thread Dave Shield
2009/4/16 Raghu Ramaraj : > Is there any other way to give network address like from IP (172.22.*.*) to > IP(172.23.*.*) ? > > If I want to access the agent from more that one system , do we need to give > IPaddress in snmd.conf? Please read the snmpd.conf(5) man page. In particular, the sections

Re: variable bindings

2009-04-16 Thread Dave Shield
2009/4/16 venkatgiri : > the variable binding consist of the "object Id + value". > can the value be an object Id? If the syntax of that particular MIB object is OBJECT IDENTIFIER, then yes. There are several examples of this in the Net-SNMP agent code. Dave --

Using lmsensors on net-SNMP version 5.4.2.1

2009-04-16 Thread Patrick Cauchi
Hello, I am trying to obtain CPU temperature and fan speed using net-SNMP version 5.4.2.1 on an E450 Enterprise Server using Solaris 9. #snmpwalk -v 2c -c public .1.3.6.1.4.1.2021.13.16 LM-SENSORS-MIB::lmSensors = No Such Object available on this agent at this OID I compiled with fol

snmpd.conf IPaddress

2009-04-16 Thread Raghu Ramaraj
HI , Assume that the snmp-agent is running in the Hardware. If suppose I would like to get information from the agent, using MIB browser I have to edit smpd.conf and there I have to give the IPaddress of Manager system (where MIB Brower located) rwcommunity democommunity network

variable bindings

2009-04-16 Thread venkatgiri
Hi, the variable binding consist of the "object Id + value". can the value be an object Id? -- Regards, Venkat -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by A

Re: Creating a row in the table.

2009-04-16 Thread Dave Shield
2009/4/16 venkatgiri : > the object 'b' is having a default value as 2 > But there is no default value for the object 'c' and 'd' > > The snmp agent will create a row during the initialization with the index '1'. > Here the row status object will set to NotReady/NotInservice. Right? If you haven't

RE: seaproxy_sendReq: SEA Master Agent not responding

2009-04-16 Thread Tanisha Kashyap
Snmpdx wasn't running, hence the message. It's resolved now. Thanks "No task is so humble that it does not offer an outlet for individuality" -Original Message- From: dave.shi...@googlemail.com [mailto:dave.shi...@googlemail.com] On Behalf Of Dave Shield Sent: Thursday, April 16, 2009

Re: Creating a row in the table.

2009-04-16 Thread venkatgiri
1. what exactly meant by the automatic creation? 2. my requirement is like this, xyz::= SEQUENCE { a Unsigned32, b Unsigned32, c INTEGER, d INTEGER, rowstatusRowStatus } the object 'a' indicate the index to this table. the object 'b' is having a default value as

Re: Creating a row in the table.

2009-04-16 Thread Dave Shield
2009/4/16 venkatgiri : > Hi all, > i have a table like > > xyz::= SEQUENCE { >    a     Unsigned32, >    b     Unsigned32, >    c      INTEGER, >    d     INTEGER, >    rowstatus    RowStatus >    } > here i'm using "a" as a index for this table. > > i don;t know the order of these objects coming i

Re: seaproxy_sendReq: SEA Master Agent not responding

2009-04-16 Thread Dave Shield
2009/4/16 Tanisha Kashyap : > I keep getting this message when I start snmpd: seaproxy_sendReq: SEA Master > Agent not responding That would appear to be Sun's SNMP agent, rather than the Net-SNMP one. You will need to talk to Sun about this problem. We can only provide support for the Net-SNMP s

Re: Why does net-snmp generate an extra request internally?

2009-04-16 Thread Dave Shield
2009/4/16 Fulko Hew : > While testing my 'network simulator' agent, I'm finding that Net-SNMP > appears to be generating an extra (ie. unexpected) getnext request > internally that gets handed down to agents. Are you talking about communication between the master Net-SNMP agent and subagents that

Creating a row in the table.

2009-04-16 Thread venkatgiri
Hi all, i have a table like xyz::= SEQUENCE { a Unsigned32, b Unsigned32, c INTEGER, d INTEGER, rowstatusRowStatus } here i'm using "a" as a index for this table. i don;t know the order of these objects coming in the SNMPSET right? if so my questi