|
@@ -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$"
|
|
|
}
|
|
|
}
|