Allow users to specify the Nagios configuration for their setting

This change allows users to specify the Nagios configuration file that contains the command file, log file and status.dat locations.