PINGU.CONF(5)
π NAME π
Okay so bestie, this is pingu.conf β the configuration file for the pingu daemon, and yes, you're reading the pingu.conf(5) manual page. Buckle up, it's giving config-file main character energy π
β¨
π DESCRIPTION π
The file can contain 3 different contexts: Global context, interface context and host context. Iconic, honestly.
Blank lines and lines starting with # are ignored β literally just skip them, no cap π
β¨ GLOBAL CONTEXT β¨
The config file starts in global context. In this section the default values for the keywords used in interface and host sections are set. Values set in global context can be overridden in interface and host sections. So global is like the vibe-setter, and the other sections can absolutely do their own thing π«Ά
intervalβ set the default ping burst interval.timeoutβ the default ping timeout value in seconds. If the ping response does not come back withintimeoutseconds the ping is considered lost.requiredβ the minimum required ping responses of a burst to consider the host online.retriesβ maximum sent ping packets for a burst.up-actionβ the default action to execute when a ping host goes online.down-actionβ the default action to execute when a ping host goes offline.
π¦ INTERFACE CONTEXT π¦
Example first, because visuals matter:
interface eth0 {
keyword value
...
}
The keywords valid in an interface section are:
gateway-down-actionβ execute this action when a gateway is considered offline.gateway-up-actionβ execute this action when a gateway is considered online.labelβ a user defined label that will be used in logs and bypinguctl.load-balanceβ enable balancing for this interface. A minimum of two interfaces need to be configured in order for load-balancing to work. An optional weight value can be given.required-hosts-onlineβ the minimum number of ping hosts that needs to be online to consider the gateway online.route-tableβ the alternate route table for this interface.rule-priorityβ the preference value for theip rule.pingβ host to ping to verify that gateway is still up. This is the same as defining a host and bind it to interface.fwmarkβ add an additional route rule for configuredfwmarkinteger.
Heads up bestie: load-balance is not a solo act β a minimum of two interfaces need to be configured in order for load-balancing to work, and an optional weight value can be given. Periodt π
π HOST CONTEXT π
Example time again:
host 1.2.3.4 {
keyword value
...
}
bind-interfaceβ bind the pings to this interface.down-actionβ execute this action when ping host goes offline.intervalβ the interval for ping bursts.labelβ a label to be used in logs andpinguctl.requiredβ the number of required ping responses to consider host online.retryβ the maximum number of retries for a ping burst.timeoutβ the ping response timeout value in seconds. If no ping response returns within this value the ping is considered lost.up-actionβ execute this action when a ping host goes online
π AUTHORS π
Natanael Copa π
Alright bestie, that's the whole page. The footer girly says 01/03/2025, and this is the pingu.conf(5) manual β go configure your daemon and slay β¨π
π¦ where this page comes from
- alpine 3.22: pingu-doc 1.5.1-r0 Β· GPL
- alpine 3.23: pingu-doc 1.5.1-r0 Β· GPL
- alpine 3.24: pingu-doc 1.5.1-r0 Β· GPL
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms