Can't set entry in Notification-MIB

This is a discussion on Can't set entry in Notification-MIB within the SNMP Users forums, part of the Networking and Network Related category; --===============2127330936== Content-Type: multipart/alternative; boundary="----=_Part_5719_11307895.1190051784076" ------=_Part_5719_11307895.1190051784076 Content-Type: text/plain; charset=ISO-8859-1 ...


Go Back   Usenet Forums > Networking and Network Related > SNMP Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 09-17-2007
Steve Kittleson
 
Posts: n/a
Default Can't set entry in Notification-MIB

--===============2127330936==
Content-Type: multipart/alternative;
boundary="----=_Part_5719_11307895.1190051784076"

------=_Part_5719_11307895.1190051784076
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Hello,

I'm trying to createAndWait an entry in the Notify Table of the
Notification-MIB.
I keep getting errors like it won't let me write to that table.
My snmpset is run from the same host that the agent is running on.

In snmpd.conf I have tried the following lines:
rwcommunity private
rwcommunity private myLocal localhost private

Neither seem to help.

I have sent several "snmpsets" for the RowStatus - none seem to work:

1)
[skittleson@stubby bin]$ snmpset -v 2c -t 5 -c private localhost
snmpNotifyRowStatus.steve i createAndWait
snmpNotifyRowStatus.steve: Unknown Object Identifier (Index out of range:
steve (snmpNotifyName))
[skittleson@stubby bin]$

2)
[skittleson@stubby bin]$ snmpset -v 2c -t 5 -c private localhost
snmpNotifyRowStatus.'steve' i createAndWait
snmpNotifyRowStatus.steve: Unknown Object Identifier (Index out of range:
steve (snmpNotifyName))
[skittleson@stubby bin]$
[skittleson@stubby bin]$

3)
[skittleson@stubby bin]$ snmpset -v 2c -t 5 -c private localhost
'snmpNotifyRowStatus."steve"' i createAndWait
snmpNotifyRowStatus."steve": Unknown Object Identifier ("-quote is for
variable length strings)
[skittleson@stubby bin]$

4)
[skittleson@stubby bin]$ snmpset -v 2c -t 5 -c private localhost
"snmpNotifyRowStatus.'steve'" i createAndWait
Timeout: No Response from localhost


At this point I'm not sure if any of the above syntax is correct or if the
Notification-MIB is actually implemented in 5.4 net-snmp.

Thanks
SteveK

------=_Part_5719_11307895.1190051784076
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Hello, <br><br>I'm trying to createAndWait an entry in the Notify Table of the Notification-MIB.<br>
I keep getting errors like it won't let me write to that table.<br>
My snmpset is run from the same host that the agent is running on.<br>
<br>
In snmpd.conf I have tried the following lines:<br>
rwcommunity private<br>
rwcommunity private myLocal localhost private<br>
<br>
Neither seem to help.<br>
<br>
I have sent several &quot;snmpsets&quot; for the RowStatus - none seem to work:<br>
<br>
1)<br>
[skittleson@stubby bin]$ snmpset -v 2c -t 5 -c private localhost snmpNotifyRowStatus.steve i createAndWait<br>
snmpNotifyRowStatus.steve: Unknown Object Identifier (Index out of range: steve (snmpNotifyName))<br>
[skittleson@stubby bin]$<br>
<br>
2)<br>
[skittleson@stubby bin]$ snmpset -v 2c -t 5 -c private localhost snmpNotifyRowStatus.'steve' i createAndWait<br>
snmpNotifyRowStatus.steve: Unknown Object Identifier (Index out of range: steve (snmpNotifyName))<br>
[skittleson@stubby bin]$<br>
[skittleson@stubby bin]$<br>
<br>
3)<br>
[skittleson@stubby bin]$ snmpset -v 2c -t 5 -c private localhost 'snmpNotifyRowStatus.&quot;steve&quot;' i createAndWait<br>
snmpNotifyRowStatus.&quot;steve&quot;: Unknown Object Identifier (&quot;-quote is for variable length strings)<br>
[skittleson@stubby bin]$<br>
<br>
4)<br>
[skittleson@stubby bin]$ snmpset -v 2c -t 5 -c private localhost &quot;snmpNotifyRowStatus.'steve'&quot; i createAndWait<br>
Timeout: No Response from localhost<br>
<br>
<br>
At this point I'm not sure if any of the above syntax is correct or if
the Notification-MIB is actually implemented in 5.4 net-snmp.<br>
<br>
Thanks<br>
SteveK<br>

------=_Part_5719_11307895.1190051784076--


--===============2127330936==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
--===============2127330936==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/...net-snmp-users

--===============2127330936==--

Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 06:06 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0