Re: pass through not working in snmpd

Daniel Leicht <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
These are the commands result:

# snmpget -v3 -u snmpuser 10.0.0.151 .1.3.6.1.4.1.50000.1.10
Timeout: No Response from 10.0.0.151.

# snmpget -v3 -u snmpuser 10.0.0.151 sysUpTime.0
DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (1599) 0:00:15.99

And all I have in /var is /var/lib/snmp/snmpd.conf:

sheevaplug-debian:/opt/project# cat /var/lib/snmp/snmpd.conf
#
# net-snmp (or ucd-snmp) persistent data file.
#
############################################################################
# STOP STOP STOP STOP STOP STOP STOP STOP STOP
#
#          **** DO NOT EDIT THIS FILE ****
#
# STOP STOP STOP STOP STOP STOP STOP STOP STOP
############################################################################
#
# DO NOT STORE CONFIGURATION ENTRIES HERE.
# Please save normal configuration tokens for snmpd in
SNMPCONFPATH/snmpd.conf.
# Only "createUser" tokens should be placed here by snmpd administrators.
# (Did I mention: do not edit this file?)
#










createUser snmpuser MD5 "abcdefgh123456" DES




usmUser 1 3 0x80001f88804d768079b236c2e0 0x736e6d707573657200
0x736e6d707573657200 NULL .1.3.6.1.6.3.10.1.1.2
0xe3702813d2b8ed0fddc5b64ed3714abd .1.3.6.1.6.3.10.1.2.2
0xe3702813d2b8ed0fddc5b64ed3714abd ""
setserialno 1924988301
##############################################################
#
# snmpNotifyFilterTable persistent data
#
##############################################################


##############################################################
#
# ifXTable persistent data
#
ifXTable .1 14:0 18:0x $
ifXTable .2 14:0 18:0x $
ifXTable .3 14:0 18:0x $
##############################################################


engineBoots 51
oldEngineID 0x80001f88804d768079b236c2e0

Thanks for the help!



On Tue, Nov 9, 2010 at 4:57 PM, Dave Shield <[email protected]>wrote:

> On 9 November 2010 14:36, Daniel Leicht <[email protected]> wrote:
> > I'm trying to make snmpd run a script everytime that someone gets/sets
> the
> > oids under 1.3.6.1.4.1.50000.1.
> > An example snmpset command that I use is:
> > snmpset -v3 -u snmpuser 10.0.0.151 .1.3.6.1.4.1.50000.1.10 string "TEST"
>
> Is it just this OID that's failing?
> Can you see anything else (e.g. sysUpTime.0), when using this user?
>
>
> > my snmpd.conf:
> >
> ###########################################################################
> > pass  .1.3.6.1.4.1.50000.1 /mnt/usb/project/bin/snmp
> > rwuser  snmpuser noauth
>
>
> Where are you creating the 'snmpuser' user?
> What do you have in your /var/net-snmp/snmpd.conf file?
>
> Dave
>

------------------------------------------------------------------------------
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book "Blueprint to a 
Billion" shares his insights and actions to help propel your 
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev

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