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

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

2009-04-16 Thread Dave Shield
2009/4/16 Fulko Hew fulko@gmail.com: 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

Re: seaproxy_sendReq: SEA Master Agent not responding

2009-04-16 Thread Dave Shield
2009/4/16 Tanisha Kashyap tanisha.kash...@aricent.com: 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

Re: Creating a row in the table.

2009-04-16 Thread Dave Shield
2009/4/16 venkatgiri venkatgir...@globaledgesoft.com: 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

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

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

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 host .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

Re: variable bindings

2009-04-16 Thread Dave Shield
2009/4/16 venkatgiri venkatgir...@globaledgesoft.com: 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

Re: snmpd.conf IPaddress

2009-04-16 Thread Dave Shield
2009/4/16 Raghu Ramaraj raghu_rama...@mindtree.com: 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

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: 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: 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

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

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

Re: Creating a row in the table.

2009-04-16 Thread Dave Shield
2009/4/16 venkatgiri venkatgir...@globaledgesoft.com: 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

Re: snmpd.conf IPaddress

2009-04-16 Thread Dave Shield
2009/4/16 Tanisha Kashyap tanisha.kash...@aricent.com: [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

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

Re: snmpd.conf IPaddress

2009-04-16 Thread Dave Shield
2009/4/16 Raghu Ramaraj raghu_rama...@mindtree.com: 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:

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 d.t.shi...@liverpool.ac.ukwrote: 2009/4/16 Fulko Hew fulko@gmail.com: 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

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

2009-04-16 Thread Dave Shield
2009/4/16 Fulko Hew fulko@gmail.com: 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

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 do we put .0 after sysUpTime OID?

2009-04-16 Thread Dave Shield
2009/4/16 acec acec tomcata...@yahoo.ca: 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

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

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.

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

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

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,

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/snmpd.conf).