Re: Can't set entry in Notification-MIB

"Steve Kittleson" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
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)
> [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
>

-------------------------------------------------------------------------
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
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.