PDA

View Full Version : ods_demon.log


sgrynd
09-12-2007, 07:02 PM
I am having issues with my graphs, they are no longer updating and I saw the other thread on this file and thought I should check mine and found a few errors that appear to be different than the other thread.

Should these be cause for concern at all?

Use of uninitialized value in string ne at /usr/local/oreon/ODS/lib/identifyMetric.pm line 87, <PFDT> line 15.
Use of uninitialized value in string ne at /usr/local/oreon/ODS/lib/identifyMetric.pm line 87, <PFDT> line 5.
thread failed to start: Can't call method "prepare" on an undefined value at /usr/local/oreon/ODS/ods line 184.
thread failed to start: Can't call method "prepare" on an undefined value at /usr/local/oreon/ODS/lib/verifyHostServiceIdName.pm line 25.

I am using Centreon 1.4.1 with nagios 2.9 on a centos 4.4 server

rzd
10-03-2007, 04:57 PM
same problem !

nebj00la
10-09-2007, 11:04 PM
It seems like you are missing the following code in oreon/ODS/lib/identifyMetric.pm:

if (!defined($6)){$6 = "";}
if (!defined($7)){$7 = "";}
@data = ($1, $2, $3, $4, $5, $6, $7); # metric, value, unit, warn, critical, min, max

This replaces:

@data = ($1, $2, $3, $4, $5); # metric, value, unit, warn, critical

This is referenced data from changeset 3058, which can be viewed at http://trac.oreon-project.org/changeset/3058/oreon-dev/ODS/lib/identifyMetric.pm