Capabilties of pass command in snmpd.conf?

This is a discussion on Capabilties of pass command in snmpd.conf? within the SNMP Users forums, part of the Networking and Network Related category; Hi, is it possible to use the pass command to fake the existence of a snmp capable hardware? For example: .....


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-01-2007
Stefan Guenther
 
Posts: n/a
Default Capabilties of pass command in snmpd.conf?

Hi,

is it possible to use the pass command to fake the existence of a snmp
capable hardware?

For example:

..1.3.6.1.4.1.789.1.6.1.1.9.133 is an OID of a NetApp storage.

If add the line

pass .1.3.6.1.4.1.789.1.6.1.1.9.133 /bin/sh /bin/shtest

to the snmpd.conf, should the command

snmpwalk -v 2c -c public 192.168.0.102 .1.3.6.1.4.1.789.1.6.1.1.9.133

return the output of the shtest script?
Currently I only get:

SNMPv2-SMI::enterprises.789.1.6.1.1.9.133 = No Such Instance currently
exists at this OID

Thanks for any hints & suggestions,

Stefan

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
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
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 03:52 AM.


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