Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

bind 9.8 named_stats parser

344 views
Skip to first unread message

Leandro

unread,
Aug 4, 2015, 3:02:07 PM8/4/15
to bind-...@lists.isc.org
Hello , guys , im thinking about getting my bind statistics on cacti.
Im looking for some parser script but so far I can not get anyone for my
version, witch is 9.8.
Is something around there ? ....
If not .... I will need to deploy by my self ... then of course will
share it.

Regards.
Leandro.


/dev/rob0

unread,
Aug 4, 2015, 3:38:15 PM8/4/15
to bind-...@lists.isc.org
On Tue, Aug 04, 2015 at 04:01:56PM -0300, Leandro wrote:
> Hello , guys , im thinking about getting my bind statistics
> on cacti. Im looking for some parser script but so far I can
> not get anyone for my version, witch is 9.8.

I guess by "named_stats", you mean the file which is written for
"rndc stats". (By default that's called "named.stats" and found
inside the directory specified in your named.conf(5) options.)

I'd recommend against that. It's a relic of the past. Consider
instead the statistics-channels statement:

http://ftp.isc.org/isc/bind9/cur/9.8/doc/arm/Bv9ARM.ch06.html#statschannels

Consider also moving to a supported BIND version. In particular,
BIND 9.10 might be of interest, with upgraded statistics-channels
functionality:

https://kb.isc.org/article/AA-01123/

> Is something around there ? ....
> If not .... I will need to deploy by my self ... then of
> course will share it.

There too, if you're doing things the old way on abandoned old
software versions, I wouldn't expect to find much interest.
--
http://rob0.nodns4.us/
Offlist GMX mail is seen only if "/dev/rob0" is in the Subject:

Matus UHLAR - fantomas

unread,
Aug 5, 2015, 3:31:50 AM8/5/15
to bind-...@lists.isc.org
On 04.08.15 16:01, Leandro wrote:
>Hello , guys , im thinking about getting my bind statistics on cacti.
>Im looking for some parser script but so far I can not get anyone for
>my version, witch is 9.8.
>Is something around there ? ....
>If not .... I will need to deploy by my self ... then of course will
>share it.

the version http://docs.cacti.net/usertemplate:host:bind9.7 works with BIND
9.8.4 on debian.

I've just had to modify the scripts:

- stats are generated from cron job:
4-59/5 * * * * bind cp /dev/null /var/cache/bind/named.stats; rndc stats

- runstats from snmpd run just dnsstats.pl

--
Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
WinError #98652: Operation completed successfully.

Eivind Olsen

unread,
Aug 5, 2015, 6:50:00 AM8/5/15
to bind-...@lists.isc.org
On ti., 2015-08-04 at 16:01 -0300, Leandro wrote:
> Hello , guys , im thinking about getting my bind statistics on
> cacti.
> Im looking for some parser script but so far I can not get anyone for
> my version, witch is 9.8.

I have previously used http://www.l3jane.net/wiki/factory:b9agent_en to
expose BIND9 statistics via SNMP - you might give that one a try?

Regards
Eivind Olsen

Leandro

unread,
Aug 7, 2015, 6:07:53 PM8/7/15
to bind-...@lists.isc.org
Link is broken .... I think ....Im still interested, can i take a look
in other place ?
> _______________________________________________
> Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list
>
> bind-users mailing list
> bind-...@lists.isc.org
> https://lists.isc.org/mailman/listinfo/bind-users

Leandro

unread,
Aug 7, 2015, 6:55:23 PM8/7/15
to bind-...@lists.isc.org
Wow, you gave me a very nice tip Rob.
Now Im really interested in getting json format.
I will begin by updating to 9.10
Regards.
LEo.


On 04/08/15 16:38, /dev/rob0 wrote:
> On Tue, Aug 04, 2015 at 04:01:56PM -0300, Leandro wrote:
>> Hello , guys , im thinking about getting my bind statistics
>> on cacti. Im looking for some parser script but so far I can
>> not get anyone for my version, witch is 9.8.
> I guess by "named_stats", you mean the file which is written for
> "rndc stats". (By default that's called "named.stats" and found
> inside the directory specified in your named.conf(5) options.)
>
> Exactly
I'd recommend against that. It's a relic of the past. Consider instead
the statistics-channels statement:
http://ftp.isc.org/isc/bind9/cur/9.8/doc/arm/Bv9ARM.ch06.html#statschannels
Consider also moving to a supported BIND version. In particular, BIND
9.10 might be of interest, with upgraded statistics-channels
functionality: https://kb.isc.org/article/AA-01123/
>> Is something around there ? ....
>> If not .... I will need to deploy by my self ... then of
>> course will share it.

Lawrence K. Chen, P.Eng.

unread,
Aug 7, 2015, 11:17:29 PM8/7/15
to Leandro, bind-...@lists.isc.org
Hmm, wonder if I should upgrade my stats collector for cacti.

It had bee a while since I looked at my cacti, a I know there was a bunch of
graphs not working on it....

But, bind stats is still working....against the latest 9.9....despite the
graph titles of "Bind 9.6"

Before this script, I used to use one that fed off of querylog....that was
horribly unreliable, though the service collector is still being monitored
and kept running on my servers. Possibly because our production cacti sever
(running on RHEL3) is still trying to keep up (pretty sure I'm not using it
on newer servers, should make a note to check.

Interesting that for some reason after the 1st of the month time has the time
on two computers have been wandering back and forth, while my ntp servers
have been stable. At first I thought it might related to big poweroutage
then, but that was the weekend before. So, I wonder what I changed (though I
still looking for the thing I changed on August 3rd that is fill logs on a
couple servers. Plus I need to unbreak my email search.)
> _______________________________________________
> Please visit https://lists.isc.org/mailman/listinfo/bind-users to
> unsubscribe from this list
>
> bind-users mailing list
> bind-...@lists.isc.org
> https://lists.isc.org/mailman/listinfo/bind-users

--
Who: Lawrence K. Chen, P.Eng. - W0LKC - Sr. Unix Systems Administrator
with LOPSA Professional Recognition.
For: Enterprise Server Technologies (EST) -- & SafeZone Ally

0 new messages