Icinga2 api examples Examples for the Icinga 2 API. If you don't want to use it, use the command line params If you prefer to set up the API manually, you will have to perform the following steps: Set up X. And if so, Step 6 - Configure Icinga2 API. There are certain limitations for child zones, e. You switched accounts on another tab or window. Create Icinga Notifications custom sources including Prometheus to improve monitoring workflows. The debuglog feature can also be created and deleted at runtime without having to restart Icinga 2. I am sure this question has been asked somewhere else, I just cannot figure out which keywords to use to search for it. Does anyone know if there is a GET API call for getting the scheduled iCInga downtimes? I see on the Icinga2 Api page there is schedule-downtime and remove-downtime, but I see nothing about getting pre existing downtimes. Part of this interpretation is, e. Enabling this boolean allows httpd to connect to the API of icinga2 (Ports labeled icinga2_port_t). Dependency objects are used to specify dependencies between hosts and services. #DevOps #Icinga2 #devopsguide #API #PassiveChecks #Icingaapi #digitaltransformation #Icinga #monitoring. I use the API quite a lot to query information about the hosts or services, also to create/remove downtime, acknowledgement, etc. Signature: Examples for the Icinga 2 API. 509 TLS certificates for Icinga 2; Enable the api feature (icinga2 feature enable Is it possible to show the last check result of checks triggerd via command_endpoint? Or is there a way to define a check on the agent and just tell the master to gather the check results? Backstory: I got a pretty basic distributed monitoring setup with a single master, two satellites and some agents. So this will not cover the current day. To manage and configure the Icinga2 monitoring through HTTP, you need to configure the Icinga2 API. One part of this is done with icinga2 node wizard where icinga is configured as master and server01 as well as server02 are configured agent having icinga as parent. You can tailor the permissions according to your security and operational requirements. Technically, this is possible because this feature is a FileLogger that can be managed through the API. Morpheus_0012 (Daniel) March 22, 2021, 11:57am 1. Vice versa, the trust hierarchy allows for example the master zone to send configuration files to the satellite zone. Find setup, API integration and examples. In the webfrontend there is a seperate checkbox “all_services” which is working fine, but how can I use it through the API? I tried for example: curl -k -s -u 'actionuser' -H 'Accept: # icinga2 icinga2 - The Icinga 2 network monitoring daemon (version: v2. Whether you ask on the community channels or you create an issue at GitHub, make sure that others can follow your explanations. Every single endpoint for fetching data has to be provided by modules which are installed separately. Latest version: 1. Most of the examples found online use the Linux shell The permissions field in the ApiUser object specifies what the API user is allowed to do. Hi. The API additionally If you prefer to set up the API manually, you will have to perform the following steps: Set up X. Here is the curl Command I am using: curl -k -s -u root:icinga -H ‘Accept: application/json’ -X POST ‘ Features available via icinga2 feature CLI command. Thus, you might want to start by having a look at icinga2 object list --type Host. Simple status filters can be used to narrow down the returned status list. I wonder if there is a way to get the history of a given host or service, Examples for the Icinga 2 API. You can re-arrange widgets via drag&drop. The Icinga API is a powerful tool that provides access to the entire Icinga configuration, objects, and states. Note Hello there, I have a short question. 11. You can use the Icinga 2 debug console as a sandbox to test these functions before implementing them in your scenarios. I looked through the documentation and couldn’t find it. Reload to refresh your session. api. Just keep in mind to include the main directories in the icinga2. You can then modify it via API If you prefer to set up the API manually, you will have to perform the following steps: Set up X. 509 TLS certificates for Icinga 2; Enable the api feature (icinga2 feature enable I’m sorry if I missed this somewhere. PNP is an addon which adds a graphical representation of the performance data collected by the monitoring plugins. The flow control inside the parser ensures that for example ignore where can only be defined when a previous assign where was given - or when inside an apply for rule. Icinga2 Api performance_data from Service. I know how to find all Nodejs Modul to control Icinga2 through api. Start using icinga2-api in your project by running `npm i icinga2-api`. 509 TLS certificates for Icinga 2; Enable the api feature (icinga2 feature enable My OSS history until March 2020 - archived copy, use case adoption: Examples for the Icinga 2 API - dnsmichi/archived-copy-icinga2-api-examples If you prefer to set up the API manually, you will have to perform the following steps: Set up X. 2. general 4. Please ensure to provide any detail which may help reproduce and understand your issue. how you can adjust the time periods, so that at certain hours on the same test there were different values of warn and crit If you prefer to set up the API manually, you will have to perform the following steps: Set up X. enigma619 (Enigma) September 1, 2021, 11:25am 1. [2019-04-23 09:11:36 +0200] warning/TlsStream: TLS stream was disconnected. Hi guys, I’m trying hard to set a downtime for all services of one host via API. Some examples can be found in the programmatic examples in the docs, which are using GET with X-HTTP-Method-Override, but the principle of passing filters inside the request body is the same. 6. Icinga 2 Slack Bot: Golang: Query host/service details from a Slack channel: icinga2bot: Python: Example API Client in Powershell python icinga2 api client. Contribute to n0braist/icinga2-api-examples-1 development by creating an account on GitHub. File metadata You can see the output inside the icinga2. Please continue reading here for advanced usage and examples for command arguments. yml (Default profile: default). Output ¶ The output should be as short and as detailed as possible. Write better code with AI * This local example requires `NodeName` defined in * constants. Contribute to saurabh-hirani/icinga2-api-examples development by creating an account on GitHub. Please correct me if I’m wrong. Contribute to Icinga/icinga2-api-examples development The aim of this repo is to give the user a one-stop shop for trying out the icinga2 API - right from running the docker image, creating/querying/deleting dummy data alongwith the gotchas learnt so that you can mess around with dummy data Icinga 2’s REST API is used to manage the core application and retrieve details about the objects state. Windows Agents¶ Windows Agents are the main target audience for this feature. . 5 crit 1 values and during working hours these parameters are maintained But at night, the procedure of backup is carried out and messages begin to roll. # ICINGA2_API_USERNAME=root ICINGA2_API_PASSWORD=icinga icinga2 console --connect 'https://localhost:5665/' <1 The last_notification_result runtime attribute is stored and synced for Notification objects and can be queried via REST API. 509 TLS certificates for Icinga 2; Enable the api feature (icinga2 feature enable Thus, all files from /etc/icinga2/ are being parsed and interpreted, put into its internal state. If shell scripts suit you, that is the simplest way of interacting with it, however, I’ll provide examples for both Python and curl that do the same Hello, I’m working on a Perl Script which use the Icinga2 API to query information about all monitored Hosts. Example for retrieving the notification object and result from all disk services using a regex match PEM formatted certificate chain file to be used for SSL client authentication. It got a bit of interest so I was asked to start another thread. You can create comments with the add-comment API action. For using the API you have 2 options: Use bulk mode where you upload full configuration files. 509 TLS certificates for Icinga 2; Enable the api feature (icinga2 feature enable Self Service API¶ Introduction¶ Icinga Director offers a Self Service API, allowing new Hosts running the Icinga Agent to register themselves in a secure way. Icinga Community example url and filter. d. 4+) This is intended for demo purposes and not for production To keep it simple, I’ll just show you a couple of example commands today. Enable Icinga DB Feature ¶. - Icinga/icinga2. Global Here’s an example that retrieves the command that was used by Icinga to check the icinga2-agent1. I have tried searching, but I don’t seem to find the docs I need. As I understand, this also makes Icinga ignore my api-users. But where to start? Well, you can always check out the Icinga API documentation Only two methods are possible if you look into the docs (Icinga2 Api - Icinga 2): API User; Certificate So from this point it’s not possible to query with token, if I understand your screenshot correctly. 509 TLS certificates for Icinga 2; Enable the api feature (icinga2 feature enable It uses the Icinga2 API to get Host/Service status details. conf configuration file by default. The Script should list all monitored Host IPs of a specific VLAN. Note Icinga2 API curl call. Leave blank for no filtering. This is what I want to achieve - I have a the same check, check_fs, running on a number of systems, and I want to get a list of the ones that are critical. 509 TLS certificates for Icinga 2; Enable the api feature (icinga2 feature enable By default file the mainlog feature is enabled. Expression operators may be used in assign where conditions. Plugin API ¶ Icinga 2 supports the native plugin API specification from the Monitoring Plugins project. I’m trying to write a specific query, using a filter, but I can’t seem to get it right. 509 TLS certificates for Icinga 2; Enable the api feature (icinga2 feature enable Hello, I’m new here, maybe you can help me with my question. Details for the file icinga2py-0. This is a good alternative to icinga2 feature enable debuglog as object creation/deletion via API happens immediately and requires no restart. From my understanding, Icinga2 has different “configuration spaces”, which are as far as I know: Config files Icinga2 API Director Where each “space” contains an independent (and unique) set of objects (hosts, templates, Hi there! I’m trying to figure out, how the CLI works for adding monitored services to a host. [2019-04-23 09:11:36 +0200] warning/JsonRpcConnection: API client disconnected for identity Icinga2 Api Addons Features Troubleshooting Upgrading Icinga 2 Language Reference Library Reference Technical Concepts Keep in mind these examples are made with a Linux server. 509 TLS certificates for Icinga 2; Enable the api feature (icinga2 feature enable Hi everyone! I have some hosts that run the agent locally. I’m working on a script I can use to set downtime for a server when it suspends, since I like to do that periodically. The API (based on documentation and examples), don't seemingly let you do that. Unfortunately, all I get on my API call If you prefer to set up the API manually, you will have to perform the following steps: Set up X. It only lets you schedule downtime for all services matching a filter Learning about the Icinga API can be an eye opening moment for some, and lead to a path of automation and configuration management. The Simple AWS EC2 instances script for creating, modifying and deleting instances as host objects in Icinga 2 using the REST API (2. PNP ¶. If you decide to use username and password for your api request, you can use this example from the documentation as a guide: The Icinga API is a powerful tool that provides access to the entire Icinga configuration, objects, and states. yml in this repo to view a sample configuration. /target/debug/icingacli --help icingacli 0. " entry_time = 1234567890 } Configuration Attributes: For example the Icinga 2 log files have to have the icinga2_log_t label. 2, last published: 6 years ago. However, it is not returning anything like what I’m expecting. chef cookbooks icinga2 Updated Sep 9, 2020; Ruby; chrisss404 / icinga2-influxdb-grafana Star 39. This API is intended for programmatic usage. 509 TLS certificates for Icinga 2; Enable the api feature (icinga2 feature enable First of all, my apologies. For example, a variable that is lower in the list will override a variable that is higher up. In our community forum Michael already outlined the possibility to operate Icinga 2 with an external certification authority, not the one Icinga 2 generates by itself. Check sample_api. I wanted to execute some passive checks on those hosts and submit results to the agent installed on those hosts. In my reading, it looks like I need to authenticate with a certificate which is why my If you prefer to set up the API manually, you will have to perform the following steps: Set up X. Documentation. Signature: It's also reasonable to pass the "filter" attribute inside the POST request body, and also use "filter_vars" to specify e. If you decide to use username and password for your api request, you can use this example from the documentation as a guide: Contribute to tclh123/icinga2-api development by creating an account on GitHub. Dependencies can be defined as Host-to-Host, It uses the Icinga2 API to get Host/Service status details. Find and fix vulnerabilities Codespaces. Skip to content. Sign in Product Actions. servicename" : "DHCP_Servers" If i'm going back to the documentation, the below API that will need to be execute: Use the Icinga 2 API ¶ If you’re running Icinga 2 it’s best to use the Icinga 2 API for transmitting external commands. . Note: ifw_api_ca: null (Icinga PKI) Peer TLS CA certificate path. Due to how Icinga 2 resolves macros and serializes the resolved values In this example the assign where condition is a boolean expression which is evaluated for all objects of type Host and a new service with name “ping” is created for each matching host. I’m writing a web application which connects via the Icinga2 API. Table of Contents. It allows you to generate a single Powershell Script based on the Icinga 2 Powershell Module. g. g, by the Director. Host and manage packages Security. 509 TLS certificates for Icinga 2; Enable the api feature (icinga2 feature enable {"payload":{"allShortcutsEnabled":false,"fileTree":{"paw":{"items":[{"name":"api_calls. their members are not allowed to send configuration commands to the parent zone members. example. */ object Endpoint NodeName {host = NodeName} object Icinga 2 Troubleshooting ¶ Required Information ¶. It can be used as reference example for your own configuration strategy. The command line utility icinga2_api uses the config file to load the host connection params. py # edit examples/local_config. GitHub Gist: instantly share code, notes, and snippets. 509 TLS certificates for Icinga 2; Enable the api feature (icinga2 feature enable Thanks Dominik, I so i have managed to add the following command object, and it seems i can run it from the API. Log Rotation ¶. This is enabled by default, if not needed you can disable it for more security. Code Issues Pull requests Icinga 2 Chef Cookbook. Expected Behavior Icinga Director should be able to update a variable object if the object has a null value and the value is already provided by Icinga Director for example in Service Template or Service Set. Data can be pulled with custom jobs or pushed via REST API. Info. If you are using Windows, you will need to change the services accordingly. Contribute to bodsch/icinga2-api-examples-1 development by creating an account on GitHub. If you prefer to set up the API manually, you will have to perform the following steps: Set up X. The to keyword and the target type may be omitted if there is only one target type, e. conf. Contribute to Icinga/icinga2-api-examples development by creating an account on GitHub. log file depending in your log severity; Use the icinga2 console to test basic functionality (e. Navigation Menu Toggle navigation. You signed out in another tab or window. If shell scripts suit you, that is the simplest way of interacting with it, however, I’ll provide examples for both Python and curl that do the same thing. The REST-Api will only provide the actual endpoint to communicate with in general. Hi, is it possible to get just the value of the performance_data from an service? With curl -k -s -u ‘root (the example with output from Api - Icinga 2). com> icingai cli tool USAGE: icingacli [FLAGS] [OPTIONS] [SUBCOMMAND] FLAGS: -h, --help Prints help information -V, --version Prints version information -v Sets the level of verbosity OPTIONS: -c, --config <FILE> Sets a custom config You can not create an object twice. i'm trying to add new variables with the POST call , i'm getting the required result, for example Adding of the variable: "vars. 0 or later and use the JEA profile, you will have to use Install-IcingaForWindowsCertificate to either install the Icinga Agent certificate as API certificate or a $ ICINGA2_API_USERNAME=root ICINGA2_API_PASSWORD=icinga icinga2 console --connect 'https://localhost:5665/' Service stuck in a pending state? Have you ever had a Library Reference ¶ Global functions ¶. 509 TLS certificates for Icinga 2; Enable the api feature (icinga2 feature enable If you prefer to set up the API manually, you will have to perform the following steps: Set up X. debug is either True or False, this determines if the debug output via the logger is enabled and is only here for development use. Thanks for the example! I had the uri module as a backup plan and I’m glad it’s actually doable, but it sure doesn’t look pretty. d/ or with the configuration package management API, for example using Icinga Director. 509 TLS certificates for Icinga 2; Enable the api feature (icinga2 feature enable Examples for the Icinga 2 API. Icinga 2 Puppet Module. This state might be further altered via changes through the API, e. Current Behavior If previously the value for the variable object was given using Icinga2 REST API and we want to overwrite this value with the help of the Icinga Configure the API parameters in ~/. We have simple host → parent dependencies (usually the local router). I could not find the right command. If necessary, draw a picture and attach it for better illustration. Feel free to play around with them in your Icinga console! First of all, we need to connect with the Icinga API by using the following command: Here you can find all the things that you can use in the context of the Icinga 2 debug console + API. This includes configuration and its runtime updates via the Icinga 2 API, check results, state changes, downtimes, acknowledgments, notifications and other events such as flapping. Note: This is for reference only. These functions are globally available in assign/ignore where expressions, functions, API filters and the Icinga 2 debug console. A popular frontend for InfluxDB is for example Grafana. Instant dev environments GitHub Copilot. By convention you must Hello, it is possible to send Icinga2 notification to a Rest Api interface? But is this event_id the same for a service witch a critical state and a later ok state for example ? In our case yes, but you could add state to your alert_id in any way you like. It is included in the icinga2. basename ¶. Icinga 2. added in community. I replied to another thread with the post below, which was discussing how to create rules to monitor when a sensor stops reporting. It is defined in the Monitoring Plugins guidelines. venv/bin/activate cp examples/local_config. httpd_can_connect_icinga2_api. You can rate examples to help us improve the quality of examples. 509 TLS certificates for Icinga 2; Enable the api feature (icinga2 feature enable value and description are commonly used, the other entries allow to build more advanced CheckCommand objects and arguments. The Icinga2 API will only report the latest check result for host(s) or service(s) queried (as far as I know). So i will be able check which of my Hosts aren’t monitored yet. Overview; Module Description - What the module does and why it is useful; Setup - The basics of getting started with icinga2 If you prefer to set up the API manually, you will have to perform the following steps: Set up X. I wonder if there is a way to get all those Host IPs listed. Hello, I am new to the the Icinga2 world. Possible integrations include Icinga, Grafana, ticket systems such as After 6 corrupt connection attempts the remote client will be blacklisted and banned from accessing the API. Another example are specific object types which allow assign expression, specifically group @zerosoul13 They state directly in the docs that you can schedule downtime to Hosts or Services with the type variable, but the question that is being asked is how to schedule downtime for a specific service on a single host. py vi examples/local_config. 509 TLS certificates for Icinga 2; Enable the api feature (icinga2 feature enable i have problem with the API of ICINGA2. Write better code with AI These templates are imported by the provided example configuration. paw","contentType":"file"},{"name":"api_calls. agent nodes also have their own unique zone. ifw_api_username: null (none) Basic auth username. tar. , including templates. Sign in Product GitHub Copilot. Below is a series of config I use for monitoring various parts of my openHAB system using icinga2, MQTT and mqttwarn. Integration in Icinga Web 2 is possible by installing the community Grafana module. With the Icinga DB feature enabled, Icinga 2 publishes all of its monitoring data to the Redis server. Read more about this in the security section. I took the below curl command form Icinga2 documentation and tried to run and it gives 404. I have a servicegroup (called Test1) and some services in this. API endpoint for Event Streams throws 404. for the Service type. PNP is a graphing addon. Is there away or an example of sending message in via POSTMAN that someone as already done? Is there a complete l Tour Start here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site File details. 509 TLS certificates for Icinga 2; Enable the api feature (icinga2 feature enable This directory contains example configuration which should help you get started with monitoring the local host and its services. REST-Api with JEA profile¶ If you are running Icinga for Windows v1. Most of the examples found online use the Linux shell command curl. Either use the API or the config file. Code Issues Pull requests Setup Hello I have a connection time check to mssql with warn 0. Library Reference ¶ Global functions ¶. succedeed with: curl -k -s -u admin You signed in with another tab or window. 509 TLS certificates for Icinga 2; Enable the api feature (icinga2 feature enable icinga2 api examples. 0) Usage: icinga2 <command> [<arguments>] Supported commands: * api setup (setup for API) * ca list (lists all certificate signing requests) * ca sign (signs an outstanding certificate request) * console (Icinga debug console) * daemon (starts Icinga 2) * feature disable (disables specified feature) * For example, the free disk space check usually monitors all partitions on your machine. There are no other projects in the npm registry using icinga2-api. Based on a (sharepoint) list, hosts are created in icinga through icingacli director host create <hostname> --imports 'Icinga Agent If you prefer to set up the API manually, you will have to perform the following steps: Set up X. How can I see (with the Icinga2 API) the service-status of some PCs, which are OK within this servicegroup? My URLs Examples for the Icinga 2 API. I haven’t put this in the tutorials section of the For running load or disk your clients needs to be configured as agents (details are described here). conf file, since it’s located in /etc/icinga2/conf. 8. An Icinga2 API valid host filter. Example: object Comment "my-comment" { host_name = "localhost" author = "icingaadmin" text = "This is a comment. py python examples/example. 509 TLS certificates for Icinga 2; Enable the api feature (icinga2 feature enable Note that this post only describes the sync mechanism for changes you make yourself in /etc/icinga2/zones. Enable/Disable Debug Output on the fly ¶. These are the top rated real world Python examples of icinga2_api. All gists Back to GitHub Sign in Sign up Sign in Sign up You signed in with another tab or window. Thomas, one of our NETWAYS colleagues, reported his Python Api - 4 examples found. It uses the Icinga2 API to get Host/Service status details. 0) Usage: icinga2 api setup [<arguments>] Setup for Icinga 2 API. Contribute to fmnisme/python-icinga2api development by creating an account on GitHub. API Documentation¶. gz. Hi all, I’m trying to find out why Icinga2 endpoints in my installation keep randomly beeing disconnected. Api extracted from open source projects. ICINGA API. Very powerfull tool and the documentation is also quite good to understand the filters. Exclamation marks icinga2 api examples. Example for retrieving the notification object and result from all disk services using a regex match on the name: $ curl -k -s -u root: If your /var/lib/icinga2/api/log directory grows, # icinga2 api setup --help icinga2 - The Icinga 2 network monitoring daemon (version: v2. william@server-1 $ . the Service type which uses the host_name attribute and the name you specified to generate its object name. You will have to always put the whole file up, not only the changes; Create the object via API as a single object. When running Icinga 2 on a terminal log messages with severity information or higher are written to the console. icinga2/api. 1. The data is stored as rrd (round robin database) files. ifw_api_crl: null (none) Path to TLS CRL to check peer against. I’d recommend using the reporting module’s JSON output to retrieve an existing report’s data as JSON (depending of course on what data you need, the reporting module produces SLA reports). You can always refactor your code later on. The Icinga documentation revamps the specification into our own guideline enriched with examples and best practices. Dependency ¶. Register Forgive me if I ask something that is too obvious. Automate . By convention you must If you prefer to set up the API manually, you will have to perform the following steps: Set up X. Icinga 2 Slack Bot: Golang: Query host/service details from a Slack channel: icinga2bot: Python: Example API Client in Powershell This directory contains example configuration which should help you get started with monitoring the local host and its services. This setup works just fine, for distributed monitoring. username of the Icinga2 API-User to access the API; password the password of the Icinga2 API-User to access the API; url to Icinga2, do not add /v1/objects/host or similar, the API will do it for you. Contribute to rdesanno/icinga2-api-examples-1 development by creating an account on GitHub. api. Run the following command to enable the Icinga2 API, generate TLS certificates for icinga2 api examples. It is meant to be invoked via cron or a systemd timer. I could find some older posts about issues like this, but no real clue how to handle this. I am trying to send message into Icinga2 by way of REST API. This file can also include the key as well, and if the key is included, client_key is not required. example examples/local_config. Some types have composite names, e. The core of our monitoring platform with a powerful configuration language and REST API. fleming@deltadna. We are very dynamic in creating new servers and also deleting them, so we want icinga more dynamic. 509 TLS certificates for Icinga 2; Enable the api feature (icinga2 feature enable Each object is uniquely identified by its type (Host) and name (host1. conf file. Due to networking constraints, the master will connect to those hosts, but there are no other connections possible, especially not agent/satellite to master. org). The last_notification_result runtime attribute is stored and synced for Notification objects and can be queried via REST API. examples rest-api icinga2 Updated May 21, 2019; JavaScript; Icinga / chef-icinga2 Star 41. I’d like to set downtime and then later remove it, but one thing at a time. Icinga 2 Slack Bot: Golang: Query host/service details from a Slack channel: icinga2bot: Python: Example API Client in Powershell icinga2 api examples. icinga2 api examples. Does anyone already implemented that? Thanks for your help! Only two methods are possible if you look into the docs (Icinga2 Api - Icinga 2): API User; Certificate So from this point it’s not possible to query with token, if I understand your screenshot correctly. ifw_api_password: null (none) Basic auth password. Allows the override of the inventory name based on different attributes. Icinga2 API Examples. Icinga 2 Preparations ¶ You have to run the api setup on the Icinga 2 host where you want to send the commands to: It’s only an UI which is showing data collected from icinga2. More info: Examples for the Icinga 2 API. string. py. 0. sh Hi 🙂 I am trying to schedule a downtime via REST API The problem I have is - when I deploy one app a lot of different services will go down as well (and those are not this host services or also I don’t want all services from this specific host to go down) - this is why I wanted to schedule a downtime by a filter like service group But I can’t suceed in this So i started If you prefer to set up the API manually, you will have to perform the following steps: Set up X. 1 William Fleming <wfleming. paw","path":"paw/api_calls. In your case you need at least 3 zones, one for icinga, one for server-01 and one for server-02. localdomain host: icinga2 api examples. So why create a second API for icingaweb which would only do the same? Or create icingaweb2-API which only push the request to the icinga API? This would be an overhead, wouldn’t it? At the end you have to look into the icinga2 api and find a way which fits for you If you prefer to set up the API manually, you will have to perform the following steps: Set up X. When a parent host goes down, all the dependent hosts have a nice red dot in the icingaweb UI showing that they’re unreachable. Packages provide a configuration file for logrotate on Linux/Unix. Example API Client in Powershell ¶ This example compares the given certificate with the certificate from icinga2 for a trusted connection. Automate any workflow Packages. Depending on Thus, all files from /etc/icinga2/ are being parsed and interpreted, put into its internal state. inventory_attr. I’ve a quick question If you have an example when it works on your side perhaps please? enigma619 (Enigma) September 2, 2021, 10:55am 7. the host name on demand. {"payload":{"allShortcutsEnabled":false,"fileTree":{"scripts/events":{"items":[{"name":"checkresults","path":"scripts/events/checkresults","contentType":"file I ended up writing a role using the URI module and triggering downtimes via Icinga2 API. icinga2-check-submitter is a simple Python script used to invoke passive checks and submit their results to an Icinga2 server using the Icinga2 API. Can I access this value in the API? I know there’s the last_reachable value, but it’s not the is parsed into an assign token identifier, and the string expression is compiled into a new ApplyExpression object. iterating over a dictionary) Build them step-by-step. gbvce ztsm mpmd fuijf mnc cztp hwxhnq leangk ccyn ueafgb