Ad Widget

Collapse

Zabbix_js missing

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • TheBonaZabbix
    Member
    • Feb 2023
    • 67

    #1

    Zabbix_js missing

    Dear all,
    I've imported the Zabbix Template for monitoring Cisco Meraki on my Zabbix server 6.0
    downloaded from here--> https://www.zabbix.com/integrations/meraki


    In the Latest data I saw
    Click image for larger version

Name:	image.png
Views:	1237
Size:	24.6 KB
ID:	462379
    The error is:
    Cannot execute script: ReferenceError: identifier 'uplinks' undefined
    at [anon] (duktape.c:83869) internal
    at [anon] (function:73) preventsyield​


    Surfing I found

    but on my CentOS 8 I can't find zabbix_js file

    Can someone help me please ?

    Many thanks
    Andrea
  • tim.mooney
    Senior Member
    • Dec 2012
    • 1427

    #2
    Originally posted by TheBonaZabbix
    but on my CentOS 8 I can't find zabbix_js file
    sudo yum install zabbix-js

    Some of the utilities (zabbix-get, zabbix-sender, zabbix-js) have been split off into their own packages, rather than everything being part of 'zabbix-server'. You just need to install the separate package for 'zabbix-js'.

    Comment

    • TheBonaZabbix
      Member
      • Feb 2023
      • 67

      #3
      Many thanks Tim !
      Unfortunately installing Zabbix_js did not fix the problem.
      From what I understand zabbix_js is only for scripts testing.
      I was hoping it would make the scripts work properly.

      Ciao

      Comment


      • Gerjan Wiersma
        Gerjan Wiersma commented
        Editing a comment
        Hey, Did you ever managed to fix the problem? I have the same problem rn. It feels like Monitoring Meraki with zabbix is a bit painful overall.
    • TheBonaZabbix
      Member
      • Feb 2023
      • 67

      #4
      Dear,
      unfortunately the problem persist.

      Comment

      • markosa
        Senior Member
        Zabbix Certified SpecialistZabbix Certified ProfessionalZabbix Certified Expert
        • Aug 2022
        • 105

        #5
        What does Test-options return? I mean are you getting any data from meraki? There may be different paths inuse depending meraki versions used, so you may need to adjust template to suit your version.

        Comment

        • TheBonaZabbix
          Member
          • Feb 2023
          • 67

          #6
          Dear,
          The Meraki returns tons of data because it belongs to a large organization.
          A little while ago I made a few small changes to the detection scripts to try to filter the returnerd data.
          Something has changed but I still don't understand if the problem is solved or not.
          At this moment I deleted everything and in the early afternoon I will reapply the templates to the meraki host to start from a clean situation.
          I will update the post.
          Thank you!​

          Comment

          • KevG
            Junior Member
            • May 2023
            • 8

            #7
            Any news ?

            Comment

            • TheBonaZabbix
              Member
              • Feb 2023
              • 67

              #8
              Hello.
              It’s been a long time, so memories are clouded.
              I don’t think I ever solved the problem.

              I handled the Meraki differently.

              Side Linux:
              I created a JavaScript script that queries the Meraki through the API. I get a JSON file from this script.
              Crontab,once a day, runs the script to get recent data.

              Side zabbix:
              I created an item (external check) that executes a file .sh (created in the Linux server)
              This .sh simply runs the JSON cat.

              Then a discovery rule (with preprocessing) creates hosts with the information contained in the JSON

              I hope it helps.

              Sorry for my english !

              Best regards
              Ciao​

              Comment

              • markyd85
                Junior Member
                • Aug 2020
                • 5

                #9
                I had same issue today running zabbix 6.4.7, if you upgrade template to latest release it fixes this problem

                Comment

                • KevG
                  Junior Member
                  • May 2023
                  • 8

                  #10
                  Originally posted by markyd85
                  I had same issue today running zabbix 6.4.7, if you upgrade template to latest release it fixes this problem
                  Unfortunately i'm using Zabbix 6.0 LTS. Don't know if that's matter

                  Comment

                  • shani_pinhassian
                    Junior Member
                    • Jun 2024
                    • 1

                    #11
                    have the same issue too. any ideas?

                    Comment

                    Working...