Debian Codegraph @

ctdb/utils/nagios/README

raw
1 check_ctdb 0.3
2
3 This nagios plugin is free software, and comes with ABSOLUTELY NO WARRANTY.
4 It may be used, redistributed and/or modified under the terms of the GNU
5 General Public Licence (see http://www.fsf.org/licensing/licenses/gpl.txt).
6
7 CTDB plugin
8
9 Usage: check_ctdb -i <info>
10 [ -t <timeout> ] [ -w <warn_range> ] [ -c <crit_range> ]
11 [ -H <host> ] [-s] [ -l <login_name> ]
12 [ -V ] [ -h ]
13
14 -?, --usage
15 Print usage information
16 -h, --help
17 Print detailed help screen
18 -V, --version
19 Print version information
20 --extra-opts=[section][@file]
21 Read options from an ini file. See http://nagiosplugins.org/extra-opts for usage
22 -i, --info=<info>
23 Information: One of scriptstatus or ping.
24 -H, --hostname=<login_name>
25 Host name or IP Address.
26 -s, --sudo
27 Use sudo.
28 -l, --login=<host>
29 The user to log in as on the remote machine.
30 -w, --warning=THRESHOLD
31 Warning threshold. See
32 http://nagiosplug.sourceforge.net/developer-guidelines.html#THRESHOLDFORMAT
33 for the threshold format.
34 -c, --critical=THRESHOLD
35 Critical threshold. See
36 http://nagiosplug.sourceforge.net/developer-guidelines.html#THRESHOLDFORMAT
37 for the threshold format.
38 -t, --timeout=INTEGER
39 Seconds before plugin times out (default: 30)
40 -v, --verbose
41 Show details for command-line debugging (can repeat up to 3 times)
42 Supported commands:
43 * scriptstatus :
44 check the ctdb scriptstatus command and return CRITICAL if one of the
45 scripts fails.
46 Perfdata count the number of scripts by state (ok, disabled, error,
47 total).
48 * ping :
49 check the ctdb ping command.
50 Perfdata count the number of nodes, the total ping time and the number
51 of clients.
52 Thresholds are checked against the number of nodes.
53
54
55 Copyright (c) 2011 Nantes Metropole
56