use strict; use lib "/usr/local/nagios/bin/libexec"; use utils qw(%ERRORS); .... exit ERRORS{"CRITICAL"};