Snmp - How do you use yours?
frank
ratty at they.org
Tue Nov 28 18:01:32 CET 2006
On Tue, 28 Nov 2006, Thomas Sluyter wrote:
> On 28 Nov, 2006, at 17:23, Patrick Proy wrote:
>
>> To run local test using snmp, you can use the "exec" command in
>> snmpd.conf (man snmpd.conf for details): the results will be in the
>> OID table at 1.3.6.1.4.1.2021.8.
>
> While I'm sure that the U.C. Davis (that's who "2021" belongs to)
> would be more than happy to share their private SNMP subtree with us,
> it's a better idea to register your _own_ subtree. That way you can
> be absolutely sure that you're not messing things up by using OIDs
> that may already get used for something else in your environment.
>
> Actually, why don't you check through the following list to see if
> you company already _has_ a subtree of its own? -> http://
> www.iana.org/assignments/enterprise-numbers
Dude, chill.
> Also, your statement about the "exec" command is false. The results
> from the script will not fall under 1.3.6.1.4.1.2021.8 per default.
> They only will do so if you tell the daemon to do that, through
> snmpd.conf. It's just that the net-SNMP people have used the 2021
> range for their _examples_.
>
> Admittedly, the chance of something going wrong by you using someone
> else's SNMP subtree are slim to none. But I'm always in favor of the
> most elegant option, if there's a choice.
extTable OBJECT-TYPE
SYNTAX SEQUENCE OF ExtEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A table of extensible commands returning output and
result codes. These commands are configured via the
agent's snmpd.conf file."
::= { ucdavis 8 }
It's _everyone's_ subtree. As the MIB says, it's defined in the agent's
own snmpd.conf file so it belongs to whoever is writing that file! Perhaps
UCD is writing _your_ config files, I write my own.
> Cheers!
>
>
> Thomas
-f
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list