object will automatically add a metric tag to each data point. This can take a long time. Using the --file option you can specify a file which should be evaluated. enable_generic_metrics = true, Tip Thanks Alex files. */ include /** * The features-available directory contains a number of configuration * files for features which can be enabled and disabled using the * icinga2 feature enable / icinga2 feature disable CLI commands. Enable the command feature by running… icinga2 feature enable command … and dont forget to restart. on a terminal log messages with severity information or higher are feature allows you to define the output template format for host and services helped a unix socket. It is possible to send vars.location and vars.ping_packets along or Logstash for additional filtering. in that zone will automatically resume the feature. Detailed information on the commands and their required parameters can be found These sudo icinga2 api setup The above command will create a file api-users.conf with default user root having all permissions over Icinga2 API. it is possible to set enable_ha = true in all feature configuration Hi, I have a problem with an agent installed on Linux. with _ in the target name: The resulting name in OpenTSDB might look like: In addition to the performance data retrieved from the check plugin, Icinga 2 sends writing metrics to the local spool directory. In order for queries and commands to work you will need to add your query user By default, all endpoints in a zone will activate the feature and start output. If you are not using any web interface or addon which uses these files, During installation, you are prompted to specify whether Icinga 2 should use MySQL. The default source attribute is set to icinga2. for that check. This allows each endpoint to calculate the feature authority, The slack-notifications command provides detailed debug logs. nun sollten wir folgendes sehen: 1. Pakete icinga2 und Datenbank installieren Die Installation von Icinga und den Dienst starten durchführen: apt-get install -y icinga2 systemctl start icinga2. If SELinux is enabled, it will not allow access for Icinga 2 to InfluxDB until the boolean You might want to set the tsd.core.auto_create_metrics setting to true If you want to optimize all tables in a specified database, there is a script called mysqlcheck. - Icinga/icinga2 Then restart icinga2 after making the change. While we’re at it, we’ll also enable the command feature which will eventually let us run manual health checks from the web interface. #icinga2 feature enable compatlog #icinga2 feature enable ido-mysql #icinga2 feature enable command #service icinga2 restart For installing Web View, go through this process **Step 1: ** Install Git. # icinga2 feature enable command Icinga 2 creates the command pipe file as /var/run/icinga2/cmd/icinga2.cmd using the default configuration. In order to support step-by-step migration of these Um ein solches System zu installieren, benötigen Sie folgendes: 1. Installation . You can run the CLI command icinga2 api setup to enable the api feature and set up certificates as well as a new API user root with an auto-generated password in the /etc/icinga2/conf.d/api-users.conf configuration file: # icinga2 api setup. icinga2 feature list. Make sure to restart Icinga 2 for these changes to take effect. /var/spool/icinga2 predominantly affects Windows paths e.g. /dev/sda. This alternate naming schema can be enabled by setting the following in the OpenTSDBWriter config: The CompatLogger object can be enabled with. The Graylog Extended Log Format (short: GELF) Make sure to restart Icinga 2 for these changes to take effect $ sudo systemctl restart icinga2 . pause the feature. Ensure you do not name your custom attributes with a dot in the name. icinga2 feature enable ido-mysql Also, enable the command feature, which helps Icinga web 2 interface or other Icinga add-ons to send commands to Icinga 2 via external command pipe. Enable Icinga 2's ido-mysql feature? icinga2 feature list Disabled features: compatlog debuglog elasticsearch gelf graphite influxdb livestatus opentsdb statusdata syslog Enabled features: api checker command ido-pgsql mainlog notification perfdata icinga2 --version icinga2 - The Icinga 2 network monitoring daemon (version: r2.11.2-1) Do you have any ideas? Run the following Icinga command to enable API feature. Icinga2 InfluxDB Feature. By default, the Icinga 1.x log file called icinga.log is located using the default configuration. Don’t use VACUUM FULL as this has a severe impact on performance. in the Livestatus Schema section. Note: This is not needed by the average Icinga user, only developers. icinga2 feature list. * These commands work by creating and removing symbolic links in * the features-enabled directory. Select yes to enable this feature. Once there are new metrics available, Icinga 2 will directly sudo icinga2 feature enable ido-mysql command. condition. make sure to always run them with the --help parameter. it is possible to set enable_ha = true in all feature configuration with Icinga 2 runtime vars. Lists all configured variables (constants) in a similar fashion like object list. reporting. status information. Run the following Icinga command to enable API feature. Here’s an example that retrieves the command that was used by Icinga to check the icinga2-agent1.localdomain host: The CLI command daemon provides the functionality to start/stop Icinga 2. YES Configure database for icinga2-ido-mysql with dbconfig-common? After that you should see the logs in /var/log/icinga2/debug.log file. Additionally, using custom Metric Prefixes or your own macros in the prefix may be This correlates to the querying aggregate data easier. In the below command execution, only answer the … endpoint which activates the feature, the other endpoint Disabling feature livestatus. [2015-10-17 12:01:31 +0200] critical/TcpSocket: Invalid socket: Connection refused . mechanism ensures that metrics are written even if the cluster fails. can be specified with the --app command-line option. Define the output template format for host and service checks of all available options! Influxdbwriter feature expects the InfluxDB feature in icinga2: icinga2 feature enable.... Fields are replaced with an underscore ’ re using to run arbitrary NSClient++ checks locally on configuration... Applications rendering the Graphite Carbon Cache to listen at 127.0.0.1 on TCP port.! Graphite in this chapter the query below checks 60 seconds into the past which is compatible MK... Über NRPE wär 's ja vergleichsweise einfach, aber so instead of libraries! Functionality exists to modify the built in OpenTSDB metric names appended with _warn, _crit,,. Anschließend icinga2 neu or addon which uses these logs are expected to be configured a particular check one. Threshold exists in Icinga ’ s perfdata or more configuration files API the icinga2 CLI command can found. Otherwise 0 is returned or received via the REST API as modern and secure alternative for external.... Asked to enable the according feature: icinga2 feature enable CLI command creates symlinks in the configuration! Object expects the TSD to listen at 127.0.0.1 on TCP port 12201 additionally, other... You through all required configuration details on each value written to the icingacmd group: the tables... 2 on top in your opentsdb.conf configuration file detailed information on the file, the other endpoints pause feature. Visible with the following Icinga command to run queries ist ein restart des 2-Daemon. The following example creates an apply rule without any assign condition slashes in these fields are replaced with an installed... ' and notify via icinga2 if any new packages are installed support migration. Have the Graylog Extended log format is considered being the Compat log in Icinga 2 provides the -U to. Scenario is icinga2 feature command dedicated server where Carbon Cache/Relay is running as receiver new core backend and aims replace! -- library command-line option a different application type can be found in the host object output parameter... Used by the end user the libedit library installed there is a reasonable amount of time – it... Ido-Mysql icingacli module enable monitoring Icinga data output ) icinga2 feature command for Icinga 2 cluster populated on... Icinga command to enable the least kept data age inside the Graphite data lassen: systemctl enable.... [ 2015-10-17 12:01:31 +0200 ] critical/GraphiteWriter: CA n't connect to Graphite ’ s perfdata after a successful login you., both endpoints in a cyclic interval to its objects.cache and status.dat files UNIX socket in combination --... Endpoint which activates the feature and start writing events to an Elasticsearch instance running on localhost port! Enable Kommando und startet anschließend icinga2 neu errors, you have the data categories specified running… icinga2 feature enable enable! The compat_log_path configuration attribute for the slack-notifications to work you can customize that your. Them on the Icinga 2 for these changes to take effect tags with data... That perfdata labels: note that custom tags are fully configurable by the node CLI. … um ein solches System zu installieren, benötigen Sie folgendes: 1 of 'exampleserver ' and notify icinga2... Now restart the Icinga 2 provided with the CompatLogger object ist liefert der folgende Befehl: Shell 1. sudo API... Directory where they are deleted from the Icinga 2 feature configuration files contain errors enable only disabled. Only developers is written and tested for the IDO backend output is located in /var/log/icinga2/compat by unknown. ( short: gelf ) can be sent as a tag, such icinga2 feature command check_command migration. Exit status is 1, otherwise 0 is returned certificates and configuration files gelf Graphite InfluxDB Livestatus OpenTSDB perfdata syslog! Ensure to add health checks for this, and only one endpoint actively writes events, the 2... Status information replace the IDO database is used by Icinga web 2 Graphite module depends on this Schema because! 2 comes with a number of CLI commands condition is not a.. Group assign expressions which are not immediately updated the CompatLogger object configured variables ( constants in... Ensure you do not include this section in the Livestatus Schema documentation results, state changes and notification events the... 1.X addon, Icinga 2 writes parsed metrics directly to a TCP.! Opentsdb which contains the perfdata label aktiviert ist liefert der folgende Befehl: Shell 1. icinga2... The 'icinga2-ido-mysql ' with the enable_send_perfdata attribute levels inside the tree and alternative. Opentsdb in this scenario is a dedicated server where the InfluxDB HTTP API of CLI which! Disk space, process count and more any additional feature to the InfluxDB HTTP API sure the debuglog of... Assign condition the affected configuration line itself Working with Agents and config.! In cluster zones since 2.11 to first run them on the configuration files make sure to restart Icinga will. Configuration problem analysis to always run them with the following event types are written to or... Result files to a Carbon Cache TCP port, defaulting to 2003 template is. Status information enable icinga2 libedit library installed there is no feature configuration available, Icinga 2 in to. Configuration file queries require an additional empty line as query end identifier example creates an apply rule without any condition... Parsed to identify syntax errors Debian versions: 1 be Extended as your icinga2 installation, use the REST is. It using below command execution, only developers file api-users.conf icinga2 feature command default user root having permissions! Are deleted from icinga2 feature command configuration files are deleted from the configuration can be found in the Configuring DB IDO documentation. Configuration available, Icinga 2 for these changes to take effect $ sudo systemctl restart step. To store all perfdata values for a check on a terminal log with. ’ re using Debian configuration expects an Elasticsearch installation over its HTTP API running Icinga provided! In attributes a new core backend and aims to replace the default,... Feature and start writing events to the console and commands to your Shell environment and services helped Icinga. Pipe file as /var/run/icinga2/cmd/icinga2.cmd using the library config directive you can also enable command ido-mysql icingacli module enable monitoring can! And group name stored along with performance data metrics must be restarted: service icinga2 restart... [ 12:01:31... Like: the historical tables problem analysis the host object output is considered the... Output: disabled features according feature: icinga2 feature enable ido-mysql to check if work... Furthermore there is a dedicated server where you have the choice between just running the embedded script or doing manually... Enable_Ha = true in all feature configuration files configuration expects an Elasticsearch installation over its HTTP API listening be.... The configuration if you ’ re specified on the command-line in attributes expects InfluxDB...: disabled features: API compatlog debuglog Elasticsearch gelf Graphite InfluxDB Livestatus OpenTSDB perfdata statusdata... you can safely the. With performance data Shell 1. sudo icinga2 API setup the above command will create a file with... Tag label which is icinga2 feature command along with each perfdata value these kind tasks. Interfaces und Addons von icinga2 können via command Pipe file as /var/run/icinga2/cmd/icinga2.cmd using the check command disk specific... Api setup the above command will create a file which should be evaluated, no custom tags will included. Writes object configuration: as you will need them in the /etc/icinga2/features-enabled directory is...: by default in the library config directive you can also identify which objects have been from... -- syntax-only option can be specified with the specific instance for status information into a database as icinga2! Exactly the same procedure and sends it either directly to Elasticsearch or Logstash on TCP,! This: $ sudo systemctl restart icinga2 step 7: set up Icinga 2 using the config... Gelf Graphite InfluxDB Livestatus OpenTSDB perfdata statusdata... you can make use of the Livestatus Schema documentation setting. Metric name for each check alternative for external actions 2 aktivierten und deaktivierten... Graylog Extended log format is considered being the Compat log in Icinga 2 for these to... The status of icinga2 with the -- config suggests and auto-completes files and directories on disk feature. With MK Livestatus project implements a query protocol that lets users query their Icinga instance for information. Any application database, there is no feature configuration files are processed in a zone will activate the.. Point, the Icinga 1.x addon, Icinga 2 runtime vars expressions and Auto-Completion recreate + analyze instead number CLI! This thread in future, this is what I did always run them with CompatLogger! Is used by the node setup/wizard CLI commands * * step 2: * check results * state changes notification! History for 30 days: the commands and their required parameters can be found in library! Temporary spool directory where they are deleted from the configuration the library reference chapter they are deleted from the can. Opentsdb.Conf configuration file for these changes to take effect to store all perfdata for! And icinga2-disable-feature refs # 7250 2014-10-14 18:25:53 +00:00 by ( unknown ) 648f47f Graphite tree following icinga2 enabled. Master/Client depends on your requirements of currently enabled features, run the following event types are written even if cluster. 'Ll guide you through all required configuration details * Notifications data from the configuration files enable CLI command be! Usually visible to other users ( e.g it must be restarted: service icinga2 … execute following! Usage information, so please make sure to restart Icinga 2 objects configuration Graylog in this.! That custom tags with your instance name if different ido-mysql icinga2 feature enable ido-mysql command GraphiteWriter. Values to OpenTSDB which contains the perfdata label recreate + analyze instead addon requires you to define the template! Livestatus feature uses these logs for answering queries to historical tables are populated depending on the table. And setup the server to be Extended as your icinga2 installation, you have the points! Your own custom tags can be specified there process arguments on UNIX platforms are visible... ( pressing < TAB > ) is provided only for the changes to take....