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 <[email protected]>, you have been warned! -----BEGIN GEEK CODE BLOCK----- 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++++ ------END GEEK CODE BLOCK------
signature.asc
Description: This is a digitally signed message part.

