collectd-web icon indicating copy to clipboard operation
collectd-web copied to clipboard

Trouble with the bind plugin

Open jpmens opened this issue 13 years ago • 5 comments

Hello Kenneth.

I've started using your Collectd-web, and I like it. cpu, df, load, and memory work as expected.

I do have a problem with Collectd-web (version cloned this morning from Github) and collectd-4.10.1. I'm using the bind plugin (http://collectd.org/wiki/index.php/Plugin:BIND).

The plugin apparently correctly creates the RRD files; rrdtool info says they look ok.

In Collectd-web, I am offerred to click on the bind plugin, upon which a mass of broken image (img src) links are produced, except one: hostname/bind-global-memory_stats/memory.

I have a feeling it has something to do with how you recognize what type to use for an RRD file; could that be right?

I'm including a list of files produced by the bind plugin in my current configuration; perhaps you can see what's wrong at a glance. :-)

Thanks for your help.

    ./bind-_default-resolver_stats
    ./bind-_default-resolver_stats/dns_query-IPv4.rrd
    ./bind-_default-resolver_stats/dns_query-IPv6.rrd
    ./bind-_default-resolver_stats/dns_query-retry.rrd
    ./bind-_default-resolver_stats/dns_rcode-rx-EDNS0Fail.rrd
    ./bind-_default-resolver_stats/dns_rcode-rx-FORMERR.rrd
    ./bind-_default-resolver_stats/dns_rcode-rx-NXDOMAIN.rrd
    ./bind-_default-resolver_stats/dns_rcode-rx-OTHER.rrd
    ./bind-_default-resolver_stats/dns_rcode-rx-SERVFAIL.rrd
    ./bind-_default-resolver_stats/dns_resolver-DNSSEC-attempt.rrd
    ./bind-_default-resolver_stats/dns_resolver-DNSSEC-fail.rrd
    ./bind-_default-resolver_stats/dns_resolver-DNSSEC-negokay.rrd
    ./bind-_default-resolver_stats/dns_resolver-DNSSEC-okay.rrd
    ./bind-_default-resolver_stats/dns_response-IPv4.rrd
    ./bind-_default-resolver_stats/dns_response-IPv6.rrd

    ./bind-_default-resolver_stats/dns_response-lame.rrd
    ./bind-_default-resolver_stats/dns_response-mismatch.rrd
    ./bind-_default-resolver_stats/dns_response-truncated.rrd
    ./bind-_default-zone-ix_dnsbl_manitu_net_IN
    ./bind-_default-zone-ix_dnsbl_manitu_net_IN/dns_query-authorative.rrd
    ./bind-_default-zone-ix_dnsbl_manitu_net_IN/dns_query-dropped.rrd
    ./bind-_default-zone-ix_dnsbl_manitu_net_IN/dns_query-dupliate.rrd
    ./bind-_default-zone-ix_dnsbl_manitu_net_IN/dns_query-failure.rrd
    ./bind-_default-zone-ix_dnsbl_manitu_net_IN/dns_query-nonauth.rrd
    ./bind-_default-zone-ix_dnsbl_manitu_net_IN/dns_query-recursion.rrd
    ./bind-_default-zone-ix_dnsbl_manitu_net_IN/dns_query-referral.rrd
    ./bind-_default-zone-ix_dnsbl_manitu_net_IN/dns_rcode-tx-FORMERR.rrd
    ./bind-_default-zone-ix_dnsbl_manitu_net_IN/dns_rcode-tx-NOERROR.rrd
    ./bind-_default-zone-ix_dnsbl_manitu_net_IN/dns_rcode-tx-NXDOMAIN.rrd
    ./bind-_default-zone-ix_dnsbl_manitu_net_IN/dns_rcode-tx-NXRRSET.rrd
    ./bind-_default-zone-ix_dnsbl_manitu_net_IN/dns_rcode-tx-SERVFAIL.rrd
    ./bind-_default-zone-ix_dnsbl_manitu_net_IN/dns_reject-authorative.rrd
    ./bind-_default-zone-ix_dnsbl_manitu_net_IN/dns_reject-recursive.rrd
    ./bind-_default-zone-ix_dnsbl_manitu_net_IN/dns_reject-transfer.rrd
    ./bind-_default-zone-ix_dnsbl_manitu_net_IN/dns_reject-update.rrd
    ./bind-_default-zone-ix_dnsbl_manitu_net_IN/dns_request-BadEDNSVer.rrd
    ./bind-_default-zone-ix_dnsbl_manitu_net_IN/dns_request-BadSIG.rrd
    ./bind-_default-zone-ix_dnsbl_manitu_net_IN/dns_request-EDNS0.rrd
    ./bind-_default-zone-ix_dnsbl_manitu_net_IN/dns_request-IPv4.rrd
    ./bind-_default-zone-ix_dnsbl_manitu_net_IN/dns_request-IPv6.rrd
    ./bind-_default-zone-ix_dnsbl_manitu_net_IN/dns_request-SIG0.rrd
    ./bind-_default-zone-ix_dnsbl_manitu_net_IN/dns_request-TCP.rrd
    ./bind-_default-zone-ix_dnsbl_manitu_net_IN/dns_request-TSIG.rrd
    ./bind-_default-zone-ix_dnsbl_manitu_net_IN/dns_response-EDNS0.rrd
    ./bind-_default-zone-ix_dnsbl_manitu_net_IN/dns_response-SIG0.rrd
    ./bind-_default-zone-ix_dnsbl_manitu_net_IN/dns_response-TSIG.rrd
    ./bind-_default-zone-ix_dnsbl_manitu_net_IN/dns_response-normal.rrd
    ./bind-_default-zone-ix_dnsbl_manitu_net_IN/dns_response-truncated.rrd

    ./bind-global-memory_stats
    ./bind-global-memory_stats/memory-BlockSize.rrd
    ./bind-global-memory_stats/memory-ContextSize.rrd
    ./bind-global-memory_stats/memory-InUse.rrd
    ./bind-global-memory_stats/memory-Lost.rrd
    ./bind-global-memory_stats/memory-TotalUse.rrd
    ./bind-global-opcodes
    ./bind-global-opcodes/dns_opcode-QUERY.rrd
    ./bind-global-qtypes
    ./bind-global-qtypes/dns_qtype-A.rrd
    ./bind-global-qtypes/dns_qtype-ANY.rrd
    ./bind-global-qtypes/dns_qtype-DNSKEY.rrd
    ./bind-global-qtypes/dns_qtype-NS.rrd
    ./bind-global-qtypes/dns_qtype-TXT.rrd
    ./bind-global-server_stats
    ./bind-global-server_stats/dns_query-authorative.rrd
    ./bind-global-server_stats/dns_query-dropped.rrd
    ./bind-global-server_stats/dns_query-dupliate.rrd
    ./bind-global-server_stats/dns_query-failure.rrd
    ./bind-global-server_stats/dns_query-nonauth.rrd
    ./bind-global-server_stats/dns_query-recursion.rrd
    ./bind-global-server_stats/dns_query-referral.rrd
    ./bind-global-server_stats/dns_rcode-tx-FORMERR.rrd
    ./bind-global-server_stats/dns_rcode-tx-NOERROR.rrd
    ./bind-global-server_stats/dns_rcode-tx-NXDOMAIN.rrd
    ./bind-global-server_stats/dns_rcode-tx-NXRRSET.rrd
    ./bind-global-server_stats/dns_rcode-tx-SERVFAIL.rrd
    ./bind-global-server_stats/dns_reject-authorative.rrd
    ./bind-global-server_stats/dns_reject-recursive.rrd
    ./bind-global-server_stats/dns_reject-transfer.rrd
    ./bind-global-server_stats/dns_reject-update.rrd
    ./bind-global-server_stats/dns_request-BadEDNSVer.rrd
    ./bind-global-server_stats/dns_request-BadSIG.rrd
    ./bind-global-server_stats/dns_request-EDNS0.rrd
    ./bind-global-server_stats/dns_request-IPv4.rrd
    ./bind-global-server_stats/dns_request-IPv6.rrd
    ./bind-global-server_stats/dns_request-SIG0.rrd
    ./bind-global-server_stats/dns_request-TCP.rrd
    ./bind-global-server_stats/dns_request-TSIG.rrd
    ./bind-global-server_stats/dns_response-EDNS0.rrd
    ./bind-global-server_stats/dns_response-SIG0.rrd
    ./bind-global-server_stats/dns_response-TSIG.rrd
    ./bind-global-server_stats/dns_response-normal.rrd
    ./bind-global-server_stats/dns_response-truncated.rrd
    ./bind-global-zone_maint_stats
    ./bind-global-zone_maint_stats/dns_notify-rejected.rrd
    ./bind-global-zone_maint_stats/dns_notify-rx-IPv4.rrd
    ./bind-global-zone_maint_stats/dns_notify-rx-IPv6.rrd
    ./bind-global-zone_maint_stats/dns_notify-tx-IPv4.rrd
    ./bind-global-zone_maint_stats/dns_notify-tx-IPv6.rrd
    ./bind-global-zone_maint_stats/dns_opcode-AXFR-IPv4.rrd
    ./bind-global-zone_maint_stats/dns_opcode-AXFR-IPv6.rrd
    ./bind-global-zone_maint_stats/dns_opcode-IXFR-IPv4.rrd
    ./bind-global-zone_maint_stats/dns_opcode-IXFR-IPv6.rrd
    ./bind-global-zone_maint_stats/dns_opcode-SOA-IPv4.rrd
    ./bind-global-zone_maint_stats/dns_opcode-SOA-IPv6.rrd
    ./bind-global-zone_maint_stats/dns_transfer-failure.rrd
    ./bind-global-zone_maint_stats/dns_transfer-success.rrd

