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

Jan Wagner waja at cyconet.org
Fri Jul 30 14:24:16 UTC 2010

Hi Christoph,

On Friday, 30. July 2010, Christoph Martin wrote:
> 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.

what exactly is the reason for calling check_apt with "-v" when you are using 
it with nagios? I mean, using just "check_apt" is providing you all 
information you need, when using it via nagios.

With kind regards, Jan.
Never write mail to <waja at spamfalle.info>, you have been warned!
Version: 3.12
GIT d-- s+: a C+++ UL++++ P+ L+++ E--- W+++ N+++ o++ K++ w--- O M V- PS PE Y++
PGP++ t-- 5 X R tv- b+ DI D+ G++ e++ h---- r+++ y++++ 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.alioth.debian.org/pipermail/pkg-nagios-devel/attachments/20100730/4b93b82a/attachment.pgp>

More information about the Pkg-nagios-devel mailing list