Hi,

change the agent script to this:


#!/bin/bash

kamcmd=`which kamcmd 2>/dev/null`

if [[ -x "$kamcmd" ]]
then
    echo '<<<app-kamailio>>>'
    $kamcmd -s unix:/tmp/kamailio_ctl stats.get_statistics all

    exit
fi

kamctl=`which kamctl`

if [[ ! -x "$kamctl" ]]
then
    kamctl=/usr/sbin/kamcmd
fi

if [[ -x "$kamctl" ]]
then
    echo '<<<app-kamailio>>>'
    $kamctl fifo get_statistics all
fi


Should work with kamailio 4 and 5

/niklas

On 2020-08-01 09:36, Kevin Riahi via observium wrote:

 Is the instruction set for installing and configuring Kamailio application module up to date for Kamailio v5.x   at this URL   https://docs.observium.org/apps/  ?
A recent upgrade from Kamailio 4 to 5 had broken what used to work for us on Kamailio v4.

        
  TIA


Kevin Riahi



_______________________________________________
observium mailing list
observium@observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium