API to register and remove nagios client from monitoring in startup and shutdown