Zabbix Share

Zabbix templates, modules & more
Log in
Choose social to login:
Login With Google
Login With Github

Nav view search

Navigation

Advanced Search
  • Applications
    • 1C
    • Anti-Virus
    • Backup
    • Bug and issue tracking
    • Cluster
    • Clustered File Systems
    • DNS
    • Excel Export
    • Firewall
    • HelpDesk System
    • High Availability (HA)
    • Java Application
    • Mail servers
    • Misc
    • Monitoring System
    • NFS
    • NTP
    • Others
    • Pi-Hole
    • Process Managers
    • Queue managers
    • Security
    • SIEM
    • Skype
    • Ticketing System
    • Time synchronization
    • TV Broadcasting
    • Web-servers
  • Cloud
  • Databases
  • Network Appliances
  • Network Devices
  • Official Templates
  • Operating Systems
  • Power (UPS)
  • Printers
  • SCADA, IoT, Energy, Home Automation, Industrial monitoring
  • Server Hardware
  • Storage Devices
  • Telephony
  • Unsorted
  • Virtualization
  • Zabbix

BIND recursive queries

  • 432.png

Shows recursive queries on your BIND server. Triggers on excesive usage. Best for caching servers.

 

Instalation description:

/etc/zabbix/zabbix_agentd.d/userparameter_bind.conf:

UserParameter=bind.tcpcl,/bin/cat /tmp/namedtcp.log
UserParameter=bind.udpcl,/bin/cat /tmp/namedudp.log

---------------
cron every 30 sec:
 /var/spool/cron/root: 

SHELL=/bin/sh
PATH=/sbin:/bin:/usr/sbin:/usr/bin
0-59 * * * *  /etc/zabbix/custom/named.sh
0-59 * * * * ( sleep 30; /etc/zabbix/custom/named.sh )

chmod +x /etc/zabbix/custom/named.sh:

#!/bin/bash
/usr/local/named/sbin/rndc status > /tmp/rndcstatus
cat /tmp/rndcstatus | grep tcp | awk '{ print $3 }' | cut -d '/' -f 1  > /tmp/namedtcp.log
cat /tmp/rndcstatus | grep recursive | awk '{ print $3 }' | cut -d '/' -f 1  > /tmp/namedudp.log

-----------------------------
add key for rndc in config of named

Rating
500
0 vote

Listing Details

Type
Template
Min Zabbix version
3.0.x
Features
  • Zabbix Agent
Created
2018-05-25
Modified
Never
Version 3.0
Download (524 downloads)
1 version, '2018-05-25 12:09' modified
Owner
appz
RecommendReportOwner's listing
All resources created by third parties; use at your own risk
© 2001-2018 by Zabbix SIA. All rights reserved. Trademark Policy · Contact us