shaun123
16th September 2008, 21:43
I have installed centreon/nagios on Fedora 9. centreon 2.0-RC3 and nagios-3.0.3. After that I've installed Nagios Status Map module and configured it. I've also added /usr/local/nagios/share/images/l_o_g_o_s files into the database. Here is how my database tables look:
mysql> select * from view_img;
+--------+----------------+----------------+-------------+
| img_id | img_name | img_path | img_comment |
+--------+----------------+----------------+-------------+
| 1 | nagios.gd2 | nagios.gd2 | NULL |
| 2 | nagios.gif | nagios.gif | NULL |
| 3 | nagiosvrml.png | nagiosvrml.png | NULL |
| 4 | unknown.gd2 | unknown.gd2 | NULL |
| 5 | unknown.gif | unknown.gif | NULL |
+--------+----------------+----------------+-------------+
mysql> select * from view_img_dir;
+--------+----------+-----------+-------------------+
| dir_id | dir_name | dir_alias | dir_comment |
+--------+----------+-----------+-------------------+
| 1 | l_o_g_o_s | ./ | image from nagios |
+--------+----------+-----------+-------------------+
mysql> select * from view_img_dir_relation;
+---------+-------------------+------------+
| vidr_id | dir_dir_parent_id | img_img_id |
+---------+-------------------+------------+
| 1 | 1 | 1 |
| 2 | 1 | 2 |
| 3 | 1 | 3 |
| 4 | 1 | 4 |
| 5 | 1 | 5 |
+---------+-------------------+------------+
I'm having two problems:
Under "Host Extended Info" (see figure below) ... when I select the .png figure ... i see a red X mark next to it. Almost, like it doesn't know where the image is.
850
Under "Nagios Status Map" (see figure below) ... I do not see any map...just a red X mark...again looks like doesn't know where the image is.
851
when I go to http://my_ip_addr/nagios/cgi-bin/statusmap.cgi ... I do see the correct status map image for the hosts that are configured.
Please help. What am I missing? Sorry, I don't know french ... so Please reply in english.
Thanks,
Shaun
mysql> select * from view_img;
+--------+----------------+----------------+-------------+
| img_id | img_name | img_path | img_comment |
+--------+----------------+----------------+-------------+
| 1 | nagios.gd2 | nagios.gd2 | NULL |
| 2 | nagios.gif | nagios.gif | NULL |
| 3 | nagiosvrml.png | nagiosvrml.png | NULL |
| 4 | unknown.gd2 | unknown.gd2 | NULL |
| 5 | unknown.gif | unknown.gif | NULL |
+--------+----------------+----------------+-------------+
mysql> select * from view_img_dir;
+--------+----------+-----------+-------------------+
| dir_id | dir_name | dir_alias | dir_comment |
+--------+----------+-----------+-------------------+
| 1 | l_o_g_o_s | ./ | image from nagios |
+--------+----------+-----------+-------------------+
mysql> select * from view_img_dir_relation;
+---------+-------------------+------------+
| vidr_id | dir_dir_parent_id | img_img_id |
+---------+-------------------+------------+
| 1 | 1 | 1 |
| 2 | 1 | 2 |
| 3 | 1 | 3 |
| 4 | 1 | 4 |
| 5 | 1 | 5 |
+---------+-------------------+------------+
I'm having two problems:
Under "Host Extended Info" (see figure below) ... when I select the .png figure ... i see a red X mark next to it. Almost, like it doesn't know where the image is.
850
Under "Nagios Status Map" (see figure below) ... I do not see any map...just a red X mark...again looks like doesn't know where the image is.
851
when I go to http://my_ip_addr/nagios/cgi-bin/statusmap.cgi ... I do see the correct status map image for the hosts that are configured.
Please help. What am I missing? Sorry, I don't know french ... so Please reply in english.
Thanks,
Shaun