Page 1 of 1

Syncing of status.dat

Posted: Mon May 09, 2011 12:38 am
by griffithusg
Is there a way to sync status.dat between nagios instances?

Re: Syncing of status.dat

Posted: Mon May 09, 2011 9:57 am
by mguthrie
I know there are tools like "rsync," that would allow you to do this, although it should be noted that the status.dat file is volatile, and it gets created when the nagios process is started. Are you looking at redundancy/failover options?

Re: Syncing of status.dat

Posted: Wed May 11, 2011 1:46 am
by griffithusg
Hey,
yes I am using rsync alot but this is mainly for the cutover. Basically we're doing a staged migration from old system to a new one and would like the acknowledgements and downtime to by syncd between the old and new system. Probably cant be done :(

Thanks for the reply.

Re: Syncing of status.dat

Posted: Wed May 11, 2011 9:47 am
by mguthrie
The other possibility might be to sync the mysql databases, since XI actually uses ndoutils as the event broker, all of that information is stored in the mysql->nagios database. However, we haven't tested this as of yet so I couldn't guarantee that it would work as expected, but I thought I might throw that out there as an idea as well.