Welcome to Pandora FMS Community!

Find answers, ask questions, and connect with our community around the world.

Welcome to Pandora FMS Community Forums Community support Undefined index in Pandora FMS v3.1

  • Undefined index in Pandora FMS v3.1

    Posted by ofirst on August 17, 2010 at 16:47

    Hi,
    I’m new to Pandora, and have some issues:

    1. I installed Pandora FMS 3.0, and after a few weeks upgraded it to V3.1, using Pandora/Openideas  dcumentation.
    I also upgraded the Data Base.

    When I try to create a new Alert Action, I get a message:
    “Notice: Undefined index: id_group in /srv/www/htdocs/pandora_console/godmode/alerts/alert_actions.php on line 133”  .

    It is the same when I want to edit an Action – I get:
    “Notice: Undefined index: id_group in /srv/www/htdocs/pandora_console/godmode/alerts/configure_alert_action.php on line 46″    .

    I can’t create or edit alerts and actions.        (it was OK on version 3.0  …..)

    2. In file  /var/log/pandora/pandora_server.log  on the Pandora server, I have an error:

    ” Can’t locate XML/SAX.pm in @INC (@INC contains: /usr/lib/perl5/5.10.0/i586-linux-thread-multi /usr/lib/perl5/5.10.0 /usr/lib/perl5 /usr/lib/perl5/site_perl/5.10.0/i586-linux-thread-multi /usr/lib/perl5/site_perl/5.10.0 /usr/lib/perl5/vendor_perl/5.10.0/i586-linux-thread-multi /usr/lib/perl5/vendor_perl/5.10.0 /usr/lib/perl5/vendor_perl .) at /usr/lib/perl5/vendor_perl/5.10.0/XML/Simple.pm line 348.”      .

    I don’t see a package named XML/SAX on my system.

    Can any one help , at least on problem #1 ?  ….  DO I have to make a clean install of V3.1 ?

    Thanks,

    Ofir.

    ofirst replied 14 years, 6 months ago 2 Members · 3 Replies
  • 3 Replies
  • raul

    Member
    August 17, 2010 at 22:16
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    First, which is your distro?

    For example, in Ubuntu, the SAX package is in the libxml-sax-perl library (sudo apt-get install libxml-sax-perl)

    Second, how did you do the upgrade? Copying files? I haven’t seen the id_group error before.
    The message you get is when you press the button “create”? Do you see a combo with all the groups?

    Raul

  • ofirst

    Member
    August 18, 2010 at 14:06
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Hi,
    Thanks for your answer.
    I installed Pandora from ISO image, based on SuSE 11.1 release.
    The upgrade was done using RPM’s , and this document –

    http://openideas.info/wiki/index.php?title=Pandora_3.0:Documentation_en:Anexo_Upgrade

    I have not upgrade the clients/agents on the  monitored machines  to new clients.
    When I click the link:  Administration Manage Alerts Actions  I get the error as mentioned before:

    “Notice: Undefined index: id_group in /srv/www/htdocs/pandora_console/godmode/alerts/alert_actions.php on line 133 Notice: Undefined index: id_group in /srv/www/htdocs/pandora_console/godmode/alerts/alert_actions.php on line 133 Notice: Undefined index: id_group in /srv/www/htdocs/pandora_console/godmode/alerts/alert_actions.php on line 133 Notice: Undefined index: id_group in /srv/www/htdocs/pandora_console/godmode/alerts/alert_actions.php on line 133”

    Any idea what to do ?

  • ofirst

    Member
    August 18, 2010 at 14:12
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Hi,
    More errors , I think it is related –

    When I try to edit an alert, I get this message:
    “Notice: Undefined index: id_group in /srv/www/htdocs/pandora_console/godmode/alerts/configure_alert_template.php on line 305”

    Ofir.