Bryan,
I'm running the bservium_agent from xinetd
I'm running recurser  4.8 on Ubuntu 20.04.6

$ cat /etc/xinetd.d/observium_agent_xinetd 
service observium_agent
{
        type           = UNLISTED
        port           = 36602
        socket_type    = stream
        protocol       = tcp
        wait           = no
        user           = root
        server         = /usr/bin/observium_agent

        # configure the IPv[4|6] address(es) of your Observium server here:
        only_from      = 127.0.0.1 204.52.12.208 ::1

        # Don't be too verbose. Don't log every check. This might be
        # commented out for debugging. If this option is commented out
        # the default options will be used for this service.
        log_on_success =

        disable        = no
}


        
Trying to find out what is the best way to debug this.
The logs show 
Aug 25 01:00:12 nscache1 pdns-recursor[702]: msg="Received rec_control command via control socket" subsystem="control" level="0" prio="Info" tid="0" ts="1692939612.582" command="get-all"

So recursor shows it receiving the command    rec_control get-all  but  the results are not shown on observium -> Application -> PowerDNS.  All charts are blank.



Kevin Riahi






From: "Observium" <observium@lists.observium.org>
To: "Observium" <observium@lists.observium.org>
Cc: "Bryan Fields" <Bryan@bryanfields.net>
Sent: Thursday, August 24, 2023 11:31:58 PM
Subject: [Observium] Re: PowerDNS Recursive Server application

On 8/24/23 6:45 PM, Kevin Riahi via observium wrote:
> I can execute the script as root or with sudo.

Are you running the observium_agent from xinetd?  What is the user it's
running as?

Mine is below.  I am running 4.8 powerdns authoritative server on ubuntu 22 lts.

root@ns1:~# cat /etc/xinetd.d/observium_agent_xinetd
service observium_agent
{
         type           = UNLISTED
         port           = 36602
         socket_type    = stream
         protocol       = tcp
         wait           = no
         user           = root
         server         = /usr/bin/observium_agent

         # configure the IPv[4|6] address(es) of your Observium server here:
         only_from      =

         # Don't be too verbose. Don't log every check. This might be
         # commented out for debugging. If this option is commented out
         # the default options will be used for this service.
         log_on_success =

         disable        = no
}

I have the 4.9 recurser running on ubuntu 18 and it's basically the same thing.

--
Bryan Fields

727-409-1194 - Voice
http://bryanfields.net

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