Cannot get the Bind stats in Apps

I need to get the bind status in librenms. I am using SNMP extend for the same. I followed this link for making this happen. I am using bind9. My config files are below:


Component Version
LibreNMS 1.38-74-gece4d40
DB Schema 247
PHP 7.2.2
MySQL 5.5.56-MariaDB
RRDTool 1.4.8

[OK] Composer Version: 1.6.4
[OK] Dependencies up-to-date.
[OK] Database connection successful
[OK] Database schema correct

statistics-file “/var/run/named/stats”;
zone-statistics yes;

I have downloaded the bind script in /etc/snmp/bind and given the execute permission. i have bind.config in the same directory with below parameters:

$rndc=‘/usr/bin/env rndc’;

I have installed the module File::ReadBackwards

rndc stats && cat /var/run/named/stats gives no any output.

Please Help !!!


I have the same problem with bind. Have you resolved it?

What happens when you run ./bind? That’s the script you downloaded when following that link.

Hello @dvl Output is as below:

perl: warning: Falling back to the standard locale (“C”).
Can’t locate File/ in @INC (@INC contains: /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.8/i386-linux-thread-multi /usr/lib/perl5/5.8.8 .) at ./bind line 63.
BEGIN failed–compilation aborted at ./bind line 63.

I have that required module installed. I suggest you do the same.

[[email protected]:~] $ pkg info -x back

Sorry, I now see you said you have it installed, but it is not being found. Why, I don’t know. Sounds like a perl issue.