PDA

View Full Version : NEWBIE Just after installation problems


SlyT
15th November 2007, 10:40
In Configuration / Commands / Plugins I have error message:

Warning: opendir(/usr/lib/nagios/plugins/) [function.opendir]: failed to open dir: No such file or directory in /usr/local/centreon/www/include/configuration/configPlugins/DB-Func.php on line 28
Warning: readdir(): supplied argument is not a valid Directory resource in /usr/local/centreon/www/include/configuration/configPlugins/DB-Func.php on line 29
Warning: closedir(): supplied argument is not a valid Directory resource in /usr/local/centreon/www/include/configuration/configPlugins/DB-Func.php on line 36

Where this comes from ? I dont have such dir as /usr/lib/nagios/plugins/ . All my plugins are installed in /usr/local/nagios and this path was given in Centreon installation.

Regards,

xspoon
15th November 2007, 13:52
goto Options > Oreon > General Options > Nagios to make things right !

SlyT
19th November 2007, 09:06
@xspoon
Thx for your help. It works now :).


Another problem
Why after installation I have no check_graph command ? I looked into centreon install archive and I didnt see any check_graph commands into /Plugins/src dir ...

SlyT
26th November 2007, 15:25
Why after installation I have no check_graph command ? I looked into centreon install archive and I didnt see any check_graph commands into /Plugins/src dir ...

Can anyone answer me why I dont have check_graph* commands available ? Did I miss something during installation process ?

I have these plugins in another Virtual Alliances Machine. Can it be directly moved to my system ?

julien60
27th November 2007, 10:51
the check_graph_xxx plugins are now known as check_centreon_xxx

SlyT
27th November 2007, 11:54
Hmm,
so why I can't generate any graph ? I followed up wiki / graphs (http://wiki.oreon-project.org/index.php/Graphs), have service defined using centreon_ping, in /var/lib/ods/database I have 1 - 3.rrd files (which suggest that everything is working OK). But when I try to generate graph using centreon_ping I get message "No graph associated to this service.". Besides in Centreon' views I have no hosts in pull-down list ... .

julien60
27th November 2007, 11:58
check your ODS configuration. There are some post about that.

SlyT
4th December 2007, 10:26
I've checked my ODS configuration and it seems to be OK but graph creation doesnt work. May someone guide me what could I missed ?

SeanFromIT
4th December 2007, 15:17
Does your centreon_ping return performance data? Run it at command line and see if there are numbers separated by semi-colons at the end.

SlyT
5th December 2007, 10:58
Yes, it does.
For example:

./check_centreon_ping -H 10.1.1.1 -n 3
GPING OK - rtt min/avg/max/mdev = 1.891/1.941/1.973/0.035 ms|time=1.941ms;20;40;; ok=1

SlyT
5th December 2007, 11:03
I think I solved that problem.
I checked Configuration / Nagios / Perfparse CFG and noted there was no password for user who has access to perfparse DB ... All other settings were correct. Why it is hidden so deep ?

SeanFromIT
5th December 2007, 15:19
Has anybody confirmed if PerfParse even works with Centreon in version 1.4.1? The config page is there, but last time I installed it, my graphs didn't work. The reporting page did work that time around, though. Does the reporting page work off of the perfparse db somehow?

SlyT
6th December 2007, 15:17
Until I completed db user password in .../Perfparse CFG centreon had been unable to create any graph. So ...