[Nagiosplug-devel] Nagios::Plugin api

Gavin Carr gavin at openfusion.com.au
Wed Aug 30 05:07:30 CEST 2006


On Wed, Aug 30, 2006 at 10:40:26AM +1000, Gavin Carr wrote:
>   $p->die( OK, $msg )
>   $p->die( CRITICAL, $msg )
>   $p->die( UNKNOWN, $msg )

Hmmm, or maybe this is better:

    $p->die( $msg );      # defaults to CRITICAL
    $p->die( $msg, WARNING );
    $p->die( $msg, UNKNOWN );

etc.

-G





More information about the Devel mailing list