Salut tout le monde!
Je viens juste de me mettre à travailler sur Oreon (3 semaines), et comme pas mal de monde j'ai quelques soucis pour faire fonctionner ODS.
Mon probléme actuel est que ODS semble incapable de remplire la base de données et je ne vois pas dutout d'ou pourrais venir le probléme.
quelques fichiers de log pour exposer le probléme:
ods_demon.log
Use of uninitialized value in concatenation (.) or string at /usr/local/oreon/ODS/lib/identifyMetric.pm line 50, <PFDT> line 1.
Use of uninitialized value in concatenation (.) or string at /usr/local/oreon/ODS/lib/identifyMetric.pm line 56, <PFDT> line 1.
Use of uninitialized value in concatenation (.) or string at /usr/local/oreon/ODS/lib/identifyMetric.pm line 60, <PFDT> line 1.
Use of uninitialized value in concatenation (.) or string at /usr/local/oreon/ODS/lib/identifyMetric.pm line 67, <PFDT> line 1.
Use of uninitialized value in concatenation (.) or string at /usr/local/oreon/ODS/lib/updateFunctions.pm line 46, <PFDT> line 1.
Use of uninitialized value in concatenation (.) or string at /usr/local/oreon/ODS/lib/updateFunctions.pm line 81, <PFDT> line 1.
ods.log
1177512061 - Starting ODS engine...
1177512061 - PID : 3977
1177512061 - Error:Cannot add or update a child row: a foreign key constraint fails (`donnee_ODS/metrics`, CONSTRAINT `metrics_ibfk_1` FOREIGN KEY (`index_id`) REFERENCES `index_data` (`id`) ON DELETE CASCADE)
1177512061 - Error:Cannot add or update a child row: a foreign key constraint fails (`donnee_ODS/data_bin`, CONSTRAINT `data_bin_ibfk_1` FOREIGN KEY (`id_metric`) REFERENCES `metrics` (`metric_id`) ON DELETE CASCADE)
1177512061 - Error:Cannot add or update a child row: a foreign key constraint fails (`donnee_ODS/metrics`, CONSTRAINT `metrics_ibfk_1` FOREIGN KEY (`index_id`) REFERENCES `index_data` (`id`) ON DELETE CASCADE)
1177512061 - Error:Cannot add or update a child row: a foreign key constraint fails (`donnee_ODS/data_bin`, CONSTRAINT `data_bin_ibfk_1` FOREIGN KEY (`id_metric`) REFERENCES `metrics` (`metric_id`) ON DELETE CASCADE)
Configuration utilisée:
Fedora Core 6
Nagios 2.6
Oreon 1.4 avec les patchs 1, 2, 3 et 4 (qui se sont tous exécutés sans erreurs) j'ai patché la source et non pas aprés avoir installé oreon.
Comme d'hab le probléme doit être sous mon nez ... :rolleyes:
Si ça vous dit quelque chose!
Je viens juste de me mettre à travailler sur Oreon (3 semaines), et comme pas mal de monde j'ai quelques soucis pour faire fonctionner ODS.
Mon probléme actuel est que ODS semble incapable de remplire la base de données et je ne vois pas dutout d'ou pourrais venir le probléme.
quelques fichiers de log pour exposer le probléme:
ods_demon.log
Use of uninitialized value in concatenation (.) or string at /usr/local/oreon/ODS/lib/identifyMetric.pm line 50, <PFDT> line 1.
Use of uninitialized value in concatenation (.) or string at /usr/local/oreon/ODS/lib/identifyMetric.pm line 56, <PFDT> line 1.
Use of uninitialized value in concatenation (.) or string at /usr/local/oreon/ODS/lib/identifyMetric.pm line 60, <PFDT> line 1.
Use of uninitialized value in concatenation (.) or string at /usr/local/oreon/ODS/lib/identifyMetric.pm line 67, <PFDT> line 1.
Use of uninitialized value in concatenation (.) or string at /usr/local/oreon/ODS/lib/updateFunctions.pm line 46, <PFDT> line 1.
Use of uninitialized value in concatenation (.) or string at /usr/local/oreon/ODS/lib/updateFunctions.pm line 81, <PFDT> line 1.
ods.log
1177512061 - Starting ODS engine...
1177512061 - PID : 3977
1177512061 - Error:Cannot add or update a child row: a foreign key constraint fails (`donnee_ODS/metrics`, CONSTRAINT `metrics_ibfk_1` FOREIGN KEY (`index_id`) REFERENCES `index_data` (`id`) ON DELETE CASCADE)
1177512061 - Error:Cannot add or update a child row: a foreign key constraint fails (`donnee_ODS/data_bin`, CONSTRAINT `data_bin_ibfk_1` FOREIGN KEY (`id_metric`) REFERENCES `metrics` (`metric_id`) ON DELETE CASCADE)
1177512061 - Error:Cannot add or update a child row: a foreign key constraint fails (`donnee_ODS/metrics`, CONSTRAINT `metrics_ibfk_1` FOREIGN KEY (`index_id`) REFERENCES `index_data` (`id`) ON DELETE CASCADE)
1177512061 - Error:Cannot add or update a child row: a foreign key constraint fails (`donnee_ODS/data_bin`, CONSTRAINT `data_bin_ibfk_1` FOREIGN KEY (`id_metric`) REFERENCES `metrics` (`metric_id`) ON DELETE CASCADE)
Configuration utilisée:
Fedora Core 6
Nagios 2.6
Oreon 1.4 avec les patchs 1, 2, 3 et 4 (qui se sont tous exécutés sans erreurs) j'ai patché la source et non pas aprés avoir installé oreon.
Comme d'hab le probléme doit être sous mon nez ... :rolleyes:
Si ça vous dit quelque chose!
Comment