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
Set Up a Radius Server on pfSense November 2, 2022November 5, 2022 Installing the Package The pfSense 2.X package manager includes both FreeRadius and FreeRadius2 as installation options. For this example, I’m going to be using FreeRadius2 since it has some additional features not found in the previous version. Only one version of radius can be installed on pfSense at a time…. Read More
Open Sourced Load Balancer October 30, 2014 Linux Virtual Server The Linux Virtual Server Project is a project to cluster many real servers together into a highly available, high-performance virtual server. The LVS load balancer handles connections from clients and passes them on the the real servers (so-called Layer 4 switching) and can virtualize almost any TCP… Read More
Activating File Manager in Vesta CP January 31, 2020 If you’ve vesta control panel installed, you may want to activate file manager section of vesta control panel. Open the following file: nano /usr/local/vesta/conf/vesta.conf Add/apend the following line in the editor: FILEMANAGER_KEY=’ILOVEREO’ Save and exit. File manager is now activated. Related Read More