keepalived
Common parts of every card (states, backoff, Unit and ExecReload, Test config, manual commands) are described in Monitor window.
| Detected by | systemd units keepalived or binaries keepalived |
| Read every | fn interval(&self) -> Duration { |
Duration::from_secs(30)} s while the Monitor window shows the tab || Active probe | none | | Test config | on demand | | Manual commands | 1 |
What the card reads and shows
Section titled “What the card reads and shows”keepalived: VRRP instances from the configuration, whether their virtual addresses are on this host now, and the last state transitions from the unit’s journal.
Everything is filtered on the host: from the configuration only instance and group names, state, interface, virtual_router_id, priority, advert_int, nopreempt and the virtual addresses leave it (never auth_pass, scripts, notify*, peers, comments or quoted strings); from ip -o addr the interface addresses (compared with the VIPs here, as addresses, with prefix and device); from the journal only Entering <STATE> STATE lines of Keepalived_vrrp as time, instance and state.
Test config
Section titled “Test config”What it does, as the card says: parses the configuration and every include like a start does and prints the errors (non-zero exit code on errors); does not start VRRP, does not touch the running daemon or the addresses; checks script paths and owners (enable_script_security) and looks up user names (script_user).
Manual commands
Section titled “Manual commands”KryoDesk shows these with Copy / Paste to terminal and never runs them.
| Label | Command | What it does |
|---|---|---|
| State transitions from the whole journal | journalctl -u keepalived.service --since -7d --no-pager -o short-iso --grep (?i)entering .* state |
reads the unit’s journal of the last 7 days; with sudo when this account is not in the systemd-journal or adm group (–grep needs journalctl built with PCRE2) |