#!/usr/bin/perl -w my $o_hoststate = $ENV{NAGIOS_HOSTSTATE}; # Nagios monitored host check output data my $o_hostoutput = $ENV{NAGIOS_HOSTOUTPUT}; # Nagios date when the event was recorded my $o_datetime = $ENV{NAGIOS_LONGDATETIME}; # The recipients defined in $CONTACTEMAIL$ my $o_to_recipients = $ENV{NAGIOS_CONTACTEMAIL}; use Data::Dumper::Concise; print "
"; print Dumper(%ENV); print "";