jpmens avatar Sep 22 '10 12:09 jpmens

Hey JP! thx for your feedback and sorry for my late reply! i'm currently getting my laptop fixed so i'll have an answer for this for next weekend, but the most apparent reason of this problem is that there isnt a graph definition for this plugin. on this matter the idea is that if you have the right graphdefs, just fork the project and i'll accept the pull request ;)

httpdss avatar Sep 26 '10 19:09 httpdss

Hmm, I was hoping you'd have the time to get the graph definitions... I mean, now that you have a shiny new laptop? ;-)

jpmens avatar Sep 29 '10 20:09 jpmens

enjoying every bit of it :D just finished to download every little tool for my dev environment, but got to do some stuff for the degree so i'll be moving this for the coming week :S

httpdss avatar Oct 04 '10 05:10 httpdss

jpmens: You could try downloading ddraw, it's a web-based tool to create graph definitions. Also, have a look at munin, they have some pretty neat graph definitions for bind yet (that would obviously need tweaking for collectd but should get you started).

Other than that: I'm interested in BIND graph defs, too, but currently have no time to build them myself.

neverpanic avatar Oct 11 '10 14:10 neverpanic

Hi,

I am using the latest version of collectd-web (not tool by the way) and I still have this issue, only the memory graph is displayed, is there a fix somewhere?

Regards, JM

mymycracra avatar Jul 05 '11 09:07 mymycracra