equal
deleted
inserted
replaced
1 #! /usr/bin/perl -w |
1 #! /usr/bin/perl -w |
2 |
2 |
3 # Copyright (C) 2012 Christian Arnold |
3 # Copyright (C) 2012 Christian Arnold |
|
4 # Copyright (C) 2016 Matthias Förste |
4 # |
5 # |
5 # This program is free software: you can redistribute it and/or modify |
6 # This program is free software: you can redistribute it and/or modify |
6 # it under the terms of the GNU General Public License as published by |
7 # it under the terms of the GNU General Public License as published by |
7 # the Free Software Foundation, either version 3 of the License, or |
8 # the Free Software Foundation, either version 3 of the License, or |
8 # (at your option) any later version. |
9 # (at your option) any later version. |
13 # GNU General Public License for more details. |
14 # GNU General Public License for more details. |
14 # |
15 # |
15 # You should have received a copy of the GNU General Public License |
16 # You should have received a copy of the GNU General Public License |
16 # along with this program. If not, see <http://www.gnu.org/licenses/>. |
17 # along with this program. If not, see <http://www.gnu.org/licenses/>. |
17 # |
18 # |
18 # Christian Arnold <arnold@schlittermann.de> |
19 # Matthias Förste <foerste@schlittermann.de> |
19 |
20 |
20 use strict; |
21 use strict; |
21 use File::Basename; |
22 use File::Basename; |
22 use Getopt::Long; |
23 use Getopt::Long; |
23 use Config::IniFiles; |
24 use Config::IniFiles; |
41 DEPENDENT => 4 |
42 DEPENDENT => 4 |
42 ); |
43 ); |
43 |
44 |
44 my $ME = basename $0; |
45 my $ME = basename $0; |
45 my $NAME = "LDAPREPL"; |
46 my $NAME = "LDAPREPL"; |
46 my $VERSION = "0.3.1"; |
47 my $VERSION = "0.3.2"; |
47 |
48 |
48 my $master_default = "ldap://ldap-master:389/"; |
49 my $master_default = "ldap://ldap-master:389/"; |
49 my $slave_default = "ldap://ldap-slave:389/"; |
50 my $slave_default = "ldap://ldap-slave:389/"; |
50 my $cn_default = "replcheck"; |
51 my $cn_default = "replcheck"; |
51 |
52 |
417 |
418 |
418 This plugin checks if the ldap replication works correctly. |
419 This plugin checks if the ldap replication works correctly. |
419 |
420 |
420 =head1 VERSION |
421 =head1 VERSION |
421 |
422 |
422 This man page is current for version 0.3.1 of B<check_ldap_repl>. |
423 This man page is current for version 0.3.2 of B<check_ldap_repl>. |
423 |
424 |
424 =head1 AUTHOR |
425 =head1 AUTHOR |
425 |
426 |
426 Written by Christian Arnold L<arnold@schlittermann.de> |
427 Written by Christian Arnold L<arnold@schlittermann.de> |
427 |
428 |
428 =head1 COPYRIGHT |
429 =head1 COPYRIGHT |
429 |
430 |
430 Copyright (C) 2012 by Christian Arnold and Schlittermann internet & unix support. |
431 Copyright (C) 2012 by Christian Arnold and Schlittermann internet & unix support, 2016 by Matthias Förste an Schlittermann internet & unix support. |
431 This is free software, and you are welcome to redistribute it under certain conditions. |
432 This is free software, and you are welcome to redistribute it under certain conditions. |
432 See the GNU General Public Licence for details. |
433 See the GNU General Public Licence for details. |
433 |
434 |
434 =cut |
435 =cut |