SNMP and Bind 9

Brad Knowles brad.knowles at skynet.be
Mon Sep 10 08:24:36 UTC 2001


At 2:17 PM +0700 9/10/01, viet anh wrote:

>  I am studying how to implement SNMP to monitor operation of BIND 9.
>  I wonder in Bind 9.1.3, is there any snmp agent.

	Nope.  There is no MIB for doing so.  This is becoming a FAQ, and 
you should probably search the archives of this mailing 
list/newsgroup for more information.

>  If I use SNMP to monitor Bind 9, which solfware will I have to use with
>  Bind 9.

	Well, you'd first have to define a MIB, and then create the 
necessary code to stick into an SNMP agent to implement that MIB.

	Alternatively, you can use an extensible SNMP agent like Net-SNMP 
(used to be called UCD SNMP) and write a shell script (or use some 
other language to create a program) to parse the log file output from 
BIND, and then pass that back to the program that made the SNMP query 
in a format it can understand and make useful to the user.

	Myself, I find it most useful to basically take the latest STATS 
and XSTATS information and just send that back pretty much as-is, and 
then have the program on the other end parse out the stuff you 
actually want to graph (rrdtool seems to work well for this).

-- 
Brad Knowles, <brad.knowles at skynet.be>

H4sICIFgXzsCA2RtYS1zaWcAPVHLbsMwDDvXX0H0kkvbfxiwVw8FCmzAzqqj1F4dy7CdBfn7
Kc6wmyGRFEnvvxiWQoCvqI7RSWTcfGXQNqCUAnfIU+AT8OZ/GCNjRVlH0bKpguJkxiITZqes
MxwpSucyDJzXxQEUe/ihgXqJXUXwD9ajB6NHonLmNrUSK9nacHQnH097szO74xFXqtlbT3il
wMsBz5cnfCR5cEmci0Rj9u/jqBbPeES1I4PeFBXPUIT1XDSOuutFXylzrQvGyboWstCoQZyP
dxX4dLx0eauFe1x9puhoi0Ao1omEJo+BZ6XLVNaVpWiKekxN0VK2VMpmAy+Bk7ZV4SO+p1L/
uErNRS/qH2iFU+iNOtbcmVt9N16lfF7tLv9FXNj8AiyNcOi1AQAA


More information about the bind-users mailing list