PDA

View Full Version : Ods


voodooo
01-09-2008, 09:01 PM
Dear all,

I have some problems getting graphs generated properly. Nagios is full configured with performance data, and my plugins work fine.

Two questions:

In 'Options' -> 'General Options' -> 'CentreonDataStorage':

Field: Perfdata "..nagios/var/service-perfdata
Field: Drop file "..nagios/var/service-perfdata.tmp"
Field: Drop Data in another file -> checked.

Is this right ?

I'v starder ODS sucefully, the graphs are generated but in ods log:

1199905452 - ERROR while updating /var/lib/ods/database/45.rrd : illegal attempt to update using time 1199905413 when last update time is 1199905413 (minimum one second step)
1199905452 - Error:MySQL server has gone away

Does anyone experienced this before ?

Tks in advance.

julio
01-10-2008, 10:25 AM
Which version of centreon ? 1.4.1 ?

voodooo
01-10-2008, 02:46 PM
I Julio,

Centreon 1.4.1
nagios 2.10

Thanks.

julio
01-10-2008, 04:25 PM
This problem can appear when you launch a rebuild of your RRDTool DB. if during the rebuild the RRD DB is update by a nagios check, you can have this error.

So I have solve this problem in version > to 1.4.1.

If you upgrade, you will not have this problem.

voodooo
01-10-2008, 05:44 PM
Ok, i will try that.

Thanks.

voodooo
01-11-2008, 03:01 PM
OK, the update solved it. Now there's another strange thing:

I have re-created the hosts and services for testing:

5 hosts with 3 services: CPU, MEM, DISK.

All this 3 services are checked by the same plugins but, there are only graphs for 2 of them. As far as i can tell all the 5 were created the same way with the same check_plugins. Performace-data log is getting the information of the 5 hosts/3 services..

Is there any way of re-create the graph (mysql/rrd) information based on hosts/services ?

Nagios 2.10
Centreon 1.4.2.2

Thanks.

voodooo
01-11-2008, 06:13 PM
Problem solved, my /etc/init.d script was not starting ODS. Everything is OK now.

Thanks Julio, good work and good luck for the project.

Best regards.

julio
01-12-2008, 05:44 PM
thanks for your contribution voodooo