Package: slony1-bin
Version: 1.2.15-1
Severity: wishlist

The psql_replication_check.pl script included in the package is great.
And it could work as a Nagios3 plugin except it includes an __END__
section which is not supported by Nagios3's embedded Perl interpreter.
Since Nagios loads plugins inside other perl code, the code fails with
error messages like this:

Warning:  Check of service 'PHWK_Slony Subscriber' on host 
'private.example.com' did not exit properly!

The easiest solution would be to follow the instructions at
http://tracker.nagios.org/view.php?id=89 and add the line

   # nagios: -epn

to about line 9 in the script.  Then Nagios will not fail due to the
__END__ block.

-- System Information:
Debian Release: 5.0.4
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages slony1-bin depends on:
ii  libc6                    2.7-18lenny2    GNU C Library: Shared libraries
ii  libpq5                   8.3.9-0lenny1   PostgreSQL C client library
ii  perl                     5.10.0-19lenny2 Larry Wall's Practical Extraction 
ii  postgresql-common        94lenny1        PostgreSQL database-cluster manage

Versions of packages slony1-bin recommends:
ii  libdbd-pg-perl    2.8.7-1+lenny1         Perl DBI driver for the PostgreSQL
ii  ntp               1:4.2.4p4+dfsg-8lenny3 Network Time Protocol daemon and u
ii  postgresql-8.3-sl 1.2.15-1               replication system for PostgreSQL

Versions of packages slony1-bin suggests:
ii  slony1-doc                    1.2.15-1   Slony-I documentation

-- no debconf information



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: 
http://lists.debian.org/[email protected]

Reply via email to