Page 1 of 1

3d status map menu?

Posted: Tue Aug 20, 2013 11:36 am
by reyhykary
Hi guys. I'm new here.

So, here is the problem:

Recently, we updated the nagios core, to the 3.5 version. All the previous settings, are working fine.

I can see all host, user-supplied coords map, icons, host details, etc.

I can't see the 3d status map menu. I made no changes in the nagios files

Please help me

i put a photo of my new nagios core.

cya

http://img819.imageshack.us/img819/8379/2z3o.png

Re: 3d status map menu?

Posted: Tue Aug 20, 2013 12:37 pm
by abrist
reyhykary wrote:I can't see the 3d status map menu.
!??! I didn't know we had a 3d map. Could you please clarify?

Re: 3d status map menu?

Posted: Tue Aug 20, 2013 1:15 pm
by reyhykary
abrist wrote:
reyhykary wrote:I can't see the 3d status map menu.
!??! I didn't know we had a 3d map. Could you please clarify?
I mean this

Image


look the left menu. it's nagios 3.0.5

You can see 3d status map menu

Re: 3d status map menu?

Posted: Tue Aug 20, 2013 2:46 pm
by abrist
Yep, I see it. I dug through some old docs and found mention of it. We still package the statuswrl.cgi it uses, though I am unsure why it has been removed from the navigation menu.
You can add it back to the nav menu by editing the file: /usr/local/nagios/share/side.php
Add it right after the "Map" link (line #42):

Code: Select all

<li><a href="<?php echo $cfg["cgi_base_url"];?>/statuswrl.cgi" target="<?php echo $link_target;?>">3d Map</a></li>
I learn something new about Nagios every day!
Cheers!

Re: 3d status map menu?

Posted: Tue Aug 20, 2013 4:41 pm
by reyhykary
abrist wrote:Yep, I see it. I dug through some old docs and found mention of it. We still package the statuswrl.cgi it uses, though I am unsure why it has been removed from the navigation menu.
You can add it back to the nav menu by editing the file: /usr/local/nagios/share/side.php
Add it right after the "Map" link (line #42):

Code: Select all

<li><a href="<?php echo $cfg["cgi_base_url"];?>/statuswrl.cgi" target="<?php echo $link_target;?>">3d Map</a></li>
I learn something new about Nagios every day!
Cheers!
Thanks for your fast response.

in fact, now i can see the menu. We have cortona 3d viewer.

When, we try show the 3d map, appears the next log:

Code: Select all

http://x.x.x.x/nagios/cgi-bin/statuswrl.cgi(16) : '}' expected
cya