send_nsca_host_or_service_check_result: Based on the example in the icinga documentation. Enhanced to handle service and host checks by Bernd Zeimetz . Copyright (c) 1999-2009 Ethan Galstad (nagios@nagios.org) Copyright (c) 2009-2010 Icinga Development Team (info@icinga.org) Copyright (c) 2012 Bernd Zeimetz License: This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundation. On Debian systems, the complete text of the GNU General Public License, version 2, can be found in /usr/share/common-licenses/GPL-2.