[Pkg-nagios-devel] Bug#590941: nagios-plugins-basic: check_apt -v outputs in wrong order

Christoph Martin martin at uni-mainz.de
Fri Jul 30 11:03:35 UTC 2010


Package: nagios-plugins-basic
Version: 1.4.12-5
Severity: normal


The output of check_apt with the -v option is at the moment the following:

# /usr/lib/nagios/plugins/check_apt -v
Inst ldap-utils [2.4.11-1+lenny1] (2.4.11-1+lenny2 Debian-Security:5.0/stable) []
**Inst ldap-utils [2.4.11-1+lenny1] (2.4.11-1+lenny2 Debian-Security:5.0/stable) []
Inst libldap-2.4-2 [2.4.11-1+lenny1] (2.4.11-1+lenny2 Debian-Security:5.0/stable)
**Inst libldap-2.4-2 [2.4.11-1+lenny1] (2.4.11-1+lenny2 Debian-Security:5.0/stable)
Conf libldap-2.4-2 (2.4.11-1+lenny2 Debian-Security:5.0/stable)
Conf ldap-utils (2.4.11-1+lenny2 Debian-Security:5.0/stable)
APT CRITICAL: 2 packages available for upgrade (2 critical updates). 

Nagios displays in the Service Status Detail page for all Hosts for
each service the *first* line of each plugins output. So it displays
for this example:

Inst ldap-utils [2.4.11-1+lenny1] (2.4.11-1+lenny2 Debian-Security:5.0/stable) []

instead of

APT CRITICAL: 2 packages available for upgrade (2 critical updates).

So, this last line should appear as first line of the output instead.

Christoph

-- System Information:
Debian Release: 5.0.5
  APT prefers stable
  APT policy: (700, 'stable'), (90, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-2-686-bigmem (SMP w/2 CPU cores)
Locale: LANG=de_DE at euro, LC_CTYPE=de_DE at euro (charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/bash

Versions of packages nagios-plugins-basic depends on:
ii  iputils-ping            3:20071127-1     Tools to test the reachability of 
ii  libc6                   2.7-18lenny4     GNU C Library: Shared libraries
ii  libssl0.9.8             0.9.8g-15+lenny7 SSL shared libraries
ii  procps                  1:3.2.7-11       /proc file system utilities
ii  ucf                     3.0016           Update Configuration File: preserv

nagios-plugins-basic recommends no packages.

Versions of packages nagios-plugins-basic suggests:
pn  nagios3                       <none>     (no description available)

-- no debconf information





More information about the Pkg-nagios-devel mailing list