Check calls counter failed

Hello,

i´ve an problem…

When I set the rights on the AMI User the Freepbx Distro ignored this?
I would like to check the Asterisk Calls Counter with Icinga.
I´v added a user like icinga with pw test.

I´ve set the rights too but everytime i received the error:

ASTERISK WARNING - Get calls counter failed: , may be need “system” write privilege for user icinga2 in file manager.conf (write=system,…)

Is there maybe a Bug?

Cheers :slight_smile: and thx for help!

It’s not a bug, you don’t appear to have granted system privs to the icinga2 user. In case you’re not aware, this can all be done in the GUI under Settings → Asterisk Manager Users

What is the output of

asterisk -x "manager show user icinga2"

Hi Igaetz :slight_smile:

Thank you for answer.

I just configuered the User icinga2 in Freepbx WebUI :wink:

The Output is:

asterisk -x "manager show user icinga2"

          username: icinga2
            secret: <Set>
               ACL: yes
         read perm: system,call,log,verbose,command,agent,user,config,dtmf,reporting,cdr,dialplan,originate
        write perm: system,call,log,verbose,command,agent,user,config,dtmf,reporting,cdr,dialplan,originate
   displayconnects: no
allowmultiplelogin: yes
         Variables:
ACL: (unnamed)
---------------------------------------------
  0:  deny - 192.168.0.0/255.255.0.0
  1:  deny - 10.0.10.0/255.255.255.0
  2: allow - 127.0.0.0/255.255.255.0
  3: allow - 10.0.0.0/255.255.255.0
[root@arche ~]#

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.