Cacti: PowerDNS Recursor Templates Rumi, September 11, 2011 Here are a couple of graph templates for the PowerDNS recursor. They need a shell script to be installed on the DNS server, and an net-snmp config change. Add the following to the snmpd.conf extend pdns-rec /usr/local/bin/pdns_stats.sh Put pdns_stats in /usr/local/bin, so that snmpd can find it (rename from pdns_stats.txt). Make it executable. Then import the templates. You end up with two graphs – one showing queries/sec + cache efficiency, and another one showing "exceptions" – slow queries, resource limits hit, spoof detection, etc. Update You can use the existing templates with the new script, but the new version also allows you to use a couple more templates, which I've attached below. These are 'Performance' which shows the proportion of queries answered in particular time bands, and 'Concurrency' which shows the number of threads running. Download Download the Template Files Testing your SNMP CacheX:/# snmpwalk -v2c -c public 127.0.0.1 .1.3.6.1.4.1.8072.1.3.2.4.1.2 It should show something like below- # snmpwalk -v 2c -c hxxx x.x.x.2 .1.3.6.1.4.1.8072.1.3.2.4.1.2 NET-SNMP-EXTEND-MIB::nsExtendOutLine."pdns-rec".1 = STRING: 343281636 NET-SNMP-EXTEND-MIB::nsExtendOutLine."pdns-rec".2 = STRING: 607474 NET-SNMP-EXTEND-MIB::nsExtendOutLine."pdns-rec".3 = STRING: 273813367 NET-SNMP-EXTEND-MIB::nsExtendOutLine."pdns-rec".4 = STRING: 69468041 NET-SNMP-EXTEND-MIB::nsExtendOutLine."pdns-rec".5 = STRING: 3 NET-SNMP-EXTEND-MIB::nsExtendOutLine."pdns-rec".6 = STRING: 0 NET-SNMP-EXTEND-MIB::nsExtendOutLine."pdns-rec".7 = STRING: 25058 NET-SNMP-EXTEND-MIB::nsExtendOutLine."pdns-rec".8 = STRING: 594372 NET-SNMP-EXTEND-MIB::nsExtendOutLine."pdns-rec".9 = STRING: 0 NET-SNMP-EXTEND-MIB::nsExtendOutLine."pdns-rec".10 = STRING: 3840759 NET-SNMP-EXTEND-MIB::nsExtendOutLine."pdns-rec".11 = STRING: 215 NET-SNMP-EXTEND-MIB::nsExtendOutLine."pdns-rec".12 = STRING: 274167247 NET-SNMP-EXTEND-MIB::nsExtendOutLine."pdns-rec".13 = STRING: 7213261 NET-SNMP-EXTEND-MIB::nsExtendOutLine."pdns-rec".14 = STRING: 37616542 NET-SNMP-EXTEND-MIB::nsExtendOutLine."pdns-rec".15 = STRING: 20443599 NET-SNMP-EXTEND-MIB::nsExtendOutLine."pdns-rec".16 = STRING: 9702 Src: http://forums.cacti.net/about33395.html Related Administrations Collected Articles Configurations (Linux) Cactipowerdns
Load Balancing using Ldirectord on Linux (Apache) web server November 23, 2017 For this setup, we need four nodes (two Apache nodes and two load balancer nodes) and five IP addresses: one for each node and one virtual IP address that will be shared by the load balancer nodes and used for incoming HTTP requests. I will use the following setup here: Apache node… Read More
2 Gateways or Multiple Gateway on a single CentOS box May 21, 2015 Scenerio- eth0- 172.30.0.100 | Gateway- 172.30.0.97 eth1- 192.168.2.247 | Gateway- 192.168.2.1 Need to connect to SIP BOX destination (fictitious)- 202.140.1.1 eth0 has not internet access but it uses the mentioned (172.30.0.97) as gateway to reach 202.140.1.1 server eth0 has internet access by using 192.168.2.1 gateway. Here goes the configuration on /etc/sysconfig/network-scripts/ifcfg-eth0… Read More
Installer for jitsi-meet, jigasi and jibri November 19, 2022 Found this lovely code base (that actually worked) on github, supported on a debian 10/11 or ubuntu 20+ versions- The script (jitsi_setup.sh) can be used to install stable version of all 3 on a stand-alone server. This is simply a script version of quick-install document at https://jitsi.github.io/handbook/docs/devops-guide/devops-guide-quickstart It Installs below… Read More