Writing customized Nagios Core reports