RE: Setting IP address through SNMP

2011-11-24 Thread basil.joseph
Hi, It is still showing error for createAndGo. Is it a problem specific to my platform? I am using Linux 2.6.18-238.19.1.el5 and netsnmp 5.7 [root@localhost ~]# snmpset -v 2c -c public 10.20.20.20 ipAddressIfIndex.ipv4.4.10.10.10.30 = 3 ipAddressRowStatus.ipv4.4.10.10.10.30 = createAndGo Error in

Sending notification by the SNMP agent using DisMan Event MIB

2011-11-24 Thread prashant n
Hi Dave, * Thanks for your valuable feedback.* Now i got configuring trap destinations with community string. In the previous mail you told something like *"So in the case of the Net-SNMP trap receiver (snmptrapd), you would need something like authCommunity log,execute,net

RE: Setting IP address through SNMP

2011-11-24 Thread Magnus Fromreide
On Fri, 2011-11-25 at 10:31 +0530, [email protected] wrote: > Hi, > > OK I understand that these two values to be set in a single set command. > But it still gives the bad value name error. > > [root@localhost ~]# snmpset -v 2c -c public 10.20.20.20 > ipAddressIfIndex.ipv4.4.10.10.10.30 = 3

RE: Setting IP address through SNMP

2011-11-24 Thread basil.joseph
Hi, OK I understand that these two values to be set in a single set command. But it still gives the bad value name error. [root@localhost ~]# snmpset -v 2c -c public 10.20.20.20 ipAddressIfIndex.ipv4.4.10.10.10.30 = 3 ipAddressStatus.ipv4.4.10.10.10.30 = createAndGo ipAddressStatus.ipv4.4.10.10.1

Re: snmpd.conf parsing

2011-11-24 Thread Vivek Nagaraj
Ok. For the moment, concentrating only on the SNMP main agent, can you please let me know how the community is picked up in sending the traps? Community can be specified in the 'trapcommunity', access control panel and also in the 'trapsink' command. Which of these is a priority for picking up the

Re: snmpd.conf parsing

2011-11-24 Thread Dave Shield
On 24 November 2011 15:11, Vivek Nagaraj wrote: > Ok. Lets say I am building a sub agent (of course using net-snmp > libraries) OK - if you are talking about a subagent, then the access control configuration is not relevant. All of this is handled by the master agent. A subagent would never see

Re: Sending notification by the SNMP agent using DisMan Event MIB

2011-11-24 Thread Dave Shield
On 24 November 2011 14:55, prashant n wrote: >  As a start up to understand  DisMan Event functionality , i want to monitor > the Scalar object in the MIB file using DisMan Event MIB and i want to send > trap by the agent depends on state change in the value (or some condition) > of the Scalar obj

Re: Sending notification by the SNMP agent using DisMan Event MIB

2011-11-24 Thread Dave Shield
On 24 November 2011 14:55, prashant n wrote: > 1)  Whether this line in configuration >trap2sink  localhost public 162 > will set SNMP manager i,e localhost( or any other network interface > Ex:10.1.1.92) with community string public(Trap Community) for receiving > traps ? This li

Re: snmpd.conf parsing

2011-11-24 Thread Vivek Nagaraj
Ok. Lets say I am building a sub agent (of course using net-snmp libraries) and the user is intended to make changes in the snmpd.conf and I am supposed to make common changes for snmpd as well as my subagent. Can you please let me know how community is chosen with the community string being prese

Sending notification by the SNMP agent using DisMan Event MIB

2011-11-24 Thread prashant n
Hi Dave, * Thanks for your valuable feedback.* As per your suggestion i have gone through snmpd.conf(5) man page and the FAQ entries as you mentioned in the previous mail. I created snmpd.conf file using perl script snmpconf. It looks like this #

Re: Setting IP address through SNMP

2011-11-24 Thread Dave Shield
On 24 November 2011 14:15, wrote: > Is there any way to access the mail archive of snmp-coders. On the main project website, look under "Support->Mailing Lists": http://www.net-snmp.org/support/mailinglists.html This page has links to the various mail archives On the project SourceF

Re: Setting IP address through SNMP

2011-11-24 Thread Dave Shield
On 24 November 2011 14:15, wrote: > # snmpget -v 2c -c public 10.20.20.20 ipAddressIfIndex.ipv4.4.10.10.10.10 > IP-MIB::ipAddressIfIndex.ipv4."10.10.10.10" = INTEGER: 3 OK - so the ifIndex of the interface with this address is 3 > And I believe this is the value to be used in the next command.

RE: Setting IP address through SNMP

2011-11-24 Thread basil.joseph
Hi, Sorry to bother you people again. Actually I couldn't get the commands working. >(note that you need to include the length of the IP address - hence the extra '4') Can you please explain the above line. I tried like this. [root@localhost ~]# snmpget -v 2c -c public 10.20.20.20 ip

Re: snmpd.conf parsing

2011-11-24 Thread Dave Shield
On 23 November 2011 10:05, Vivek Nagaraj wrote: > Currently my application uses hardcoded community - 'public'. I need > to parse the snmpd.conf file for this. No - you don't. Each config file is intended for a particular application. The "snmpd.conf" file is specifically intended for the "snmpd

Re: Setting IP address through SNMP

2011-11-24 Thread Dave Shield
On 24 November 2011 12:10, wrote: > I have to configure the IP address of eth1 interface of a network device. > I can get the IP address of the eth1 interface by > # snmpget -v 2c -c public 10.20.20.20 ipAdEntAddr.10.10.10.10 > The permission for that OID is read-only. > So I can’t issue a set

Ruth A Bielski is out of the office.

2011-11-24 Thread rabiels1
I will be out of the office starting 11/21/2011 and will not return until 11/28/2011. I will respond to your message when I return. -- All the data continuously generated in your IT infrastructure contains a definitiv

Updating of MIB file (one of my own devising) object values defined under MIB table

2011-11-24 Thread prashant n
Hi Dave, *Thanks for your reply.* Requirements of DESC MIB: MIB contains a table such as diTable DESC MIB is designed to both monitor and manage. *diTable* : MIB for this looks like DiEntry ::= SEQUENCE { diDeviceId OCTET STRING, diAlarmTime OCTET STRING, diPinNo

Setting IP address through SNMP

2011-11-24 Thread basil.joseph
Hi, I have to configure the IP address of eth1 interface of a network device. That device have 2 interfaces - eth0 and eth1. My app will send snmp set to eth0 and try to set the IP of eth1. For time being I am using snmpv2, but later I will use v3. And added "rwcommunity public" in snmpd

Re: snmpd.conf parsing

2011-11-24 Thread Niels Baggesen
On Thu, Nov 24, 2011 at 02:44:44PM +0530, Vivek Nagaraj wrote: > Can anybody please tell me the use of 'community' in snmpd.conf file > and the usage? Have you tried reading then snmpd.conf manual page? /Niels -- Niels Baggesen - @home - Århus - Denmark - [email protected] The purpose

Re: snmpd.conf parsing

2011-11-24 Thread Vivek Nagaraj
Can anybody please tell me the use of 'community' in snmpd.conf file and the usage? -- All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, sec