Share

The Lilac Network Configuration Platform

Tracker: Bugs

5 Services Dependencies not Importing - ID: 1849281
Last Update: Comment added ( tdondich )

[Brought over from Fruity, I consider it important.]

I created a new dependency and then edited the file by hand, because it was
faster to copy and paste the dependencies and edit the hosts since
everything was pretty much the same. Restarting Nagios showed everything
was working correctly.

However attempting to re-import everything so that these dependencies would
be in Fruity did nothing, as they were not picked up. The unfortunate
workaround is to temporarily copy the dependencies.cfg to another directory
when importing/exporting. :(

I am running Nagios 2.9 on RHEl5 and Fruity 1.0 RC2


Nico Kadel-Garcia ( nkadelgarcia ) - 2007-12-12 11:46

5

Open

Accepted

Taylor

None

None

Public


Comments ( 3 )




Date: 2008-02-06 18:26
Sender: tdondichProject AdminAccepting Donations


Going to add another export feature which will export the lilac database
(just the inserts, not the schema), which will give someone the ability to
reimport that sql dump into lilac. Exporting to configuration files then
re-importing will NOT bring things back into lilac the way they were
because lilac adds extra functionality to templates which nagios does not
understand. So, the need for sql snapshots is a must.


Date: 2007-12-15 09:14
Sender: nkadelgarcia


I didn't write the original bug report on that one, I just ported it from
the Fruity bugs because it looks fairly nasty. There have consistently been
a set of import and export inconsistencies, where doing an import and a
re-export reproduces fundamentally different configurations. I'm afraid to
say that I don't have a running Nagios/Lilac/Fruity setup right now, since
I just started a new contract (and hope Lilac will be usable for a Nagios
configuration there, but that's not on my tasklist yet!)

That whole set of spiraling inconsistencies can be reproduced by doing a
backup of the mysql database, exporting the Lilac, re-importing, backing up
the new database, re-exporting, and comparing the results. (You need the
backup to restore your original state!)


Date: 2007-12-12 17:30
Sender: tdondichProject AdminAccepting Donations


Is there any chance you can create a test case of configuration files and
provide them?


Log in to comment.

Attached File

No Files Currently Attached

Changes ( 2 )

Field Old Value Date By
resolution_id None 2008-02-06 18:26 tdondich
assigned_to nobody 2007-12-12 17:30 tdondich