View Full Version : Graphs problems after 1.4.1 -> 1.4.2.2 upgrade
I successfully passed upgrade process to v.1.4.2.2 BUT after that graphs are not created. I checked /var/lib/ods/database and I saw that .rrd files are updated ... . How can it be fixed ?
Regards,
julio
01-07-2008, 03:18 PM
Graphs Images are broken ??
Centreon' views / Graphs / Graphs By Hosts
There is no datas on chart - graphs are empty.
julio
01-07-2008, 03:31 PM
can you copy images address and past it on your firefox. It will display errors..
Thanks.
I am afraid I dont undestand. When I right-click on chart/graph and choose "Copy link" and then I paste that link in firefox I get:
PNG ��� IHDR��U�������~)C���ItEXtSoftware�RRDtool, Tobias Oetiker , http://tobi.oetiker.ch�\a��� �IDATx�}}��y>�PkST5Z������I2�L�c�B��&M;i5u�E�V�m;��X�fBm��� �DQ�cmS+DE�PA������q����y��=���}�,�gf��>{�u_����}v��NX�fM��}�9�9�9�9�9�9�90� �я~&���@���s�s�s�s�s�s�ը��W��U��}�9�9�9�9�9�9�9��U^ Dz�9�9�9�9�9�9�! ����D��J���������s�*/��������@��*���j�m�_������ZxQ�E��:� � ����Ȑ^Tep�W�Z%��ryxxxt%���P5U��ʋ*�u�9� 9�9�9�9�9�'�y睢 �B1�"ˋ�>�r���]��&L�P�Q<�<(���b�9|}�ˇ��~;<�������zX�|y���Ty�U� >h�}��Ǽ>�^T�����}����ڵk�"�駟�7o>�`�Z�*����ʋ��(�8� p��bŊp�Yg��ӧ�ɓ'�c�=6,Z�(���Cӿ��8U��ml��~��� O<p���U{��I���m�x؋�6}Ӥ{��6gΜ�� �����w� �ׯ�w^8�ӨA�� �/s��x�S�nR�{��x��u�� �o}�[�/���=�O��OG����8U��6�9���3���c�=���֭[×�����>8\{�^V]�����)S��#�<2�x�=��۷��.�,̘1#��~�s��\q]?b��m+����c����߄��� ����kh�[�l g�}va?|�/|a�Y�~�RUˌ��s�ҥ�����>�O�g�}�g��M�✶Y�'���z�"W�zS~1�N?��. (␇���{>�z����~2���ȞC�Q�)��/0��ٴiSx�嗋�K.�d7�� �h���?^|�ŢX������'����…��3�7n,��ϟ?_*�P��t�I��G �8��K_��_q�����3o��FQ����yo{?~q���۱ g6~��_�W^y%|�������>�o�c�gJR�M��rusƿM������o~�����(~M���R� ;w� �=�\��?�?(l�_?�G�ˌ�����V�\�:ꨞSM�ؿi�o�js�oT���$0��f��Y��� ��� |�oذ�'�3�]��+=��:��O:?��ÓO>��K�ag�R�^z�8k���K��ry\6*�c���C=t7�v�a=,�_�n�1�m�_����3-��6��x�[�'�\1�p� E��m���b��r�"�~s��OƷ{a5L9������w &���^<0��Z����w��zl���ӶI�&톟n��usp�0Mہ�N��OO�J� uV��m���r����ԿU�UmQ_y^�_��b��g?��{�~�~k�Q�6�G vU[�+ϫ���O�oǎE��3��d�m��K�ڝ.� ��DzO�oko\�[|�7�{1�;��-I��N丬尜�I��u~U{���L�z��}�{_�*\f�}/�gy�r����py (ʤ�*��C9d�a��*쪶��<��ዴ ���ɟ�I���w��0q�Dɷ��N<���^-�Ô���tPؠ���e˖��S.1NUm���3�V�^^�8��ӏ'�Ft\^��G�G�άUaW��:�eƿMxw�uW��M\�?�������ˏ��� �e��_���ԩS�K}��(�(�7ri�/�_jw����![��d��aʁGy$<����8�����U^TU&FU�t�M�s؉�Q���r��0��;����S��dXs��^��xE &<�s�����^}��AW� �xp&�y��k���>�=�[�w��Â�5M���y�{������������b��D� �Mյ���<<<<<Ɨ~�J(��ۿ�J^�w��uN���s�s�s�[9�EY$�rד������=ɻ��/������@�9���+[��uVQTa�f`\���������^���/��ı�>.�Q'���&�1u�x �Y�”)S�� ... and so on
boyerf
01-07-2008, 03:48 PM
-- Mode plaisanterie ON --
Désolé, mais je ne peu pas m'empécher de penser que le smilley en plein milieu du Post précédent doit vraiment ressembler à la tête que va faire Julio en le lisant :D
-- Mode plaisanterie OFF --
Guigui2607
01-07-2008, 04:03 PM
Je pense que Julio voulais juste une capture d'écran du problème...
Mais bon, le coup du smiley, excellent !
I think Julio just want an image capture of the problem...
julio
01-07-2008, 04:12 PM
it's very strange ! The image is well generated ! It's a PNG flow.
can I have a screenshot of graphs page ?
Thanks
PS : yes the smiley is fun... it's a good resume of the situation :)
Funny indeed. Now it's clear. You should use word "screenshot" at the beginning of the threat :).
Here you have:
[http://img176.imageshack.us/img176/3185/centreongraphsya9.th.jpg] (http://img176.imageshack.us/my.php?image=centreongraphsya9.jpg)
julio
01-08-2008, 10:11 AM
Is ods running ?
if you run
top -u nagios -H
How many ods threads are running ?
thanks
Here is the result:
ubuntuMail: top -u nagios -H
top - 10:15:50 up 21:53, 2 users, load average: 0.13, 0.18, 0.09
Tasks: 80 total, 2 running, 78 sleeping, 0 stopped, 0 zombie
Cpu(s): 0.0%us, 0.7%sy, 0.0%ni, 99.3%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Mem: 515956k total, 361232k used, 154724k free, 87680k buffers
Swap: 192740k total, 0k used, 192740k free, 147604k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
3922 nagios 18 0 20368 1380 1048 S 0.0 0.3 0:43.04 nagios
3923 nagios 15 0 20368 1380 1048 S 0.0 0.3 0:15.72 nagios
7338 nagios 15 0 20368 1380 1048 S 0.0 0.3 0:10.66 nagios
3935 nagios 15 0 39896 9.9m 2604 S 0.0 2.0 0:06.75 ods
3975 nagios 15 0 39896 9.9m 2604 S 0.0 2.0 0:26.58 ods
3976 nagios 15 0 39896 9.9m 2604 S 0.0 2.0 0:18.10 ods
3977 nagios 15 0 39896 9.9m 2604 S 0.0 2.0 1:19.00 ods
julio
01-08-2008, 11:19 AM
ok it's good..
Don't you have any alert in ods.log ??
Last part of ods.log
1199701656 - 2902 value insert
1199701852 - Starting ODS engine...
1199701852 - PID : 3954
1199704260 - Error when connecting to database : Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock'
(2)
1199704421 - Starting ODS engine...
1199704421 - PID : 3930
1199704524 - Error when connecting to database : Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock'
(2)
1199705003 - Starting ODS engine...
1199705003 - PID : 3935
1199706285 - Rebuild Graphs for Services : 1
1199706285 - Get Data for rebuilding /var/lib/ods/database/4.rrd
1199706286 - Rebuild database : /var/lib/ods/database/4.rrd (interval : 600 - Len : 52560)
1199706288 - 4471 value insert
1199706288 - Rebuild Graphs for Services : 2
1199706288 - Get Data for rebuilding /var/lib/ods/database/5.rrd
1199706288 - Rebuild database : /var/lib/ods/database/5.rrd (interval : 600 - Len : 52560)
1199706291 - 4976 value insert
1199706291 - Rebuild Graphs for Services : 3
1199706291 - ERROR : can t rebuild... interval = 0 (time unit : 60)
1199706291 - Rebuild Graphs for Services : 4
1199706291 - Get Data for rebuilding /var/lib/ods/database/8.rrd
1199706292 - Rebuild database : /var/lib/ods/database/8.rrd (interval : 600 - Len : 52560)
1199706295 - 4976 value insert
1199706295 - Rebuild Graphs for Services : 5
1199706295 - Get Data for rebuilding /var/lib/ods/database/9.rrd
1199706295 - Rebuild database : /var/lib/ods/database/9.rrd (interval : 600 - Len : 52560)
1199706298 - 4972 value insert
1199706298 - Rebuild Graphs for Services : 6
1199706298 - Get Data for rebuilding /var/lib/ods/database/10.rrd
1199706299 - Rebuild database : /var/lib/ods/database/10.rrd (interval : 600 - Len : 52560)
1199706302 - 4985 value insert
1199706302 - Get Data for rebuilding /var/lib/ods/database/11.rrd
1199706302 - Rebuild database : /var/lib/ods/database/11.rrd (interval : 600 - Len : 52560)
1199706305 - 4985 value insert
1199706305 - Rebuild Graphs for Services : 7
1199706305 - ERROR : can t rebuild... interval = 0 (time unit : 60)
1199706305 - Rebuild Graphs for Services : 8
1199706305 - ERROR : can t rebuild... interval = 0 (time unit : 60)
1199706305 - Rebuild Graphs for Services : 9
1199706305 - ERROR : can t rebuild... interval = 0 (time unit : 60)
1199706305 - Rebuild Graphs for Services : 10
1199706305 - ERROR : can t rebuild... interval = 0 (time unit : 60)
[cut] 100
1199706305 - Rebuild Graphs for Services : 12
1199706305 - ERROR : can t rebuild... interval = 0 (time unit : 60)
1199706305 - Rebuild Graphs for Services : 13
1199706305 - ERROR : can t rebuild... interval = 0 (time unit : 60)
1199706305 - Rebuild Graphs for Services : 14
1199706305 - ERROR : can t rebuild... interval = 0 (time unit : 60)
1199706305 - Rebuild Graphs for Services : 15
1199706305 - ERROR : can t rebuild... interval = 0 (time unit : 60)
1199706305 - Rebuild Graphs for Services : 16
1199706305 - Get Data for rebuilding /var/lib/ods/database/30.rrd
1199706305 - Rebuild database : /var/lib/ods/database/30.rrd (interval : 600 - Len : 52560)
1199706307 - 2904 value insert
1199706307 - Get Data for rebuilding /var/lib/ods/database/31.rrd
1199706307 - Rebuild database : /var/lib/ods/database/31.rrd (interval : 600 - Len : 52560)
1199706309 - 2904 value insert
1199713504 - Rebuild Graphs for Services : 12
1199713504 - ERROR : can t rebuild... interval = 0 (time unit : 60)
1199713565 - Rebuild Graphs for Services : 3
1199713565 - ERROR : can t rebuild... interval = 0 (time unit : 60)
1199713565 - Rebuild Graphs for Services : 7
1199713565 - ERROR : can t rebuild... interval = 0 (time unit : 60)
1199713565 - Rebuild Graphs for Services : 8
1199713565 - ERROR : can t rebuild... interval = 0 (time unit : 60)
1199713565 - Rebuild Graphs for Services : 9
1199713565 - ERROR : can t rebuild... interval = 0 (time unit : 60)
1199713565 - Rebuild Graphs for Services : 16
1199713565 - Get Data for rebuilding /var/lib/ods/database/30.rrd
1199713565 - Rebuild database : /var/lib/ods/database/30.rrd (interval : 600 - Len : 52560)
1199713567 - 2916 value insert
1199713567 - Get Data for rebuilding /var/lib/ods/database/31.rrd
1199713567 - Rebuild database : /var/lib/ods/database/31.rrd (interval : 600 - Len : 52560)
1199713568 - 2916 value insert
julio
01-08-2008, 12:27 PM
ERROR : can t rebuild... interval = 0 (time unit : 60) ???
You have a service with an interval equal to 0 ?
check the service with the id 7
thanks
Where can I find service's ID ?
julio
01-08-2008, 03:28 PM
when you edit a service definition you have in the URL an ID. Change this id by 7 ;)
As you wish :) - here is service ID=7
define service{
host_name dns_main
service_description DHCP
check_command check_dhcp!eth0
max_check_attempts 3
normal_check_interval 10
retry_check_interval 5
check_period workhours
notification_interval 10
notification_period workhours
notification_options w
contact_groups admins
stalking_options o
}
julio
01-08-2008, 03:38 PM
you cannot upgrade in 1.4.2.2 ?
I successfully (?) DID upgrade to v1.4.2.2 from v1.4.1.
Currently I have working Centreon system v1.4.2.2 BUT my graphs disapearing AFTER upgrade.
In other words:
v1.4.1 - graphs are present,
after upgrade to v1.4.2.2 - no graphs.
Jogarem
01-08-2008, 05:35 PM
Hm I have a problem after upgrading to 1.4.2.2 with my graphs also but another error message:
1199806567 - Updating : /usr/local/oreon/rrd/3.rrd : time, 1199806556:1.479000e+01
1199806567 - ERROR while updating /usr/local/oreon/rrd/3.rrd : opening '/usr/local/oreon/rrd/3.rrd': Permission denied
1199806567 - Updating : /usr/local/oreon/rrd/4.rrd : ok, 1199806556:1.000000e+00
1199806567 - ERROR while updating /usr/local/oreon/rrd/4.rrd : opening '/usr/local/oreon/rrd/4.rrd': Permission denied
1199806567 - Updating : /usr/local/oreon/rrd/36.rrd : cpu_prct_used, 1199806560:2.000000e+00
1199806567 - ERROR while updating /usr/local/oreon/rrd/36.rrd : opening '/usr/local/oreon/rrd/36.rrd': Permission denied
1199806622 - Updating : /usr/local/oreon/rrd/8.rrd : time, 1199806616:5.342800e-02
1199806622 - ERROR while updating /usr/local/oreon/rrd/8.rrd : opening '/usr/local/oreon/rrd/8.rrd': Permission denied
1199806622 - Updating : /usr/local/oreon/rrd/9.rrd : size, 1199806616:6.210000e+02
1199806622 - ERROR while updating /usr/local/oreon/rrd/9.rrd : opening '/usr/local/oreon/rrd/9.rrd': Permission denied
1199806633 - Updating : /usr/local/oreon/rrd/10.rrd : time, 1199806621:1.334800e+01
1199806633 - ERROR while updating /usr/local/oreon/rrd/10.rrd : opening '/usr/local/oreon/rrd/10.rrd': Permission denied
1199806633 - Updating : /usr/local/oreon/rrd/11.rrd : ok, 1199806621:1.000000e+00
1199806633 - ERROR while updating /usr/local/oreon/rrd/11.rrd : opening '/usr/local/oreon/rrd/11.rrd': Permission denied
1199806633 - Updating : /usr/local/oreon/rrd/25.rrd : time, 1199806626:9.803000e+00
1199806633 - ERROR while updating /usr/local/oreon/rrd/25.rrd : opening '/usr/local/oreon/rrd/25.rrd': Permission denied
1199806633 - Updating : /usr/local/oreon/rrd/26.rrd : ok, 1199806626:1.000000e+00
1199806633 - ERROR while updating /usr/local/oreon/rrd/26.rrd : opening '/usr/local/oreon/rrd/26.rrd': Permission denied
and the folder has the following permission:
drwxrwxr-x 3 www-data www-data 4096 2008-01-08 15:43 .
drwxrwxr-x 12 www-data www-data 4096 2008-01-04 12:44 ..
-rwxrwxr-x 1 www-data www-data 3984472 2008-01-03 12:18 10.rrd
-rwxrwxr-x 1 www-data www-data 3984472 2008-01-03 12:18 11.rrd
-rwxrwxr-x 1 www-data www-data 3984472 2008-01-03 12:04 12.rrd
-rwxrwxr-x 1 www-data www-data 1241752 2007-12-12 19:28 13.rrd
-rwxrwxr-x 1 www-data www-data 3984472 2007-11-13 16:05 14.rrd
-rwxrwxr-x 1 www-data www-data 3984472 2007-11-13 16:05 15.rrd
-rwxrwxr-x 1 www-data www-data 3984472 2008-01-03 12:18 16.rrd
-rwxrwxr-x 1 www-data www-data 3984472 2008-01-03 12:18 17.rrd
-rwxrwxr-x 1 www-data www-data 2442496 2008-01-03 12:17 18.rrd
-rwxrwxr-x 1 www-data www-data 2442496 2008-01-03 12:17 19.rrd
-rwxrwxr-x 1 www-data www-data 3984472 2008-01-03 12:18 1.rrd
-rwxrwxr-x 1 www-data www-data 2442496 2008-01-03 12:17 20.rrd
-rwxrwxr-x 1 www-data www-data 3984472 2008-01-03 12:18 21.rrd
-rwxrwxr-x 1 www-data www-data 3984472 2008-01-03 12:18 22.rrd
-rwxrwxr-x 1 www-data www-data 3984472 2008-01-03 12:18 23.rrd
-rwxrwxr-x 1 www-data www-data 3984472 2008-01-03 12:18 24.rrd
-rwxrwxr-x 1 www-data www-data 3984472 2008-01-03 12:18 25.rrd
-rwxrwxr-x 1 www-data www-data 3984472 2008-01-03 12:18 26.rrd
-rwxrwxr-x 1 www-data www-data 3984472 2008-01-03 12:17 27.rrd
-rwxrwxr-x 1 www-data www-data 3984472 2008-01-03 12:17 28.rrd
-rwxrwxr-x 1 www-data www-data 2442496 2008-01-03 12:17 29.rrd
-rwxrwxr-x 1 www-data www-data 3984472 2008-01-03 12:18 2.rrd
-rwxrwxr-x 1 www-data www-data 2442496 2008-01-03 12:17 30.rrd
-rwxrwxr-x 1 www-data www-data 3984472 2007-12-12 19:41 31.rrd
-rwxrwxr-x 1 www-data www-data 1241752 2007-12-12 19:50 32.rrd
-rwxrwxr-x 1 www-data www-data 1241752 2008-01-03 12:19 33.rrd
-rwxrwxr-x 1 www-data www-data 2442496 2008-01-03 12:16 34.rrd
-rwxrwxr-x 1 www-data www-data 1241752 2008-01-03 12:17 35.rrd
-rwxrwxr-x 1 www-data www-data 2442496 2008-01-03 12:19 36.rrd
-rwxrwxr-x 1 www-data www-data 2442496 2008-01-03 12:16 37.rrd
-rwxrwxr-x 1 www-data www-data 2442496 2008-01-03 12:16 38.rrd
-rwxrwxr-x 1 www-data www-data 2442496 2008-01-03 12:19 39.rrd
-rwxrwxr-x 1 www-data www-data 3984472 2008-01-03 12:18 3.rrd
-rwxrwxr-x 1 www-data www-data 2442496 2008-01-03 12:19 40.rrd
-rwxrwxr-x 1 www-data www-data 2442496 2008-01-03 12:19 41.rrd
-rwxrwxr-x 1 www-data www-data 626488 2008-01-03 12:04 42.rrd
-rwxrwxr-x 1 www-data www-data 626488 2008-01-03 12:04 43.rrd
-rwxrwxr-x 1 www-data www-data 626488 2008-01-03 12:04 44.rrd
-rwxrwxr-x 1 www-data www-data 3984472 2008-01-03 12:18 4.rrd
-rwxrwxr-x 1 www-data www-data 2442496 2008-01-03 12:17 5.rrd
-rwxrwxr-x 1 www-data www-data 2442496 2008-01-03 12:17 6.rrd
-rwxrwxr-x 1 www-data www-data 2442496 2008-01-03 12:17 7.rrd
-rwxrwxr-x 1 www-data www-data 2442496 2008-01-03 12:17 8.rrd
-rwxrwxr-x 1 www-data www-data 2442496 2008-01-03 12:17 9.rrd
My Users are:
id nagios
uid=1003(nagios) gid=1000(nagios) groups=1000(nagios),33(www-data)
and
id www-data
uid=33(www-data) gid=33(www-data) groups=33(www-data),1000(nagios)
My processes runnin with the following users (both user nagios):
ps -ef | grep -e ods -e nagios
nagios 16744 1 0 2007 ? 00:02:11 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg
nagios 32590 1 0 Jan04 ? 00:00:26 /usr/bin/perl /usr/local/oreon/ODS/ods
what file/folder/user permissions has to be set ?
:confused:
## EDIT ##
And the ODS logfiles under /usr/local/oreon/log are empty :(
ls -al
total 764
drwxrwxr-x 2 www-data nagios 4096 2008-01-05 01:00 .
drwxrwxr-x 12 www-data www-data 4096 2008-01-04 12:44 ..
-rw-r--r-- 1 nagios nagios 0 2008-01-05 01:00 archiveLogInDB.log
-rwxrwxr-x 1 www-data www-data 81872 2008-01-03 00:00 ArchiveLogInDB_log
-rwxrwxr-x 1 www-data www-data 16902 2008-01-08 15:41 auth.log
-rwxrwxr-x 1 www-data www-data 214 2008-01-04 12:44 install_oreon.log
-rwxrwxr-x 1 www-data www-data 60988 2007-11-06 16:54 inventory.log
-rwxrwxr-x 1 www-data www-data 293946 2008-01-03 12:21 ods_parsing_log
-rw-r--r-- 1 nagios nagios 0 2008-01-04 12:55 odsParsing.log
-rwxrwxr-x 1 www-data www-data 323 2008-01-03 12:21 ods_parsing_status
-rwxrwxr-x 1 www-data www-data 0 2008-01-04 10:28 odsParsingStatus.log
-rwxrwxr-x 1 www-data www-data 290668 2008-01-08 16:24 rrdtool.log
julio
01-08-2008, 06:00 PM
you might have a probleme with your right. RRDTool Db must be in nagios:nagios
-rw-r--r-- 1 nagios nagcmd 2523808 2008-01-08 17:01 163.rrd
-rw-r--r-- 1 nagios nagcmd 2523808 2008-01-08 17:01 164.rrd
-rw-r--r-- 1 nagios nagcmd 2523808 2008-01-08 09:41 45.rrd
-rw-r--r-- 1 nagios nagcmd 2523808 2008-01-08 09:41 46.rrd
-rw-r--r-- 1 nagios nagcmd 2523808 2008-01-08 17:02 47.rrd
-rw-r--r-- 1 nagios nagcmd 2523808 2008-01-08 17:02 48.rrd
-rw-r--r-- 1 nagios nagcmd 2523808 2008-01-08 17:05 49.rrd
-rw-r--r-- 1 nagios nagcmd 2523808 2008-01-08 17:05 50.rrd
-rw-r--r-- 1 nagios nagcmd 2523808 2008-01-08 17:03 51.rrd
-rw-r--r-- 1 nagios nagcmd 2523808 2008-01-08 17:03 52.rrd
-rw-r--r-- 1 nagios nagcmd 2523808 2008-01-08 17:05 55.rrd
-rw-r--r-- 1 nagios nagcmd 2523808 2008-01-08 17:05 56.rrd
-rw-r--r-- 1 nagios nagcmd 2523808 2008-01-08 17:03 57.rrd
-rw-r--r-- 1 nagios nagcmd 2523808 2008-01-08 17:03 58.rrd
-rw-r--r-- 1 nagios nagcmd 2523808 2008-01-08 17:06 59.rrd
-rw-r--r-- 1 nagios nagcmd 2523808 2008-01-08 17:06 60.rrd
-rw-r--r-- 1 nagios nagcmd 2523808 2008-01-08 17:03 61.rrd
-rw-r--r-- 1 nagios nagcmd 2523808 2008-01-08 17:03 62.rrd
-rw-r--r-- 1 nagios nagcmd 2523808 2008-01-08 17:06 63.rrd
-rw-r--r-- 1 nagios nagcmd 2523808 2008-01-08 17:06 64.rrd
-rw-r--r-- 1 nagios nagcmd 2523808 2008-01-08 17:03 65.rrd
-rw-r--r-- 1 nagios nagcmd 2523808 2008-01-08 17:03 66.rrd
-rw-r--r-- 1 nagios nagcmd 2523808 2008-01-08 17:04 67.rrd
-rw-r--r-- 1 nagios nagcmd 2523808 2008-01-08 17:04 68.rrd
-rw-r--r-- 1 nagios nagcmd 2523808 2008-01-08 17:06 69.rrd
-rw-r--r-- 1 nagios nagcmd 2523808 2008-01-08 17:06 70.rrd
-rw-r--r-- 1 nagios nagcmd 2523808 2008-01-08 17:04 71.rrd
-rw-r--r-- 1 nagios nagcmd 2523808 2008-01-08 17:04 72.rrd
-rw-r--r-- 1 nagios nagcmd 2523808 2008-01-08 17:06 73.rrd
-rw-r--r-- 1 nagios nagcmd 2523808 2008-01-08 17:06 74.rrd
-rw-r--r-- 1 nagios nagcmd 2523808 2008-01-08 17:04 75.rrd
-rw-r--r-- 1 nagios nagcmd 2523808 2008-01-08 17:04 76.rrd
-rw-r--r-- 1 nagios nagcmd 2523808 2008-01-08 17:01 77.rrd
-rw-r--r-- 1 nagios nagcmd 2523808 2008-01-08 17:01 78.rrd
-rw-r--r-- 1 nagios nagcmd 2523808 2008-01-08 17:04 79.rrd
chown -R nagios:nagios /var/lib/ods
Jogarem
01-08-2008, 06:06 PM
chown -R nagios:nagios /var/lib/ods
Did I have to do this really for
/var/lib/ods
or for my DIR /usr/local/oreon/rrd/ (the DIR where my rrd files are placed) ?
The folder
/var/lib/ods
has this rights:
ls -la /var/lib/ods/
total 12
drwxr-xr-x 3 root root 4096 2007-09-03 14:24 .
drwxr-xr-x 35 root root 4096 2007-09-03 14:24 ..
drwxrwxr-x 2 nagios nagios 4096 2007-09-03 14:24 database
## EDIT ##
OK I have made a chown -R nagios:nagios on the folder /usr/local/oreon/rrd/ and now there is no
permission problem anymore. But nevertheless stupid i didn't change those path permissions..
julio
01-08-2008, 06:40 PM
it's ok ? ! cool !
I successfully (?) DID upgrade to v1.4.2.2 from v1.4.1.
Currently I have working Centreon system v1.4.2.2 BUT my graphs disapearing AFTER upgrade.
In other words:
v1.4.1 - graphs are present,
after upgrade to v1.4.2.2 - no graphs.
How about my disapeared graphs ? Any idea ?
I've discovered very strange situation. Graphs of all services (DNS, SMTP) EXCEPT services using plugin check_centreon_ping show values. But in case of one host graph using check_centreon_ping is drawed correctly. I found out that in this case check_centreon_ping is added to host definition while in other cases there is a host group which has related service using check_centreon_ping.
In version 1.4.1 alll was OK. Why now it is not working ?