NAME
xynagios - adaptor for using Nagios checks with Xymon
SYNOPSIS
xynagios [options --] plugin [options ...]
DESCRIPTION
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".
--trends
In addition to printing performance data in the status report
(suitable for the NCV/SPLITNCV hobbitd_rrd modules), send in a data
report for hostname.trends. This rrd module is more robust.
--help
--version
Print help text and version, and exit.
SEE ALSO
xymon(7), bb(1), bbcmd(1), nagios3(8).
AUTHOR
Christoph Berg <myon@debian.org>
LICENSE AND COPYRIGHT
Copyright (c) Christoph Berg <myon@debian.org>
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
1. Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR
IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT,
INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.