command
Version:
v1.1.0
Opens a new window with list of versions in this module.
Published: Oct 5, 2023
License: MIT
Opens a new window with license information.
Imports: 8
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
check_keepalived
Uses D-Bus to check the state of a local keepalived
process. The keepalived
must be configured to have D-Bus enabled:
global_defs {
enable_dbus
}
Options
-
--address
, -a
-
D-Bus address to scan for VRRP instances. Defaults to org.keepalived.Vrrp1
.
Examples
Check default local keepalived
with two VRRP instances:
check_dhcpv6 --interface eno1
-
--debug
-
Turn on debug logging.
[!NOTE]
Do not enable this when running actual checks.
Example
$ check_keepalived --address org.keepalived.Vrrp2 --debug
DEBU[0000] Recursive scanning for VRRP instances on org.keepalived.Vrrp2
DEBU[0000] Loading org.keepalived.Vrrp1.Instance path=/org/keepalived/Vrrp1/Instance/enp7s0/51/IPv4
DEBU[0000] Status: vrrp51(Master) path=/org/keepalived/Vrrp1/Instance/enp7s0/51/IPv4
DEBU[0000] Loading org.keepalived.Vrrp1.Instance path=/org/keepalived/Vrrp1/Instance/enp7s0/52/IPv4
DEBU[0000] Status: vrrp52(Master) path=/org/keepalived/Vrrp1/Instance/enp7s0/52/IPv4
DEBU[0000] Faulty: []
DEBU[0000] Backup: []
DEBU[0000] Master: [vrrp51(Master) vrrp52(Master)]
DEBU[0000] Unknown: []
OK - Master: vrrp51,vrrp52 | 'backup'=0;;;; 'faulty'=0;;;; 'master'=2;;;; 'time'=3ms;;;; 'unknown'=0;;;;
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.