BIND 9 Statistics for Cacti
Moderators: Developers, Moderators
Hi,
I am also getting: Success [0 Items, 0 Rows]
Manually running the script does return the right values.
The verbose output for the query is:
Any help is appreciated.
I am also getting: Success [0 Items, 0 Rows]
Manually running the script does return the right values.
Code: Select all
/cacti/scripts/bind9-stats.pl query zone
GLOBAL:GLOBAL
/cacti/scripts/bind9-stats.pl getall GLOBAL
recursion:9 success:7 failure:0 nxrrset:1 referral:0 nxdomain:133
Code: Select all
+ Running data query [10].
+ Found type = '4 '[script query].
+ Found data query XML file at '/cacti/resource/script_queries/bind9-stats.xml'
+ XML file parsed ok.
+ Executing script for list of indexes 'perl /cacti/scripts/bind9-stats.pl index'
+ Executing script query 'perl /cacti/scripts/bind9-stats.pl query zone'
+ Found data query XML file at '/cacti/resource/script_queries/bind9-stats.xml'
+ Found data query XML file at '/cacti/resource/script_queries/bind9-stats.xml'
+ Found data query XML file at '/cacti/resource/script_queries/bind9-stats.xml'
Any help is appreciated.
I can't get the bind9-snmp-stats.pl script I downloaded from http://www.bayour.com/bind9-snmp/ to run.
I don't get any errors. It just sits there running forever. The debug file ends up empty.
I downloaded an older version, 1.5, and while output is now in the debug file, the script still just sits there. The last thing in the debug file is:
2006-03-03 14:03:02 load_information: domain='localhost' (243)
Has anyone else seen this type of behavior with the script?
Thanks.
I don't get any errors. It just sits there running forever. The debug file ends up empty.
I downloaded an older version, 1.5, and while output is now in the debug file, the script still just sits there. The last thing in the debug file is:
2006-03-03 14:03:02 load_information: domain='localhost' (243)
Has anyone else seen this type of behavior with the script?
Thanks.
Same situation it hangs for ever Haven't tried 1.5 yet. Perl version is 5.8.0
If you change line nubmer 50 in bind9-snmp-stats.pl from
$CFG{'DEBUG'} = get_config('DEBUG');
to
$CFG{'DEBUG'} = get_config($CFG_FILE,'DEBUG');
script writes debug information to file but still hangs.
In my case last debug text is
2006-03-15 20:24:24 load_information: domain='123.ru' (14)
If you change line nubmer 50 in bind9-snmp-stats.pl from
$CFG{'DEBUG'} = get_config('DEBUG');
to
$CFG{'DEBUG'} = get_config($CFG_FILE,'DEBUG');
script writes debug information to file but still hangs.
In my case last debug text is
2006-03-15 20:24:24 load_information: domain='123.ru' (14)
-
- Posts: 1
- Joined: Wed Apr 05, 2006 1:01 am
bpenland wrote:I've been able to get the configuration setup for SNMP and am able to query the data through SNMPwalk. I am not able to get the configuration together in Cacti though. It seems as though my data source is never added to the poller to have data gathered.
I'm running cacti 0.8.5a.
Any help is appreciated.
Anyone else having this issue, too? Same problem, its not creating the rrd and is not being added to the poller. I have flushed the poller cache, no luck. Running 0.8.6h.
Bind9 Statistics cacti newbee
Hello
I am having some trouble to get the bind9 statistic through cacti working.
I am newbee and tried to understand why it cannot go through.
Tracing port 161 on my dns I can see snmp request for bind9 statistic but it seems the MIB is not loaded (.8767.)
I did follow the README and did investigate the way MIBS are supposed to be loaded but ... no success
Verbode query gives:
+ Running data query [11].
+ Found type = '3' [snmp query].
+ Found data query XML file at '/var/www/html/cacti/resource/snmp_queries/bind9-stats_domains.xml'
+ XML file parsed ok.
+ Executing SNMP walk for list of indexes @ '.1.3.6.1.4.1.8767.2.1.4.1'
+ No SNMP data returned
+ Found data query XML file at '/var/www/html/cacti/resource/snmp_queries/bind9-stats_domains.xml'
+ Found data query XML file at '/var/www/html/cacti/resource/snmp_queries/bind9-stats_domains.xml'
+ Found data query XML file at '/var/www/html/cacti/resource/snmp_queries/bind9-stats_domains.xml'
tcpdump gives:
09:47:59.586825 IP xxxxxxx.32890 > xxxxxxxxxx.snmp: GetNextRequest(31) E:8767.2.1.3.1
09:47:59.605608 IP xxxxxxxx.snmp > xxxxxxxxxxx.32890: GetResponse(34) S:1.1.6.1.0=1855902756
snmpwalk gives the same issue for .1.3.6.1.4.1.8767.2.1.4.1 when snmp request for interface or system info is working.
How can I check the BAYOUR MIB is loaded ?
I am running FC4 , net-snmp-5.2.1-12, perl-5.8.6-15, cacti-0.8.6h, rrdtool-1.0.50
Thanks for your help
BR
I am having some trouble to get the bind9 statistic through cacti working.
I am newbee and tried to understand why it cannot go through.
Tracing port 161 on my dns I can see snmp request for bind9 statistic but it seems the MIB is not loaded (.8767.)
I did follow the README and did investigate the way MIBS are supposed to be loaded but ... no success
Verbode query gives:
+ Running data query [11].
+ Found type = '3' [snmp query].
+ Found data query XML file at '/var/www/html/cacti/resource/snmp_queries/bind9-stats_domains.xml'
+ XML file parsed ok.
+ Executing SNMP walk for list of indexes @ '.1.3.6.1.4.1.8767.2.1.4.1'
+ No SNMP data returned
+ Found data query XML file at '/var/www/html/cacti/resource/snmp_queries/bind9-stats_domains.xml'
+ Found data query XML file at '/var/www/html/cacti/resource/snmp_queries/bind9-stats_domains.xml'
+ Found data query XML file at '/var/www/html/cacti/resource/snmp_queries/bind9-stats_domains.xml'
tcpdump gives:
09:47:59.586825 IP xxxxxxx.32890 > xxxxxxxxxx.snmp: GetNextRequest(31) E:8767.2.1.3.1
09:47:59.605608 IP xxxxxxxx.snmp > xxxxxxxxxxx.32890: GetResponse(34) S:1.1.6.1.0=1855902756
snmpwalk gives the same issue for .1.3.6.1.4.1.8767.2.1.4.1 when snmp request for interface or system info is working.
How can I check the BAYOUR MIB is loaded ?
I am running FC4 , net-snmp-5.2.1-12, perl-5.8.6-15, cacti-0.8.6h, rrdtool-1.0.50
Thanks for your help
BR
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Re: Bind9 Statistics cacti newbee
cacti does not reply on MIBs but on ASN.1 OIDs only (that is the numerical representation, kinda .1.3.6.1.2. and..so..on) That is what you've found in the trace. So don't worry about the MIB files. You may run an snmpwalk using this very OID against your target to get the results at cli level. Post your findings if in doubtArno74 wrote:Hello
I am having some trouble to get the bind9 statistic through cacti working.
I am newbee and tried to understand why it cannot go through.
Tracing port 161 on my dns I can see snmp request for bind9 statistic but it seems the MIB is not loaded (.8767.)
Reinhard
-
- Posts: 37
- Joined: Tue Apr 11, 2006 11:10 am
Ok, I am having an issue getting this working. Things on dns server side look good:
snmpwalk -v 2c -c communitystring x.x.x.x .1.3.6.1.4.1.2021.55
UCD-SNMP-MIB::ucdavis.55.1.1 = INTEGER: 1
UCD-SNMP-MIB::ucdavis.55.2.1 = STRING: "GLOBAL"
UCD-SNMP-MIB::ucdavis.55.3.1 = INTEGER: 16076249
UCD-SNMP-MIB::ucdavis.55.4.1 = INTEGER: 14171
UCD-SNMP-MIB::ucdavis.55.5.1 = INTEGER: 2014029
UCD-SNMP-MIB::ucdavis.55.6.1 = INTEGER: 244731
UCD-SNMP-MIB::ucdavis.55.7.1 = INTEGER: 9588
UCD-SNMP-MIB::ucdavis.55.8.1 = INTEGER: 154517
I have imported the
cacti_data_query_bind_9_statistics_snmp.xml
and cp snmp/bind9-stats-snmp.xml CACTI_HOME/resource/snmp_queries/.
When I turn graph on in debug, I get the following error:
RRDTool Says:
ERROR: opening '/usr/local/www/apache22/data/cacti/rra/dns01_success_648.rrd': No such file or directory
I have manually run the poller and still get hte problem. I let it sit overnight, still nothing. What am I doing wrong?
I have setup ~650 other graphs and have had no problems up to this point.
snmpwalk -v 2c -c communitystring x.x.x.x .1.3.6.1.4.1.2021.55
UCD-SNMP-MIB::ucdavis.55.1.1 = INTEGER: 1
UCD-SNMP-MIB::ucdavis.55.2.1 = STRING: "GLOBAL"
UCD-SNMP-MIB::ucdavis.55.3.1 = INTEGER: 16076249
UCD-SNMP-MIB::ucdavis.55.4.1 = INTEGER: 14171
UCD-SNMP-MIB::ucdavis.55.5.1 = INTEGER: 2014029
UCD-SNMP-MIB::ucdavis.55.6.1 = INTEGER: 244731
UCD-SNMP-MIB::ucdavis.55.7.1 = INTEGER: 9588
UCD-SNMP-MIB::ucdavis.55.8.1 = INTEGER: 154517
I have imported the
cacti_data_query_bind_9_statistics_snmp.xml
and cp snmp/bind9-stats-snmp.xml CACTI_HOME/resource/snmp_queries/.
When I turn graph on in debug, I get the following error:
RRDTool Says:
ERROR: opening '/usr/local/www/apache22/data/cacti/rra/dns01_success_648.rrd': No such file or directory
I have manually run the poller and still get hte problem. I let it sit overnight, still nothing. What am I doing wrong?
I have setup ~650 other graphs and have had no problems up to this point.
Who is online
Users browsing this forum: No registered users and 3 guests