We are currently reworking the forum to embellish it and make it better for you all to get the answers you are looking for. In order to do so, we have to freeze this current forum meaning you can access all the history of posts and discussions but you can no longer create new items.
For all your current questions, you can join our Slack workspace were many community members are already helping each others: Join Slack
I am in the process of migrating my NAGIOS 1.3 installation to 2.4. I am playing around a bit with getting Nagios to run together with Oreon. Does not seem so easy... hock: but i am not finished to setup Nagios 2.4 properly. My main concern right now and in the past 2 weeks is to import the data into Oreon and see what happens.
Importing the new Oreon SQL via the Websetup is not possible. I get a row of error messages like table already exists... so i deleted everything Oreon again and started fresh.
Now i imported all Nagios 1.3 templates and *.cfg data again and have most of it as before in Oreon :P except the contacts.cfg.
They import fine according to the import status but are nowhere to be seen !?
Also generating and moving the *.cfg data has no effect in the /nagios/etc directory. It remains empty.
This morning i installed Oreon from scratch again... deleting DB, directories etc.
While importing hostextinfo.cfg i get this error:
Warning: Invalid argument supplied for foreach() in /usr/local/oreon/www/include/configuration/configLoad/DB-Func.php on line 583. This happend with previous versions too. In the status message it says imported 400+ entries.
With release # RC2-2 i still can not import contacts.cfg, also contactgroups.cfg are ok. When i want to generate, move the *.cfg files it says OK in the status message but nothing to see in the /nagios/etc directory.
Manual Filling File loading OK
Data recovery OK
Command :0 recorded entrie(s)
Time Period :0 recorded entrie(s)
Contact :33 recorded entrie(s)
Contact Group :0 recorded entrie(s)
Host :0 recorded entrie(s)
Host Extended Infos :0 recorded entrie(s)
Host Group :0 recorded entrie(s)
Host Dependency :0 recorded entrie(s)
Service :0 recorded entrie(s)
Service Dependency :0 recorded entrie(s)
Service Group :0 recorded entrie(s)
Service Group Dependency :0 recorded entrie(s)
but only with Oreon 1.3RC1 did the import really work. With 1.3RC2-1/1.3RC2-2 it does not.
I tried to find the right DB_func.php but i have a different path and far to many DB_func.php in almost every directory hock:
I am not a php programmer but if it's no big deal i can correct this myself, pls. tell me how to do it. Which path/file, line nummber and code... or will there be another solution ?
----
Then the issue of the *.cfg files not being copied to the nagios/etc directory confuses me still. I tried all 3 different modes like, Dependencies Management
Current Activation, None...
This too worked well with Oreon 1.3RC1 but not with RC2-1, RC2-2 hock:
Comment