Cacti (home)ForumsDocumentation
Cacti: offical forums and support
It is currently Wed Feb 20, 2019 2:42 pm

All times are UTC - 5 hours




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: PowerDNS Authoritative DNS Templates
PostPosted: Wed May 19, 2010 2:24 pm 
Offline

Joined: Tue Oct 17, 2006 10:09 am
Posts: 23
thanks to Howie for posting his powerdns recursor templates, I'm using those for our recursor servers

I made new templates for powerdns authoritative servers. tested with powerdns 2.9.22 running on linux.

how to install:

1. on the powerdns servers, setup snmp, make sure its working, add this to your snmpd.conf:

Code:
extend pdns     /etc/snmp/pdns.sh


2. restart snmpd

3. create /etc/snmp/pdns.sh script with these contents:

Code:
#!/bin/bash
#
/etc/init.d/pdns dump | awk '{gsub(/,/, "\n");print}' | cut -d "=" -f 2


4. chmod 755 pdns.sh

5. confirm your cacti is 0.8.7e or higher

6. add templates to your cacti

7. create the two graphs for your powerdns servers in cacti


Attachments:
cacti_graph_template_powerdns_auth_-_stats.xml [27.17 KiB]
Downloaded 682 times
cacti_graph_template_powerdns_auth_-_cache.xml [27.21 KiB]
Downloaded 521 times

_________________
Tranquil Hosting - NC Managed Servers and Colocation
Top
 Profile  
 
 Post subject:
PostPosted: Wed May 19, 2010 2:28 pm 
Offline

Joined: Tue Oct 17, 2006 10:09 am
Posts: 23
preview of graphs


Attachments:
pdnspreview.png
pdnspreview.png [ 22.41 KiB | Viewed 6790 times ]

_________________
Tranquil Hosting - NC Managed Servers and Colocation
Top
 Profile  
 
 Post subject: Re: PowerDNS Authoritative DNS Templates
PostPosted: Mon Aug 24, 2015 3:38 pm 
Offline

Joined: Sun Jul 18, 2010 4:52 pm
Posts: 16
I know I'm bumping this topic from orbit but this template does not work with the latest PDNS version (due to new output in the pdns dump command), but it's showing up in Google at the top.

I've updated the templates with the new numbers and this should make it work again! Enjoy!


Attachments:
cacti_graph_template_powerdns_auth-updated2015.zip [6.94 KiB]
Downloaded 153 times
Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group