]> granicus.if.org Git - icinga2/blobdiff - doc/10-icinga-template-library.md
Add minimum version check to the built-in icinga command
[icinga2] / doc / 10-icinga-template-library.md
index 2e81203851d933517d525a2383f65f08dbc1fc1f..3fe35584c5f9a87c73ed884ce464cf8dfc70df5c 100644 (file)
@@ -74,9 +74,13 @@ plugin scripts.
 ### icinga <a id="itl-icinga"></a>
 
 Check command for the built-in `icinga` check. This check returns performance
-data for the current Icinga instance.
+data for the current Icinga instance and optionally allows for minimum version checks.
 
-The `icinga` check command does not support any vars.
+Custom attributes passed as [command parameters](03-monitoring-basics.md#command-passing-parameters):
+
+Name                   | Description
+-----------------------|---------------
+icinga\_min\_version   | **Optional.** Required minimum Icinga 2 version, e.g. `2.8.0`. If not satisfied, the state changes to `Critical`. Release packages only.
 
 ### cluster <a id="itl-icinga-cluster"></a>