configuration directory and file directives ... perplexity (long and boring). [SEC=UNCLASSIFIED]

Tim Palmer tim at tany.com
Thu Oct 25 03:10:45 CEST 2007


Mr Hopcroft,

My first reaction was an unqualified "yuk!, what nitwit would even 
consider this", then I noticed it was you, and having seen your ever 
useful posts since the Netsaint 0.0.7 days, I relented. Although hearing 
vi called "anachronistic" ruffles a couple of feathers. Notepad isn't? 
No accounting for taste...

I can't actually speak to your specific question, but it just seems like 
a scary thought. Better to run samba on the Nagios machine and let them 
mount it, and/or SVN. And then there's the GUI method, of course.

good luck!

tim

Stanley.Hopcroft at Dest.gov.au wrote:
> 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
> Nagios-users at lists.sourceforge.net
> 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
> 


-------------------------------------------------------------------------
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
Nagios-users at lists.sourceforge.net
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





More information about the Users mailing list