A pretty significant portion of the configurations are stored in the objects 
cache (/var/log/Nagios/objects.cache for me).  This won't be as clean as your 
configs (and I'm not sure Nagios can use this file as a config directly), but 
you should be able to recover a pretty good amount of your running configs from 
there, and start reconstructing the config files.

May I be the first to suggest placing your configuration in revision control, 
which will help mitigate this problem in the future.  I would suggest 
Subversion (http://subversion.tigris.org/) or git (http://git-scm.com/).

Good luck!

-Gius

> -----Original Message-----
> From: Litwin, Matthew [mailto:[email protected]]
> Sent: Thursday, June 24, 2010 3:17 PM
> To: Nagios Users List
> Subject: [Nagios-users] Help - I just blew away my configs
> 
> I just blew away all my nagios config files. Nagios is still running.
> Is there any way I can make nagios spit up the configs that were loaded
> from the command line or is all hope lost?
> -----------------------------------------------------------------------
> -------
> ThinkGeek and WIRED's GeekDad team up for the Ultimate
> GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
> lucky parental unit.  See the prize list and enter to win:
> http://p.sf.net/sfu/thinkgeek-promo
> _______________________________________________
> 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

------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
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

Reply via email to