-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 severity 590941 wishlist tags 590941 + moreinfo thanks
Hi Christoph, Am 30.07.2010 16:32, schrieb Christoph Martin: > schrieb Jan Wagner am 07/30/10 16:24: >> 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. > > As I said, on the overview page I get one line for each service > using -v: > > debianbuild64 | Package Update | CRITICAL 2010-07-30 16:23:46 0d > 8h 42m 14s 3/3 Inst libldap-2.4-2 [2.4.11-1+lenny1] > (2.4.11-1+lenny2 Debian-Security:5.0/stable) > > or without -v: > > localhost | Package Updates | CRITICAL 2010-07-30 16:23:52 0d 9h > 8m 24s 4/4 APT CRITICAL: 1 packages available for upgrade (1 > critical updates). > > But when you click on the Service Description "Package Updates" you > get more details about this particular service check. Here you > would get all the output lines of the plugin. A lot of plugins use > this feature to provide extended information. > > For check_apt it would get a quick way to find out which patches > are be installed. I had again a look into this issue. As I understand you interest into this issue, but a verbose output is not intended to produce a multiline output. A short look into the source revealed that this is no one liner. When verbose mode, the grabed data is printed raw when it's processed. The checkresult is written later on after all data is processed. To implement you feature request, it's needed to store all the grabed data and write it after the check result to the output. We and upstream are glad to accept patches/push requests here. Cheers, Jan. - -- Never write mail to <w...@spamfalle.info>, 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------ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iD8DBQFRyZ2O9u6Dud+QFyQRAlF+AJ0flj++uOWVlR6FmN1TYyv/TjLRiQCeIte9 n9oyTVAtUgy/CfiQwGC4gCs= =gZfl -----END PGP SIGNATURE----- -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org