Debian Codegraph @

check_rbl/src/check_rbl.pod

raw ◀ ▶
1 Debian patch touch this file
1 =pod
2
3 =head1 NAME
4
5 C<check_rbl> - Check SMTP black- or white- listing status
6
7 =head1 DESCRIPTION
8
9 check_rbl is a Nagios plugin to check SMTP black- or white- listing status
10
11 =head1 VERSION
12
13 Version 1.7.0
14
15 =head1 SYNOPSIS
16
17 check_rbl -H hostname --server servername [options]
18
19 =head1 REQUIRED ARGUMENTS
20
21 -H, --host=STRING SMTP server to check. If hostname is given, it will be resolved to its IP first.
22 -s, --server=STRING RBL server (may be repeated)
23
24 =head1 OPTIONS
25
26 -?, --usage
27 Print usage information
28 -h, --help
29 Print detailed help screen
30 -V, --version
31 Print version information
32 --extra-opts=[section][@file]
33 Read options from an ini file. See https://www.monitoring-plugins.org/doc/extra-opts.html
34 for usage and examples.
35 -c, --critical=INTEGER
36 Number of blacklisting servers for a critical warning
37 -w, --warning=INTEGER
38 Number of blacklisting servers for a warning
39 -d, --debug
40 Prints debugging information
41 -U, --url=STRING
42 URL to check. Will be ignored if host is set.
43 -r, --retry=INTEGER
44 Number of times to try a DNS query (default is 4)
45 --workers=INTEGER
46 Number of parallel checks
47 --whitelistings, --wl
48 Check whitelistings instead of blacklistings
49 --query-timeout=INTEGER
50 Timeout of the RBL queries
51 -a, --append=STRING
52 Append string at the end of the plugin output
53 -n, --nameserver=STRING
54 Use this nameserver IP as DNS resolver (only one server is supported)
55 -t, --timeout=INTEGER
56 Seconds before plugin times out (default: 15)
57 -v, --verbose
58 Show details for command-line debugging (can repeat up to 3 times)
59
60 =head1 EXAMPLE
61
62 check_rbl -t 30 -H matteocorti.ch -s zen.spamhaus.org -s bl.spamcop.net
63
64 =head1 DIAGNOSTICS
65
66 You can specify multiple --verbose options to increase the program
67 verbosity. --debug can be used to display the process and internals of
68 the querying mechanism.
69
70 =head1 EXIT STATUS
71
72 0 if OK, 1 in case of a warning, 2 in case of a critical status and 3
73 in case of an unknown problem
74
75 =head1 DEPENDENCIES
76
77 check_updates depends on
78
79 =over 4
80
81 =item * Capture::Tiny
82
83 =item * Data::Validate::Domain
84
85 =item * Data::Validate::IP
86
87 =item * Getopt::Long
88
89 =item * IO::Select
90
91 =item * Monitoring::Plugin
92
93 =item * Monitoring::Plugin::Threshold
94
95 =item * Net::DNS
96
97 =item * Readonly
98
99 =back
100
101 =head1 CONFIGURATION
102
103 Options can be specified in an ini file. See https://www.monitoring-plugins.org/doc/extra-opts.html
104
105 =head1 INCOMPATIBILITIES
106
107 None reported.
108
109 =head1 SEE ALSO
110
111 Nagios documentation
112
113 =head1 BUGS AND LIMITATIONS
114
115 No bugs have been reported.
116
117 Please report any bugs or feature requests through the
118 web interface at https://github.com/matteocorti/check_rbl/issues
119
120 =head1 AUTHOR
121
122 Matteo Corti <[email protected]>
123 See AUTHORS for the complete list
124
125 =head1 LICENSE AND COPYRIGHT
126
127 Copyright (c) 2009-2022 Matteo Corti <[email protected]>
128
129 Copyright (c) 2009 ETH Zurich.
130
131 Copyright (c) 2010 Elan Ruusamae <[email protected]>.
132
133 Copyright (c) 2022 Claudio Kuenzler <[email protected]>.
134
135 This module is free software; you can redistribute it and/or modify it
136 under the terms of GNU general public license (gpl) version 3.
137 See the LICENSE file for details.
138
139 =head1 DISCLAIMER OF WARRANTY
140
141 BECAUSE THIS SOFTWARE IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
142 FOR THE SOFTWARE, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT
143 WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER
144 PARTIES PROVIDE THE SOFTWARE "AS IS" WITHOUT WARRANTY OF ANY KIND,
145 EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
146 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
147 PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
148 SOFTWARE IS WITH YOU. SHOULD THE SOFTWARE PROVE DEFECTIVE, YOU ASSUME
149 THE COST OF ALL NECESSARY SERVICING, REPAIR, OR CORRECTION.
150
151 IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
152 WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
153 REDISTRIBUTE THE SOFTWARE AS PERMITTED BY THE ABOVE LICENCE, BE LIABLE
154 TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL, OR
155 CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
156 SOFTWARE (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
157 RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
158 FAILURE OF THE SOFTWARE TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
159 SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
160 DAMAGES.
161
162 =head1 ACKNOWLEDGMENTS
163
•164 Elan Ruusamäe for the improved parallel support and several fixes
165
166 Victor V Kudlak for parallel support
167
168 Jan Kantert for whitelistings support