Results 1 to 5 of 5

Thread: Centreon Discovery Error

  1. #1
    Join Date
    Apr 2010
    Posts
    8

    Default !Solved! Centreon Discovery Error

    Hi.

    Just got my new centreon-installation running with the FAN-Project ISO. After that I installed the module centreon-discovery. First runs were successfull and I got a bunch of discovered hosts added to the hosts list.

    Now a few days later, I'm getting no more scanning results.

    When opening the results-page of Centreon-Discovery I'm getting a strange page with the source-code of the results.php (think so...)

    Looking at the apache-error-log I have following error-message in there:

    [Thu Nov 22 15:58:25 2012] [error] [client 192.168.106.101] PHP Parse error: syntax error, unexpected $end in /usr/share/centreon/www/modules/Discovery/include/configuration.php on line 373, referer: http://monitor02/centreon/main.php?p=61204

    Already looked over the configuration.php, but found nothing really strange there.

    When trying to open the configuration in the webinterface I'm getting an empty page.

    Any advices for me ?

    Thx & best regards.

    Bergmann4711
    Last edited by bergmann4711; 22nd November 2012 at 17:05.

  2. #2
    Join Date
    Apr 2010
    Posts
    8

    Default Partially solved...

    Solved the view of configuration.php Eclipse SDK.

    In file /usr/share/centreon/www/modules/Discovery/include/configuration.php line 124 there's <?

    Changed to <?php an it's working to open the config-page of the disovery-module.

    Results still not working...


    Best regards.

  3. #3
    Join Date
    Apr 2010
    Posts
    8

    Default

    That was the problem in some of the files in include...

    Changed every <? to <?php and now the results-page appear when clicking the scan button...

    My it helps anyone else...

    Bergmann4711

  4. #4
    Join Date
    Nov 2012
    Location
    Costa Rica
    Posts
    10

    Default

    good to know!

  5. #5
    Join Date
    Mar 2011
    Location
    France, Essonnes
    Posts
    70

    Default

    Hi there,

    Well thanks,
    It's coming from your php config var : short_open_tags which might be set to 0

    If you set it to 1, you'll not have to modify your files

    Bye,
    Vince

Similar Threads

  1. Centreon-Discovery module : new version !
    By Sub2.13 in forum Centreon discovery's modules
    Replies: 12
    Last Post: 7th November 2012, 21:56
  2. Installation des Modules Centreon Discovery - HELP
    By xavier.herve in forum Centreon discovery's modules
    Replies: 22
    Last Post: 18th August 2011, 13:41
  3. [TeamReon] Centreon Discovery 1.0 beta Available
    By teamreon in forum Centreon discovery's modules
    Replies: 24
    Last Post: 30th August 2010, 17:13
  4. [Centreon Discovery] Aucun service à cocher
    By magicbret in forum Centreon discovery's modules
    Replies: 4
    Last Post: 9th July 2010, 10:31
  5. [ TeamReon ] Centreon Discovery 1.01 is available !
    By teamreon in forum Centreon discovery's modules
    Replies: 1
    Last Post: 28th May 2010, 19:52

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •