/usr/share/check_mk/checks-man/etherbox.switch is in check-mk-server 1.2.6p12-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | title: Etherbox / MessPC: Sensor Switch Contact
catalog: hw/environment/betternet
agents: snmp
license: GPL
distribution: check_mk
description:
This check monitors the state of the etherbox switch contact sensor
The check reports a CRIT only when the current state differs from the
expected_state ("open", "closed") specified by the parameters.
Without parameters the check is always OK.
item:
The port number of the sensor followed by the sensor type
Example: "2.4" A switch contact sensor(type 4) on port 2
perfdata:
The current state of the switch contact
inventory:
The inventory creates a service for each switch contact sensor found
[parameters]
expected_state (string): the expected state of this switch: "open", "closed" or "ignore"
|