I haven't seen any responses to this query.
Am I correct in assuming that setting " rwcommunity private" and
"rocommunity public" will allow read/write access to the complete mib tree
on the agent?
Has anyone been successful using the standard mibs: Notification-MIB,
Target-MIB, and Community-MIB? If so, is anything special required? What is
your snmpd.conf setup?
Thanks
SteveK
On 9/17/07, Steve Kittleson <[EMAIL PROTECTED]> wrote:
>
> 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)
> [EMAIL PROTECTED] bin]$ snmpset -v 2c -t 5 -c private localhost
> snmpNotifyRowStatus.steve i createAndWait
> snmpNotifyRowStatus.steve: Unknown Object Identifier (Index out of range:
> steve (snmpNotifyName))
> [EMAIL PROTECTED] bin]$
>
> 2)
> [EMAIL PROTECTED] bin]$ snmpset -v 2c -t 5 -c private localhost
> snmpNotifyRowStatus.'steve' i createAndWait
> snmpNotifyRowStatus.steve: Unknown Object Identifier (Index out of range:
> steve (snmpNotifyName))
> [EMAIL PROTECTED] bin]$
> [EMAIL PROTECTED] bin]$
>
> 3)
> [EMAIL PROTECTED] bin]$ snmpset -v 2c -t 5 -c private localhost
> 'snmpNotifyRowStatus."steve"' i createAndWait
> snmpNotifyRowStatus."steve": Unknown Object Identifier ("-quote is for
> variable length strings)
> [EMAIL PROTECTED] bin]$
>
> 4)
> [EMAIL PROTECTED] 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
>
-------------------------------------------------------------------------
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/
_______________________________________________
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