Re: doubt with generating the template code for eg:ifTable & ifEntry

2012-05-02 Thread Dave Shield
On 1 May 2012 17:50, Robert Story wrote: > On Tue, 1 May 2012 09:03:55 -0400 Jasti wrote: > JD> Instead of generating template code for ifTable (eg:) if we generate code > & > JD> adding necessary logic to the ifEntry code makes any difference? > JD> Because am comfortable with scalars rather tha

Re: resourceUnavailable error: when to use?

2012-05-02 Thread Dave Shield
On 2 May 2012 10:20, Giuseppe Modugno wrote: > Robert suggested to use SNMP_ERR_RESOURCEUNAVAILABLE in response to GET > requests of variables related to malfunction hardware sub-sections. > > Recently I was reading RFC 3416 (Version 2 of the Protocol Operations > for the Simple Network Management

Re: snmpset

2012-05-02 Thread Niels Baggesen
Den 02-05-2012 17:36, Jasti Durgashree skrev: > Hi, > Am getting different error when i run snmptrap command.following is > the error > > root@newuser-desktop:/home/newuser # snmpset -v 2c -c private XXX-MIB::XXX.0 > i "100" > i: Bad object type:1 Where is the hostname? /Niels -- Niels Bag

snmpset

2012-05-02 Thread Jasti Durgashree
Hi, Am getting different error when i run snmptrap command.following is the error root@newuser-desktop:/home/newuser # snmpset -v 2c -c private XXX-MIB::XXX.0 i "100" i: Bad object type:1 if i change the data type to s (string,i.e just to check which error it gives) instead of i it gives s:n

Re: problem with snmpset

2012-05-02 Thread Robert Story
On Wed, 2 May 2012 09:35:31 + Durga wrote: DS> Hi, DS> I am facing problem with snmpset. DS> after alkl settings in access control still am not able to solve the DS> problem I am getting the following error DS> DS> root@newuser-desktop:/home/newuser# snmpset -v 2c -c private localhost DS> sysL

resourceUnavailable error: when to use?

2012-05-02 Thread Giuseppe Modugno
I already made this question in the past and I received an answer from Robert Story: http://sourceforge.net/mailarchive/message.php?msg_id=27608908. Robert suggested to use SNMP_ERR_RESOURCEUNAVAILABLE in response to GET requests of variables related to malfunction hardware sub-sections. Recen

problem with snmpset

2012-05-02 Thread Durga Sree
Hi, I am facing problem with snmpset. after alkl settings in access control still am not able to solve the problem I am getting the following error root@newuser-desktop:/home/newuser# snmpset -v 2c -c private localhost sysLocation.0 s "Hello" Error in packet. Reason: notWritable (That object does