If powerdns is no longer allowing you to read the statistics, how does one collect the statistics?

Thanks,
adam.

Kevin Riahi via observium wrote on 24/08/2023 18:10:

What is the process for support on applications for observium subscribers?  In this case the  PowerDNS Recursive Server application.
Should we reach out to the original author. In this case the script is very simple and it seems it has no documented authors.

The issue is the script is no longer working even though it was in the past.
It may be because  PowerDNS Recursive Server 4.8  has made permission changes to    /var/run/pdns-recursor/pdns_recursor.controlsocket
Testing the script    /usr/lib/observium_agent/local/powerdns-recursor    and it will execute with below error.

<<<app-powerdns-recursor>>>
Fatal: Unable to connect to remote '/var/run/pdns-recursor/pdns_recursor.controlsocket': Permission denied




Here is the powerdns-recursor  script .



#!/bin/sh

recctrl=`which rec_control`

if [ $? -eq 0 ]
then
  echo '<<<app-powerdns-recursor>>>'
  $recctrl get-all
fi

    



   
  TIA


Kevin




_______________________________________________
observium mailing list -- observium@lists.observium.org
To unsubscribe send an email to observium-leave@lists.observium.org