Syncing of status.dat

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
griffithusg
Posts: 64
Joined: Sun Nov 07, 2010 7:16 pm

Syncing of status.dat

Post by griffithusg »

Is there a way to sync status.dat between nagios instances?
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Syncing of status.dat

Post 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?
griffithusg
Posts: 64
Joined: Sun Nov 07, 2010 7:16 pm

Re: Syncing of status.dat

Post 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.
mguthrie
Posts: 4380
Joined: Mon Jun 14, 2010 10:21 am

Re: Syncing of status.dat

Post 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.
Locked