banshee est en développement actif : les collecteurs vont encore changer, et une version que vous publiez demandera sans doute des ajustements. Pour un usage stable, attendez la version 1.0.0.

Examples

banshee/examples-collection/examples/watches/

missing

Example: the watch missing, expected elements absent; the interfaces of a Linux by SSH.

  • example
  • watch
  • missing
  • per
  • interfaces
  • ssh

par banshee1 installation1 version

v1Dernière

Publiée le 27 octobre 2026. First version in this collection.

Watch: missing

watch.missing raises when expected elements are absent: here, the interface eth0 of a Linux.

How to read it

  • The output is declared per (one value per interface); the watch looks at which interfaces have a value at this pass.
  • array('critical' => array('eth0')): each name of the list with no value raises the level, once, with every missing name.
  • It looks at every element returned, whatever the selection keeps: an interface left out of the selection is still present.
  • The value itself does not matter: missing takes an output of any sort.

To adapt it

  • The list of names is a setting: the administrator writes the interfaces of each host on the probe.
  • Mount points, services, the members of a cluster: anything whose presence matters.