PDA

View Full Version : Nagios Status Map


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

jackzone
16th September 2008, 23:49
Hi Shaun,

Nagios Status Map 1.1 was written for former versions of Centreon and is not compatible with Centreon 2.0. I think it's merely a matter of time until this module will be rewritten (probably when the stable version of Centreon 2.0 is out).

Greets, jackzone

shaun123
17th September 2008, 00:14
Ok thanks. Do you know when this might get fixed/rewritten?

Since I didn't see that many posts about people having issues with status map...i assumed I had done something wrong or missed some steps during my setup/configuration.

Shaun

jackzone
17th September 2008, 00:24
...this module will be rewritten (probably when the stable version of Centreon 2.0 is out)...

That's what I think and hope ;)