Fix a bug in the log4j template. Added recipe to install nsclient plugin.