Re: how can I make the net-snmp do a operation use a variable name instead of an oid?
Dave Shield <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
On Wed, 2005-09-21 at 16:18 +0800, Ying Wang(CD) wrote:
> I want to do like this: snmpwalk -v 1 -c public 127.0.0.1 xxSystem.
$ man snmp.conf
mibs (mib-tokens|+mib-tokens)
Specifies a ’:’ separated list of mib tokens that represent
textual mib files that should be found and parsed. If the
directive value starts with a ’+’ it prepends this list to
the front of the default mib token list
Assuming 'xxSystem' is defined in the MIB file XX-MIB, then
try creating a file $HOME/snmp.conf and adding the line:
mibs +XX-MIB
Note that this goes in the 'snmp.conf' library config file,
*not* the agent's 'snmpd.conf' file. That 'd' is important!
Dave
-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server.
Download it for free - -and be entered to win a 42" plasma tv or your very
own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
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