Support being invoked from Icinga as well as Nagios

Icinga prefixes it's environment variables with "ICINGA" instead of "NAGIOS".  Otherwise the script works fine with either system.