feature: Added powerdns dnsdist application (#7987)

* powerdns dnsdist app support

* fix conflict

* added doc

* fix new lines

* alphabetic order

* no data manipulation on host side
changed rrd from gauge to counter
This commit is contained in:
crcro
2018-01-06 22:05:06 +02:00
committed by Neil Lathwood
parent 88ecbbff24
commit c21e9c2f4a
13 changed files with 584 additions and 0 deletions

View File

@@ -33,6 +33,7 @@ Different applications support a variety of ways to collect data: by direct conn
1. [Postgres](#postgres) - SNMP extend
1. [PowerDNS](#powerdns) - Agent
1. [PowerDNS Recursor](#powerdns-recursor) - Direct, Agent
1. [PowerDNS dnsdist](#powerdns-dnsdist) - SNMP extend
1. [Proxmox](#proxmox) - SNMP extend
1. [Raspberry PI](#raspberry-pi) - SNMP extend
1. [SDFS info](#sdfs-info) - SNMP extend
@@ -725,6 +726,23 @@ extend powerdns-recursor /etc/snmp/powerdns-recursor
This script uses `rec_control get-all` to collect stats.
### PowerDNS-dnsdist
###### SNMP Extend
1. Copy the BASH script to the desired host (the host must be added to LibreNMS devices)
```
wget https://github.com/librenms/librenms-agent/raw/master/snmp/powerdns-dnsdist -O /etc/snmp/powerdns-dnsdist
```
2. Make the script executable (chmod +x /etc/snmp/powerdns-dnsdist)
3. Edit your snmpd.conf file (usually /etc/snmp/snmpd.conf) and add:
```
extend powerdns-dnsdist /etc/snmp/powerdns-dnsdist
```
4. Restart snmpd on your host.
### Proxmox
1. For Proxmox 4.4+ install the libpve-apiclient-perl package
`apt install libpve-apiclient-perl`