Snmp - How do you use yours?

Thomas Sluyter nagios at kilala.nl
Tue Nov 28 17:51:44 CET 2006


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

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.

Cheers!


Thomas

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