icinga2 | monitoring platform with a powerful configuration language | Monitoring library

 by   Icinga C++ Version: v2.13.7 License: GPL-2.0

kandi X-RAY | icinga2 Summary

kandi X-RAY | icinga2 Summary

icinga2 is a C++ library typically used in Performance Management, Monitoring, Prometheus, Grafana applications. icinga2 has no bugs, it has no vulnerabilities, it has a Strong Copyleft License and it has medium support. You can download it from GitHub.

Icinga is a monitoring system which checks the availability of your network resources, notifies users of outages, and generates performance data for reporting. Scalable and extensible, Icinga can monitor large, complex environments across multiple locations. Icinga 2 is the monitoring server and requires Icinga Web 2 on top in your Icinga Stack. The configuration can be easily managed with either the Icinga Director, config management tools or plain text within the Icinga DSL.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              icinga2 has a medium active ecosystem.
              It has 1856 star(s) with 555 fork(s). There are 128 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 262 open issues and 6599 have been closed. On average issues are closed in 513 days. There are 138 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of icinga2 is v2.13.7

            kandi-Quality Quality

              icinga2 has 0 bugs and 0 code smells.

            kandi-Security Security

              icinga2 has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              icinga2 code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              icinga2 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

              icinga2 releases are available to install and integrate.
              Installation instructions are available. Examples and code snippets are not available.
              It has 235 lines of code, 11 functions and 17 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 icinga2
            Get all kandi verified functions for this library.

            icinga2 Key Features

            No Key Features are available at this moment for icinga2.

            icinga2 Examples and Code Snippets

            No Code Snippets are available at this moment for icinga2.

            Community Discussions

            QUESTION

            Enabling HTTPS port in k8s
            Asked 2021-Dec-13 at 10:24

            I am trying to add port 5665 into istio-ingressgatway and its been added but the traffic is not (I think) routed correctly since i am keep getting SSL error

            ...

            ANSWER

            Answered 2021-Dec-13 at 10:24

            Just to add the answer for others how i fixed the issue.

            Gateway Change:

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

            QUESTION

            Backslashes are not correctly encoded
            Asked 2021-Aug-02 at 08:30

            I am at wits end.

            My scenario is that I am using python requests to interact with Icinga2 API and I am trying to schedule a downtime. So I know how that is supposed to works and it works most of time. But unfortunately I am totally out of luck when the Icinga2 service I try to set a downtime to has name with a backslash in it.

            My test environment:

            • Icinga2 2.9.0
            • Python 3.6.8 / Python 3.8.11
            • requests 2.27.0

            Prerequisite: Create a host in Icinga. Create a service in Icinga with a "\"-character.

            Python Code for Reproduction:

            ...

            ANSWER

            Answered 2021-Jul-26 at 16:34

            You can try adding an r to the front of the string after the filter key. Also, I think this closed parenthesis is unnecessary.

            Python treats backslashes in strings as special characters, adding an 'r' before the string make it not treat them as special characters, and instead as backslashes 'filter': r'host.name=="HOSTNAME" && service.name=="SERVICE\NAME"'),

            https://www.journaldev.com/23598/python-raw-string

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

            QUESTION

            moving a command to a different host template using icinga director
            Asked 2020-Aug-09 at 13:47

            I have Icinga2 installed with icingaweb2 on Ubuntu 19.10 and I have Icinga director Installed for the configuration which is really awesome.

            I created some command and attached them to linux-agent host template.

            that was a mistake cause I added more servers that don't need these new commands.

            so I created a new host template called my-linux-agent as a duplicate of linux-agent and now I want to move all my custom commands to the new host template and I can't find any way to do that.

            versions: Icinga2: 2.10.5 IcingaWeb2: 2.7.1

            thanks

            ...

            ANSWER

            Answered 2020-Aug-09 at 13:47

            so i couldn't find a way to move the command to a different host directly

            but you can easily duplicate the command to a different host and remove the previous one using the following simple steps:

            1. open the relevant command
            2. click on duplicate to duplicate the command
            3. choose the relevant host and click save
            4. open the previous command and delete it

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

            QUESTION

            How to create Powershell custom error output?
            Asked 2020-Jul-08 at 16:13

            I want to make a small PS script that checks the status of a service logon account against a server list. What i need to do is, if a server is down, it shows a custom error message that tells me which server from the list is offline, instead of the default bulky red error message.

            Here is what i came up with so far.

            This is the RPC error powershell shows if something wrong with a server.

            ...

            ANSWER

            Answered 2020-Jul-08 at 16:13

            The error is on Get-WmiObject not Where-Object. And you have to set error action to stop to catch terminating error.

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

            QUESTION

            Grafana: Overrriding series with metric named `/var(avail_MB)`: "Panel rendering error '/var(avail_MB)' is not a valid regular expression."
            Asked 2020-Jun-10 at 07:30

            An Icinga2 plugin (written by myself) returns performance data with metrics named /var(avail_MB), /var(total_MB) and similar. Data is forwarded to an InfluxDB with Grafana as Frontend.

            I'm using "GROUP BY" "tag(metric)" and "ALIAS BY" "$tag_metric" in a dashboard's panel query. The metric names are displayed correctly below the graph then.

            However when I try to override series by specifying "alias or regex" /var(avail_MB) it does not seem to work, and when going back from panel configuration to dashboard, I get an error message saying "Panel rendering error '/var(avail_MB)' is not a valid regular expression.". I tried to put a backslash in front of ( and ), but that didn't help. To make matters worse, the whole graph disappeared, and when trying to open the "Query Inspector", the frontend seems to take forever (Query never appears).

            What is the problem, and how could I fix it? I'm new to Icinga2, Grafana and InfluxDB (I'm just a "user" not administrator of those).

            The color change is not applied to the graph.

            Here is an example of plugin output:

            ...

            ANSWER

            Answered 2020-Jun-10 at 07:30

            The problems seems to be the beginning of the string ("/var"). Grafana seems to treat every string starting with / as regular expression, and it expects any regular expression with /, too (it seems). So the fix was to add a trailing /, and escape the literal / as \/.

            Unfortunately this only removes the error message, but doesn't make the override work (match). It is also required to backslash-escape the parentheses and the slash(es):

            Instead of /var(total_MB) you need to write /\/var\(total_MB\).

            The original problem has to origins:

            1. The monitoring plugin specification at https://www.monitoring-plugins.org/doc/guidelines.html#AEN201 states: "2. label can contain any characters except the equals sign or single quote (')") states that any character except is allowed as metric name.

            2. Grafana v6.7.3 proposes the incorrect (i.e.: unescaped) values for "alias or regex".

            That is how I had created the problem.

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

            QUESTION

            Ansible module: EC2 add security group to running instance
            Asked 2020-May-13 at 16:04

            I am trying to add a 1 extra security group to a running instance. Reading the documentation you should be able to when you use this:

            ...

            ANSWER

            Answered 2020-May-13 at 16:04

            result: host has only got sg-4 and missing sg-[1:3]

            Well, yeah, because you looped over them, and say "the list of groups is only {{ item }}", when what you wanted is the union filter

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

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

            Vulnerabilities

            No vulnerabilities reported

            Install icinga2

            Once Icinga Server and Web are running in your distributed environment, make sure to check out the many Icinga modules for even better monitoring.
            Installation
            Monitoring Basics
            Configuration
            Distributed Monitoring
            Addons, Integrations and Features
            Troubleshooting
            Upgrading

            Support

            The documentation is available on icinga.com/docs.
            Find more information at:

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

            Find more libraries

            Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link

            Consider Popular Monitoring Libraries

            netdata

            by netdata

            sentry

            by getsentry

            skywalking

            by apache

            osquery

            by osquery

            cat

            by dianping

            Try Top Libraries by Icinga

            icingaweb2

            by IcingaPHP

            icinga-vagrant

            by IcingaRuby