MIB read/write(snmpwalk/snmpset) problem

2013-02-18 Thread bensassi youssef
Hi, I created a MIB, and tried to allocate values to new OID You find attached my MIB file, data_set.c and data_set.h. After that I copied the files data_set.c and data_set.h in the source directory of Net-SNMP: net-snmp-5.1.1/agent/mibgroup / I continued as follows : # ./configure --with-mi

Re: snmpset problem

2010-09-04 Thread Shu Hung (Koala)
So I can't have the same community name for both 'rwcommunity' and 'rocommunity' ... I removed the rocommunity line and it gets better: Error in packet. Reason: notWritable (That object does not support modification) Failed object: UCD-DEMO-MIB::ucdDemoPublicString.0 At least I have some positiv

Re: snmpset problem

2010-09-03 Thread Wes Hardaker
You might try a different community than "public". I'm betting that you have a 'rocommunity' with public around as well and it's conflicting. -- Wes Hardaker Cobham Analytic Solutions -- This SF.net Dev2Dev email is sp

snmpset problem

2010-08-26 Thread Shu Hung (Koala)
Hello, I'm trying to work something out with snmpset (Net-SNMP 5.5). I have added this line to my snmpd.conf rwcommunity public localhost And I did not set any restriction to the community 'public'. Then I try to set a dummy string to it with this command: snmpset -v 2c -c public localhost ucd

Re: Reg : snmpset problem in my model mib

2010-06-11 Thread Wes Hardaker
> On Thu, 10 Jun 2010 12:42:09 +0530, Thazhai Arasan > said: TA> I have created my own mib with READ-WRITE access. After that i create the TA> template code & compiled it. Then i put it into my board. But only snmpget TA> is working, snmpset is not working. I cant set the values through

Reg : snmpset problem in my model mib

2010-06-10 Thread Thazhai Arasan
Hi, I have created my own mib with READ-WRITE access. After that i create the template code & compiled it. Then i put it into my board. But only snmpget is working, snmpset is not working. I cant set the values through snmpset. In coding it is designed only for get option. How can i modify it f

RE: snmpset problem in windows

2010-02-16 Thread Mike Ayers
> From: Vivek Singh Bhadauria [mailto:viv_...@yahoo.com] > Sent: Thursday, February 11, 2010 6:39 AM > I am using Net-SNMP 5.4.2.1 for both Linux and Windows. > In Linux, I am able to get/set the object values for my own enterprise > mibs. > But I face the problem in windows. I installed the same

snmpset problem in windows

2010-02-11 Thread Vivek Singh Bhadauria
Hi, I have just get one problem with my subagent for snmpset command. I am using Net-SNMP 5.4.2.1 for both Linux and Windows. In Linux, I am able to get/set the object values for my own enterprise mibs. But I face the problem in windows. I installed the same subagent application in windows using

snmpset problem

2009-04-13 Thread Vinod Nanjaiah
Hi, I am trying snmpset for a table. I have added a member of type RowStatus in the MIB file and set this to CreateAndGo (4) when using snmpset. But I am still unable to add new rows to the table. I get the following error: Error in packet. Reason: notWritable (That object does not support modifi

SNMPSET Problem

2006-03-21 Thread V M Gadag
Hi, check for the following, 1) MIB object which you want to set should be writable. 2) you need to add "rwcommunity private default " to the snmpd.conf file as the MIB object you are trying to set is under a private section. or else you can specifically make only that MIBĀ  as writable. Rega

SNMPSET Problem

2006-03-20 Thread Vishakha Sharma
Hi I want to perform snmpset on the mib i added .I gave the following command [EMAIL PROTECTED] bin]# ./snmpget -c public 10.9.10.195 .1.3.6.1.4.1.272.4.8.1 2.0 SNMPv2-SMI::enterprises.272.4.8.1.2.0 = INTEGER: 2 I tried changing the value of the variable thru following command [EMAIL PROTECTED] b

SNMPSET problem

2005-03-10 Thread Haizhu Liu
I am having a problem with snmpset: this is what I coded to add an integer to snmp set pdu: int action = 2; char type= 'i'; string action_str((char *)&action, sizeof(action)); pdu = snmp_pdu_create(SNMP_MSG_SET); int rc = snmp_add_var(pdu, myoid, sizeof(myoid)/sizeof(oid), type, action_str.da