On 1 Jan 2006, Florian Weimer wrote: > What about hard errors, such as a wrong command line argument, or a > problem downloading the vulnerability information?
Nagios plugins can only return 4 different codes: * 0 means OK * 1 means warning * 2 means critical * -1 means unknown debsecan should return -1 (often seen as 255) in case of command line argument, or a problem downloading the vulnerability information, 0 if no package is vulnerable and 2 if one or more packages are vulnerable. -- Cyril Bouthors
pgpGOvn11JrZJ.pgp
Description: PGP signature