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
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
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
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
> 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
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
> 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
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
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
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
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
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
12 matches
Mail list logo