Zabbix | A great collection of Zabbix scripts and templates | REST library

 by   jjmartres Ruby Version: Current License: GPL-2.0

kandi X-RAY | Zabbix Summary

kandi X-RAY | Zabbix Summary

Zabbix is a Ruby library typically used in Web Services, REST applications. Zabbix has no bugs, it has a Strong Copyleft License and it has medium support. However Zabbix has 19 vulnerabilities. You can download it from GitHub.

A great collection of Zabbix scripts and templates.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              Zabbix has a medium active ecosystem.
              It has 819 star(s) with 586 fork(s). There are 162 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              There are 80 open issues and 37 have been closed. On average issues are closed in 16 days. There are 22 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of Zabbix is current.

            kandi-Quality Quality

              Zabbix has 0 bugs and 2 code smells.

            kandi-Security Security

              OutlinedDot
              Zabbix has 19 vulnerability issues reported (5 critical, 9 high, 4 medium, 1 low).
              Zabbix code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              Zabbix is licensed under the GPL-2.0 License. This license is Strong Copyleft.
              Strong Copyleft licenses enforce sharing, and you can use them when creating open source projects.

            kandi-Reuse Reuse

              Zabbix releases are not available. You will need to build from source code and install.
              Zabbix saves you 22231 person hours of effort in developing the same functionality from scratch.
              It has 43580 lines of code, 0 functions and 51 files.
              It has low code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of Zabbix
            Get all kandi verified functions for this library.

            Zabbix Key Features

            No Key Features are available at this moment for Zabbix.

            Zabbix Examples and Code Snippets

            No Code Snippets are available at this moment for Zabbix.

            Community Discussions

            QUESTION

            Basic PowerShell Script Issue: “Expressions are only allowed as the first element of a pipeline”
            Asked 2021-Jun-04 at 06:48

            Please help me. Trying to use the variable as a value for subsequent processing does not work. I use it like this:

            ...

            ANSWER

            Answered 2021-Jun-04 at 06:48

            if I understand your script correct you want to get all eventlog entries but not those that match the pattern of "ignore.txt". to achive this you have to create ScriptBlock out of the string $a:

            Source https://stackoverflow.com/questions/67831353

            QUESTION

            Zabbix strange behavior, can't access web interface
            Asked 2021-Jun-03 at 10:30

            So recently i tried to access my zabbix web interface as usual (before it i played with my site nginx config, but reverted it back), but now on entering URL and pressing enter i only get some strange file downloaded without name, file extenstion with only 50~ bytes of data in it, any suggestions?

            Here is the file contents, but of course it's not human readable and doesn't make any sense

            UPD: i tried URL like /index.php and now it downloads same file but with name index.php

            ...

            ANSWER

            Answered 2021-May-28 at 13:36

            So the problem was in nginx config of the SITE (not the zabbix nginx config), listen 80 http2; had to remove http2

            Source https://stackoverflow.com/questions/67736537

            QUESTION

            Zabbix 5.4: Report manager is disabled
            Asked 2021-May-24 at 15:05

            I just installed Zabbix 5.4 and i want to test 'scheduled reports' but i keep getting:

            ...

            ANSWER

            Answered 2021-May-24 at 15:05

            You need to enable report writer in server config. In /etc/zabbix/zabbix_server.conf (assuming you are running Zabbix on a Linux machine) change the value of StartReportWriters to at least 1, then restart the server.

            Edit

            You also need to set WebServiceURL parameter in zabbix_server.conf. The URL should be in format :/report. Default port is 10053.

            Source https://stackoverflow.com/questions/67650571

            QUESTION

            Consumer Kafka via Rest Proxy with python
            Asked 2021-May-18 at 04:40

            I am using a kafka environment via docker. It went up correctly!

            But I can't perform REST queries with my python script...

            I am trying to read all messages received on the streamer!

            Any suggestions for correction?

            Sorry for the longs outputs, I wanted to detail the problem to facilitate debugging :)

            consumer.py

            ...

            ANSWER

            Answered 2021-May-18 at 04:40

            just use kafka-python package.

            Source https://stackoverflow.com/questions/67579105

            QUESTION

            Failed to monitor another Vm using zabbix agent
            Asked 2021-May-17 at 20:33

            I'm trying to monitor a virtual machine from another. have two ubuntu virtual machines one with the zabbix server and another with the zabbix agent. but after setting up my agent by using my public ip i get this error :Received empty response from Zabbix Agent at [192.168.x.x]. Assuming that agent dropped connection because of access permissions.

            in /etc/zabbix/zabbix_agentd i changed my server to server= 127.0.0.1,192.168.x.x and i turned off my firewall just in case.

            My agent status: If you are familiar please help and /var/log/zabbix_agentd.log

            ...

            ANSWER

            Answered 2021-May-17 at 20:33

            In logs you got:

            Failed to accept an incoming connection: connection from "192.168.243.2" rejected, allowed hosts: "127.0.0.1,192.168.243.3"

            The log itself tells you what host is trying to connect and what hosts are allowed :)

            It's trying to connect x.x.x.2 and the allowed host in the config is x.x.x.3. Change agent config 192.168.243.2 to 192.168.243.3 +restart and it should work

            Source https://stackoverflow.com/questions/67486173

            QUESTION

            mysql corrupted installation, makes mysql uninstallabe
            Asked 2021-May-07 at 13:22

            OS - Ubuntu 20.04.2 LTS

            Task - create puppet manifest, that will make apache2-zabbix page.

            ...

            ANSWER

            Answered 2021-May-07 at 13:22

            This is most likely just a dependency issue - Puppet is trying to install and run Zabbix before MySQL server is running.

            Try changing the package resource to

            Source https://stackoverflow.com/questions/67339811

            QUESTION

            Prevent Ansible to reorder the URI json post in alphabetical
            Asked 2021-Apr-23 at 20:14

            I try to communicate with zabbix API with ansible. It waits for a json input and process it, however, it does not work. My playbook task looks like this:

            ...

            ANSWER

            Answered 2021-Apr-23 at 20:14

            Based on comment, I fixed the playbook and quoted every input.

            Source https://stackoverflow.com/questions/67232987

            QUESTION

            Zabbix Agent Auto Registration - Zabbix Server
            Asked 2021-Apr-20 at 07:22

            I am trying to register Zabbix agent to Zabbix server UI automatically but seems i am missing something but when i am trying to do it via UI(Manually) it is working. can someone help me to do it.

            My configurations -

            ...

            ANSWER

            Answered 2021-Mar-03 at 15:45

            You are configuring Server and ServerActive wrong: both need to be set to the IP/DNS of the Zabbix Proxy/Server, no the local IP/DNS.

            Source https://stackoverflow.com/questions/66457463

            QUESTION

            zabbix 5.X and MS teams integration
            Asked 2021-Apr-20 at 07:06

            I am trying to integrate alerting system from zabbix 5.2.6 to MS teams i am following below document but this doesn't seems to be working.

            https://www.zabbix.com/integrations/msteams

            can anyone please suggest a doc or any other lead would be appreciated.

            ...

            ANSWER

            Answered 2021-Apr-20 at 07:06

            This Doc works fine but need to keep three important configuration in mind that are not mentioned in the doc.

            1. Administration -> General -> Macros -> add {$ZABBIX.URL} = http://DNSNAME/zabbix/ You Must Get Zabbix UI

            2. Enable Configuration -> Actions -> Trigger actions -> Report problems to Zabbix administrators

            3. You can send alerts via Admin user too. Administration -> Users -> Admin -> Media -> Type (MS Teams) -> Send to (MS team connector) -> update

            I tried on Zabbix 5.2.6 Follow This Doc Link for more details

            Source https://stackoverflow.com/questions/66997501

            QUESTION

            ignore or close zabbix problem for a period of time
            Asked 2021-Apr-12 at 13:04

            I have both zabbix 3 and zabbix 5. I have a template that monitors Database statistics. there is a trigger that is important, but sometimes when we are operating on Database the trigger is not needed because we caused that situation. sometimes i don't want this trigger on my dashboard so i attend to close it. but the interval for its item is 60s and after a minute it appears again. so is there any way to close or ignore a trigger for a period of time?

            i don't want to put the machine in maintenance mode because operation may take a week. i can't disable the item, we need its data and history. i can't change it's interval since it is in template.

            in this question Q1 someone explained about closing the problem but it's not what i want.

            ...

            ANSWER

            Answered 2021-Apr-12 at 13:04

            Since Zabbix 4, you can put a single item in maintenance using Tags.

            If maintenance tags are specified, maintenance for the selected hosts will still be activated, but problems will only be suppressed (i.e. no actions will be taken) if their tags are a match.

            https://www.zabbix.com/documentation/current/manual/maintenance

            So:

            • tag the trigger in the template
            • create a maintenace for that host/tag and activate it when needed

            Source https://stackoverflow.com/questions/67054674

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            Zabbix before 2.2.21rc1, 3.x before 3.0.13rc1, 3.1.x and 3.2.x before 3.2.10rc1, and 3.3.x and 3.4.x before 3.4.4rc1 allows open redirect via the request parameter.
            An issue was discovered in zabbix.php?action=dashboard.view&dashboardid=1 in Zabbix through 4.4. An attacker can bypass the login page and access the dashboard page, and then create a Dashboard, Report, Screen, or Map without any Username/Password (i.e., anonymously). All created elements (Dashboard/Report/Screen/Map) are accessible by other users and by an admin.
            CVE-2013-3738 CRITICAL
            A File Inclusion vulnerability exists in Zabbix 2.0.6 due to inadequate sanitization of request strings in CGI scripts, which could let a remote malicious user execute arbitrary code.
            Zabbix before 5.0 represents passwords in the users table with unsalted MD5.
            An exploitable code execution vulnerability exists in the trapper command functionality of Zabbix Server 2.4.X. A specially crafted set of packets can cause a command injection resulting in remote code execution. An attacker can make requests from an active Zabbix Proxy to trigger this vulnerability.
            In the trapper functionality of Zabbix Server 2.4.x, specifically crafted trapper packets can pass database logic checks, resulting in database writes. An attacker can set up a Man-in-the-Middle server to alter trapper requests made between an active Zabbix proxy and Server to trigger this vulnerability.
            Zabbix through 4.4.0alpha1 allows User Enumeration. With login requests, it is possible to enumerate application usernames based on the variability of server responses (e.g., the "Login name or password is incorrect" and "No permissions for system access" messages, or just blocking for a number of seconds). This affects both api_jsonrpc.php and index.php.
            An information disclosure vulnerability exists in the iConfig proxy request of Zabbix server 2.4.X. A specially crafted iConfig proxy request can cause the Zabbix server to send the configuration information of any Zabbix proxy, resulting in information disclosure. An attacker can make requests from an active Zabbix proxy to trigger this vulnerability.
            The MESILAT Zabbix plugin before 1.1.15 for Atlassian Confluence allows attackers to read arbitrary files.
            zabbix_agentd in ZABBIX 1.4.4 allows remote attackers to cause a denial of service (CPU and connection consumption) via multiple vfs.file.cksum commands with a special device node such as /dev/urandom or /dev/zero.
            SQL injection vulnerability in events.php in Zabbix 1.8.1 and earlier allows remote attackers to execute arbitrary SQL commands via the nav_time parameter.
            CVE-2014-3005 CRITICAL
            XML external entity (XXE) vulnerability in Zabbix 1.8.x before 1.8.21rc1, 2.0.x before 2.0.13rc1, 2.2.x before 2.2.5rc1, and 2.3.x before 2.3.2 allows remote attackers to read arbitrary files or potentially execute arbitrary code via a crafted DTD in an XML request.

            Install Zabbix

            You can download it from GitHub.
            On a UNIX-like operating system, using your system’s package manager is easiest. However, the packaged Ruby version may not be the newest one. There is also an installer for Windows. Managers help you to switch between multiple Ruby versions on your system. Installers can be used to install a specific or multiple Ruby versions. Please refer ruby-lang.org for more information.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/jjmartres/Zabbix.git

          • CLI

            gh repo clone jjmartres/Zabbix

          • sshUrl

            git@github.com:jjmartres/Zabbix.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link