Dear Folks, Has anyone used the nagios configuration directive cfg_dir to point to an SMB (Windows) share ?
The interest in doing this is that my colleagues hate vi and 'nix; they are qualified Cisco/Window admins who respect Nagios but have no sympathy with anachronistic editors. They would be much happier using notepad/ wordpad to edit the object configuration files. When I tried it for myself (Nagios 2.9, removing all the cfg_file directives from nagios.cfg and adding cfg_dir to point to the Windows share), Nagios complained about the main configuration file directive in cgi.cfg. When I changed cfg_dir to point back to the (untouched) Unix path, nagios -v nagios.cfg still complained. I had to 1 remove the cfg_dir directive 2 replace the cfg_file directives before it would stop whining. Thanks for any helpful comments. Yours sincerely. Stanley Hopcroft Data Communications 02 6211 6110 0412 766 832 Classification: UNCLASSIFIED ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
