=?windows-1255?Q?RE=3A_Could_I_please_ask_you_a_question_on_the_TCP-M?= =?windows-1255?Q?IB=3A=3AtcpConnState=85=2E?=

"Smith, Nathan" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Looks like this issue is occurring because you are using a read-only community string. 

To alleviate this, find your read-write community string, located in your snmpd.conf file. Look for “rwcommunity”. 

If it’s not there, you can add one, such as “private”:

 

rwcommunity private

 

If you added the new community name, restart the agent. Then for the -c option in snmpset, use the rwcommunity name:

 

C:\Net-Snmp\bin>snmpset -v 2c -c private -d  localhost  TCP-MIB::tcpConnState.192.168.5.74.53350.192.168.5.74.8089 i 12

 

 

From: Saejong, Somchai [mailto:[email protected]] 
Sent: Wednesday, October 07, 2009 10:29 AM
To: [email protected]
Cc: Saejong, Somchai
Subject: Could I please ask you a question on the TCP-MIB::tcpConnState….

 

Dear Sir/Madam,

 

Could I please ask you a question on the TCP-MIB::tcpConnState….

 

According to http://net-snmp.sourceforge.net/docs/README.win32.html

TCP:

---

tcpConnState of tcpConnTable is writable and the only value which may

be set by a management station is deleteTCB(12)

 

However, when trying to set it to deleteTCB(12), with the following syntax, I am getting the notWritable error:

 

C:\Net-Snmp\bin>snmpset -v 2c -c public -d  localhost  TCP-MIB::tcpConnState.192.168.5.74.53350.192.168.5.74.8089 i 12

 

Sending 60 bytes to UDP: [127.0.0.1]:161->[0.0.0.0]

0000: 30 3A 02 01  01 04 06 70  75 62 6C 69  63 A3 2D 02    0:.....public£-.

0016: 02 19 BB 02  01 00 02 01  00 30 21 30  1F 06 1A 2B    ..»......0!0...+

0032: 06 01 02 01  06 0D 01 01  81 40 81 28  05 4A 83 A0    .........@.(.Jƒ 

0048: 66 81 40 81  28 05 4A BF  19 02 01 0C                 f.@.(.J¿....

 

 

Received 60 bytes from UDP: [127.0.0.1]:161->[0.0.0.0]

0000: 30 3A 02 01  01 04 06 70  75 62 6C 69  63 A2 2D 02    0:.....public¢-.

0016: 02 19 BB 02  01 11 02 01  01 30 21 30  1F 06 1A 2B    ..»......0!0...+

0032: 06 01 02 01  06 0D 01 01  81 40 81 28  05 4A 83 A0    .........@.(.Jƒ 

0048: 66 81 40 81  28 05 4A BF  19 02 01 0C                 f.@.(.J¿....

 

Error in packet.

Reason: notWritable (That object does not support modification)

Failed object: TCP-MIB::tcpConnState.192.168.5.74.53350.192.168.5.74.8089

 

So, I am wondering if this could be related to the configuration issue, if yes, could you please 

provide me some instruction to enable this connection resetting functionality.

 

Thank you enormously for your help,

Somchai

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference

_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.