Ad Widget

Collapse

Discussion thread for official Zabbix Template Asterisk

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • bcnx
    Junior Member
    • Jan 2011
    • 19

    #76
    Hi,

    has this template been tested with the TLS versions of the mini-HTTP server and AMI?

    Cheers,

    BC

    Comment

    • bcnx
      Junior Member
      • Jan 2011
      • 19

      #77
      To answer my own question: yes, this works. Mind you: you only need to activate TLS for the mini-HTTP, the AMI interface is connected to via 127.0.0.1
      Last edited by bcnx; 06-05-2022, 23:52.

      Comment

      • mrosu
        Junior Member
        • Jan 2022
        • 14

        #78
        I am having an issue, where the update interval for Asterisk: Service Status is happening only every 10 minutes, even though the Update interval is set to 1 minute.

        All other items are updating at 1 minute intervals.

        Click image for larger version  Name:	zabbix update interval.png Views:	0 Size:	41.3 KB ID:	446027

        Click image for larger version

Name:	zabbix asterisk service status update interval.png
Views:	714
Size:	33.0 KB
ID:	446028

        I can't figure out why this is.

        Comment

        • Markku
          Senior Member
          Zabbix Certified SpecialistZabbix Certified ProfessionalZabbix Certified Expert
          • Sep 2018
          • 1782

          #79
          I can't figure out why this is.
          Please check the Preprocessing page.

          Markku

          Comment

          • mrosu
            Junior Member
            • Jan 2022
            • 14

            #80
            Originally posted by Markku

            Please check the Preprocessing page.

            Markku
            That's what is was, thanks! I'm still learning quite a bit about Zabbix.

            Comment

            • sirfnahi
              Junior Member
              • Jun 2022
              • 2

              #81
              I have zabbix version 5.2, according to the documentation there may be problems with .yaml.

              Comment

              • sirfnahi
                Junior Member
                • Jun 2022
                • 2

                #82
                Hello all, Zabbix version 5.4.0, latest template. Everything work OK, but, all time triggered "Asterisk: has been reloaded (uptime < 10m)" In graph view negative values. get-mobdro.com

                Comment

                • MSG
                  Junior Member
                  • Jul 2022
                  • 14

                  #83
                  Hello I am from Japan.

                  I am using template "Asterisk by HTTP" and working well.

                  it seem item of service status and service response time are checking just response without authentication.
                  so asterisk will output authentication error every check as below .

                  [Jun 19 13:24:32] VERBOSE[16644] manager.c: Connect attempt from ‘40.81.xxx.yyy’ unable to authenticate
                  [Jun 19 13:24:33] VERBOSE[16645] manager.c: Connect attempt from ‘40.81.xxx.yyy’ unable to authenticate

                  Do you have plan for change to with authentication?

                  Comment

                  • Rustem Kasyanov
                    Junior Member
                    • Sep 2022
                    • 1

                    #84
                    Hi all! I'm new to Zabbix and I need your help. Working on the integration Zabbix+FreePBX. Using this template https://www.zabbix.com/ru/integrations/asterisk.
                    My goal is to have "OK" status only if the trunk is "REGISTERED", otherwise it must have "UNREACHABLE".

                    Currently, the trunk with the state "No Authentication" for example has status "OK", while it must be "UNREACHABLE". Could you please help to fix this.
                    Click image for larger version

Name:	Screenshot_10.png
Views:	653
Size:	17.7 KB
ID:	451423

                    Click image for larger version

Name:	Screenshot_11.png
Views:	597
Size:	16.5 KB
ID:	451424

                    Comment

                    • mrosu
                      Junior Member
                      • Jan 2022
                      • 14

                      #85
                      After update to Zabbix 6.2, asterisk service is always down on FreepPBX. Not sure what changed. I also updated FreePBX but every other template check is working.

                      Click image for larger version

Name:	image.png
Views:	626
Size:	75.7 KB
ID:	451674

                      Anyone else having this issue?


                      Click image for larger version

Name:	2022-09-21 12_57_26-Configuration of hosts.png
Views:	588
Size:	38.5 KB
ID:	451675

                      Comment

                      • mrosu
                        Junior Member
                        • Jan 2022
                        • 14

                        #86
                        Just wanted to add this here to my previous post. Zabbix configuration shows "Invalid third parameter"

                        Click image for larger version

Name:	image.png
Views:	677
Size:	13.4 KB
ID:	452565

                        Comment

                        • mrosu
                          Junior Member
                          • Jan 2022
                          • 14

                          #87
                          Finally figured it out. Was missing AMI.PORT macro. This template used to work without this or maybe it was configured somehow else.

                          Anyway, I made sure all of the Macros used by this template were configured on the host and it's resolved.

                          Comment

                          • g.mikrykov
                            Junior Member
                            • Oct 2022
                            • 1

                            #88
                            Hello !
                            I updated Asterisk to version 16.16. and installed FreePBIX.
                            Zabbix stopped receiving data: (pictured)​

                            curl "http://10.0.4.15:8088/rawman?action=login&username=zabbix&secret=zabbix" - works fine !


                            curl "http://10.0.4.15:8088/rawman?action=login&username=zabbix&secret=zabbix"

                            Response: Success

                            Message: Authentication accepted

                            Click image for larger version

Name:	Снимок экрана 2022-10-31 в 14.52.45.png
Views:	601
Size:	166.4 KB
ID:	453632

                            ​Please any help

                            Comment

                            • A3ex
                              Junior Member
                              • Apr 2013
                              • 3

                              #89
                              Hi team,
                              Trying to ask for help. Last Zabbix 6.2, official Zabbix Asterisk template, Asterisk 13.16 (yes I know that it is a bit old, but there are some reasons for this).
                              Enabled manager and http, created user, added necessary macroses. But in asterisk CLI I can see permanent messages:
                              Code:
                              HTTP Manager 'zabbix' logged on from ZABBIX_SERVER_IP
                              HTTP Manager 'zabbix' logged off from ZABBIX_SERVER_IP
                              Connect attempt from 'ZABBIX_SERVER_IP' unable to authenticate
                              Connect attempt from 'ZABBIX_SERVER_IP' unable to authenticate
                              Zabbix caught some data from Asterisk because info in Latest data is updating from time to time.

                              How to fix this problem? Looks like asterisk blocking user sometimes or there are different connections from zabbix to asterisk except of 8088 exist?
                              Last edited by A3ex; 30-11-2022, 12:43.

                              Comment


                              • mumische
                                mumische commented
                                Editing a comment
                                Have anyone found solution? I have two Asterisk 18 & 22 showing this message. Looks like something missed in configuration, but I can't figure what.
                            • maslonax
                              Junior Member
                              • Nov 2022
                              • 26

                              #90
                              всем привет, настроил шаблон но не работает правила обнаружения, выдает ошибку
                              Invalid discovery rule value: cannot parse as a valid JSON object: invalid object format, expected opening character '{' or '[' at: ']'
                              используется заббикс 6.0, asterisk 16 версия установлена на debian

                              Comment

                              Working...