Browse Source

icinga2: Add some comments to network commands.

Signed-off-by: Maximilian Wilhelm <max@rfc2324.org>
Maximilian Wilhelm 7 years ago
parent
commit
252ad2690c
1 changed files with 9 additions and 9 deletions
  1. 9 9
      icinga2/commands.d/network.conf

+ 9 - 9
icinga2/commands.d/network.conf

@@ -41,19 +41,19 @@ object CheckCommand "bird_bgp" {
 	command = [ "/usr/bin/sudo", FFHOPluginDir + "/check_bird_bgp" ]
 
 	arguments = {
-		"--proto" = "$proto$"
-		"--asn" = "$asn$"
-		"--ibgp" = {
+		"--proto" = "$proto$"		# IP protocol version to check
+		"--asn" = "$asn$"		# Local AS number
+		"--ibgp" = {			# Check iBGP sessions
 			set_if = "$ibgp$"
 		}
-		"--ibgp_w" = "$ibgp_w$"
-		"--ibgp_c" = "$ibgp_c$"
-		"--ebgp" = {
+		"--ibgp_w" = "$ibgp_w$"		# Warning interval for down iBGP sessions
+		"--ibgp_c" = "$ibgp_c$"		# Critical interval for down iBGP sessions
+		"--ebgp" = {			# Check eBGP sessions
 			set_if = "$ebgp$"
 		}
-		"--ebgp_w" = "$ebgp_w$"
-		"--ebgp_c" = "$ebgp_c$"
-		"--disabled_ok" = {
+		"--ebgp_w" = "$ebgp_w$"		# Warning interval for down eBGP sessions
+		"--ebgp_c" = "$ebgp_c$"		# Critical interval for down eBGP sessions
+		"--disabled_ok" = {		# Treat sessions disabled in bird as OK.
 			set_if = "$disabled_ok$"
 		}
 	}