cfg_dir directory recursion

Andreas Ericsson ae at op5.se
Fri Feb 18 20:46:40 CET 2005


Compile this attached program and run it with
getnagioscfg <your nagios.cfg file>
If it spits out every file you think should be included I'll get a patch 
for nagios.

Compile with;
gcc getnagioscfg.c -o getnagioscfg

You might have to change header files or something or linking or 
something. I'm not very familiar with solaris.

Bryan Loniewski wrote:
> Does anyone have the cfg_dir directory recursion working?  I found a reference to this on the
> list:
> 
> https://sourceforge.net/mailarchive/message.php?msg_id=9352997
> 
> claiming it does not work... but I have'nt seen anymore about it and I can't get it to work
> either!
> 
> I'm running:
> 
> nagios-2.0b2
> solaris 9, sparc64
> 
> _________________________
> Bryan Loniewski
> Rutgers University
> NBCS - Systems Programmer
> 
> 
> -------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products from real users.
> Discover which products truly live up to the hype. Start reading now.
> http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
> _______________________________________________
> 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
> 

-- 
Andreas Ericsson                   andreas.ericsson at op5.se
OP5 AB                             www.op5.se
Lead Developer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: getnagioscfg.c
Type: text/x-csrc
Size: 3673 bytes
Desc: not available
URL: <https://www.monitoring-lists.org/archive/users/attachments/20050218/de5b4a9c/attachment.c>


More information about the Users mailing list