xynagios(1)

xynagios1

Adaptor for using nagios checks with xymon

Usage

xynagios [options --] plugin [options ...]

Overview

xynagios runs a Nagios check, and reports its output in a way compatible with the Xymon (Hobbit, BB) monitoring system.

The Xymon test name is taken from the plugin output if it starts with test_name OK|WARNING|CRITICAL|ERROR|UNKNOWN:. Otherwise, the basename of the plugin filename is used. A check_ prefix is removed for brevity.

Options

--hostname=host

Report tests as this host.

--strip=prefix

Remove prefix (regexp) from test names. The prefix "check_" is always removed before stripping other prefixes. Useful for trimming down overly verbose Nagios test names, e.g. "check_postgres_database_size" to "database_size".

--test=name

Test name to submit. Per default, the test name is derived from the plugin output, or from the plugin name, if the output doesn't indicate the name.

--help
--version

Print help text and version, and exit.

Options for sending RRD trends messages. If any of these is set, a data host.trends message is sent.

--ds=name

The data source (DS) name used in the RRD files, defaults to lambda.

--dst=type

The data source type used in the RRD files. Useful values are GAUGE (the default), COUNTER, DCOUNTER, DERIVE, DDERIVE, and ABSOLUTE. See rrdcreate(1) for details.

--heartbeat=secs

RRD heartbeat in seconds, default is 600.

--min=N

Data source minimum value, default is U for unknown.

--max=N

Data source maximum value, default is U for unknown.

Releases

8 releases since Debian 6.0 (Squeeze); the text changed 6 times.

  1. 6.0
  2. 7
  3. 8
  4. 9
  5. 10
  6. 11
  7. 12–13

--ds since Debian 9 (Stretch); --dst since Debian 9 (Stretch); --heartbeat since Debian 9 (Stretch); --max since Debian 9 (Stretch); --min since Debian 9 (Stretch); --test since Debian 9 (Stretch).

Author

Christoph Berg <[email protected]>

From hobbit-plugins 20230301 in Debian 13 (Trixie). Parsed by carta from the page's man source.