parameterized nagios class