View Full Version : 1.3 RC2 Available
julio
11th July 2006, 13:24
1.3 RC2 Available on our web site in Download section...
We are waiting your bugs and request.
Thanks in advance
morgentau
12th July 2006, 17:40
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... :shock: 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.
morgentau
13th July 2006, 08:15
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.
I keep on trying
Can I see your contact definition ?
morgentau
13th July 2006, 11:15
This one i tried to import from the previous Oreon 1.3RC1 contact.cfg
define contact{
contact_name xxxxxxx
alias Xxxx Xxxxxx
contactgroups DC, Exchange, FileCluster, Fileserver, SAP, Test
host_notification_period 24x7
service_notification_period 24x7
host_notification_options d,u,r
service_notification_options w,u,c,r
host_notification_commands host-notify-by-email, host-notify-to-sms
service_notification_commands service-notify-by-email, service-notify-to-sms
email xxxx@xxxxx
pager 11223456780@xxxx.xx
}
and this one i took from the Nagios 1.3 contacts.cfg
define contact {
use generic-contact
contact_name xxxxxxx
alias Xxxxx Xxxxxxx
email xxxxxx@xxxxx.xx
pager 1122334455@xxxxx.xx
service_notification_period 24x7
host_notification_period 24x7
service_notification_options w,u,c,r
host_notification_options d,u,r
service_notification_commands service-notify-by-email,service-notify-to-sms
host_notification_commands host-notify-by-email,host-notify-to-sms
}
With both i get the same status message:
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.
Ok, I got it...
Get from the svn the following file :
oreon/www/include/configuration/contact/DB-Func.php
It was the mySQL reserved word 'local' wich made the problem, it wasn't backquote for the ldap parameters insert (Thanks Wistof..)
Nathalie
13th July 2006, 12:54
I think it's oreon/www/include/configuration/configObject/contact/DB-Func.php
:)
morgentau
13th July 2006, 13:04
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 :shock:
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 :D but not with RC2-1, RC2-2 :shock:
regards from Zurich to Paris !
morgentau
13th July 2006, 13:16
While i wrote there came the answer for the right path... :D Merci
but in this case i do not know how to edit php correctly... :? ...
No edition, overwrite the file just !