PDA

View Full Version : Centreon' views host problem


PStoianov
02-18-2008, 05:39 PM
Hello all,


I have got installed Centreon 1.4.2.3.

Everything looks OK except Centreon' views.

I'm not able to assign any host in order to make some graphic.

Do you have any idea how to solve or how to debug this issue?

Look the screenshot.

__________________________________________________ __________________________________________________ ____


http://pstoianov.fileave.com/misc/graph-1.JPG


__________________________________________________ __________________________________________________ ____

Gilbert
02-20-2008, 06:30 PM
Same Problem here.

Did everything According to http://wiki.centreon.com/index.php/Setup and the Howto on the German Nagios-Portal.de Centreon Section.

My service.perfdata.log is growing, but I get no graphs whatsoever

-Archi-
02-21-2008, 11:06 AM
You have to activate perfdata for Nagios, perfdata processing in your services and of course use perdata-compatible plugins. You can follow this HowTo :
http://wiki.oreon-project.org/index.php/Graphs

Gilbert
02-21-2008, 11:17 AM
I did that twice already. But still nothing in the graphs section

-Archi-
02-21-2008, 02:15 PM
Look at your service-perfdata file to see if the results are correct, especially the part after the "|" character. Check also if your ods daemon is running, if database is populated and if no errors are present in log files.

PStoianov
02-22-2008, 02:59 AM
Guys, you made my day!
Thank you so much!
Now everything looks OK! :D

Soon I'll try to join the WiKi in order to make some updates... :rolleyes:

Gilbert
02-22-2008, 11:33 AM
Look at your service-perfdata file to see if the results are correct, especially the part after the "|" character. Check also if your ods daemon is running, if database is populated and if no errors are present in log files.
http://wiki.oreon-project.org/index.php/Graphs this i did, however there is no text after "|". just

1203673330 test PING PING OK - Packet loss = 0%, RTA = 0.06 ms OK

My service-perfdata.log is growing a lot and there is data in the database "ods", but no graphs in centreon view whatsoever

Guigui2607
02-22-2008, 12:18 PM
I think that ping plugin doen't give any perfdata...
If you use ping plugin, try fping plugin instead...

Gilbert
02-22-2008, 12:46 PM
So all Nagios Plugins that I have wont give me any perfdata?

Guigui2607
02-22-2008, 01:49 PM
Some plugins don't give perfdata.

In Centreon, you can activate a rrdtool.log:
>> Options > Centreon > General Options > Debug and put "RRDTool Debug" to yes.

This log give you all errors with graphs.

Guigui2607
02-22-2008, 01:54 PM
You can verify if a plugin give you perfdata:
In Nagios, choose an service of a host and watch his "Service State Information"
There is a line with "Current Status"; a line with "Status Information"
And a line with "Performance Data". If this line is empty, the plugin doesn't give you perfdata.

Gilbert
02-22-2008, 03:04 PM
got this error Message in Event Log:

Error: Unable to create temp file for writing status data!
what temp file or better which folder are they talking about?

-Archi-
02-25-2008, 11:12 AM
Nagios folder and especially its var subfolder, for example /usr/local/nagios/var/
Check your folders/files permissions before anything.

Gilbert
02-25-2008, 11:14 AM
it works now with the file permission, but also i had to use a stable rrdtool version for it to work. The new Beta3 Version of RRDTool V1.3 doesnt work right.
Now i get the graph.

Thank you very much

-Archi-
02-25-2008, 11:22 AM
If beta versions were bug free they would be stable releases :p
Plus if something changed in the way data or graphs are handled it may not be compatible with Centreon.