migrating from 1.x to 2.x, mysql backend to flat files

Andreas Ericsson ae at op5.se
Wed Jan 3 12:05:30 CET 2007


Mark wrote:
> I'd like to move from 1.x to 2.x but I am currently storing logs in
> mysql.  I'm not married to mysql, so I don't mind leaving it behind.
> However, I need to keep the status/uptime/etc info I have stored in
> mysql.  If there a process defined somewhere to suck the info out of
> the db and put it into flat files for 2.x as if it has always been
> there?
> 

Not that I know of, but I should think a mysql -Be query piped to awk 
would do the trick if you're just interested in one-shotting it.

-- 
Andreas Ericsson                   andreas.ericsson at op5.se
OP5 AB                             www.op5.se
Tel: +46 8-230225                  Fax: +46 8-230231

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
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