Announcement

Collapse
No announcement yet.

StatusMAP from nagios in oreon, almost done. (oreon1.3)

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • StatusMAP from nagios in oreon, almost done. (oreon1.3)

    In frist place, oreon authenthication is phpsession, and nagios is .htaccess, so, we need to remove the .htaccess securety from nagios.

    I know, this is a security fail, but u can remove the Virtual folder of nagios from httpd, and let just the CGI┤s virtual folder.

    Frist step is:

    in /usr/local/oreon/www/lang/en.php (and fr.php =]), after the # Monitoring menu paste: $lang["m_nagios_map"] = "Nagios Status Map";


    Now, lets do some mysql.


    We need execute this:

    INSERT INTO `topology` ( `topology_id` , `topology_name` , `topology_icone` , `topology_parent` , `topology_page` , `topology_order` , `topology_group` , `topology_url` , `topology_url_opt` , `topology_popup` , `topology_modules` , `topology_show` )
    VALUES ('', 'm_nagios_map', NULL , '2', '204', '42', 1, 'http://URL FROM STAUS MAPl', NULL , '0', '0', '1');


    where:

    m_nagios_map = your traduction
    NULL = icones (for third level)
    2 = page parent (monitoring)
    204 = id of the new page
    42 = order
    1 = group menu on left side
    URL = your url
    NULL = any options you need for the url
    0 = not popup *( if u change it to 1, everthing swork fine)
    0 = not a module
    1 = viewable







    After that, go in /usr/local/oreon/www/header.php

    and coment or remove the 157║ line. the line is:
    <SCRIPT language='javascript' src='./include/common/javascript/functions.js'></SCRIPT>
    it is about a old release.

    Ok, everthing done.

    Now, when i try to acess the link i get:

    [Tue Jun 06 14:53:18 2006] [error] [client 10.0.0.71] File does not exist: /usr/local/oreon/www/Themes/Basic/color204, referer: http://host/oreon/oreon.php?p=204?host=all [Tue Jun 06 14:56:07 2006] [error] [client 10.0.0.71] File does not exist: /usr/local/oreon/www/Themes/Basic/color, referer: http://host/oreon/oreon.php?p=?host=all


    this erro is in /etc/httpd/log/error_log

    evertytimi i click on lik, it pop in log.

    And in browser i get:







    Any ideas?


    if u just want to put map in a popup window, ok, everthyng done, just change the topology_popup to 1.

    Any help?


    Tks everyone and Tks to DonkiShoot, Romain and Wistof.

    Tks guys
    *remember, i remove the securit from cgis, i can access direct the statusmap link from anyplace of world, whitout authentication =)
    Linux 2.6.16-1.2115_FC4
    Nagios 1.4
    Nagios Plugins 1.4
    Oreon 1.3 RC1 / StatusMap

  • #2
    Hi

    Juste put topology_popup = 1 in your topology entry. A new window will be open...

    best regards
    Julien Mathis
    Centreon Project Leader
    www.merethis.com |

    Comment


    • #3
      Originally posted by julio
      Hi

      Juste put topology_popup = 1 in your topology entry. A new window will be open...

      best regards
      Yes i know

      it work fine.

      But i tring to open it in the main frame of oreon!!!

      In the popup work great
      Linux 2.6.16-1.2115_FC4
      Nagios 1.4
      Nagios Plugins 1.4
      Oreon 1.3 RC1 / StatusMap

      Comment


      • #4
        I add the field "topology_group" in your first post request (Till RC2 & RC3)
        Romain Le Merlus
        Centreon Forge
        MERETHIS

        Comment

        Working...
        X