Welcome to Pandora FMS Community!

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

Bienvenido a la comunidad de Pandora FMS Forums Community support alias and agent name problem during db update from Pandora FMS 6 TO 7

  • alias and agent name problem during db update from Pandora FMS 6 TO 7

    Posted by onurb on mayo 24, 2021 at 16:19

    Dear comunity,
    i just installed a fresh “Pandora FMS v7.0NG.754 – Build 200603 – MR 44”.

    Then i imported old db from version 6 in mysql and executed the script in “/var/www/html/pandora_console/extras/pandoradb_migrate_6.0_to_7.0.mysql.sql”
    to upgraded it.

    The issue is:

    When i log in pandora web console and i go in manage agent, some agents alias and name value are represented by strange alpha numeric values like

    013a7c0d3e7237c752f269cfea81095eef65c404478b…….cb68c88532766

    Why? Maybe something goes wrong during the db update?

    onurb replied 3 years, 7 months ago 3 Members · 4 Replies
  • 4 Replies
  • diego-m

    Moderator
    mayo 24, 2021 at 18:50
    500 Karma points
    Community rank: tentacle_master_icon Tentacle Master
    Like it
    Up
    0
    Down
    Drop it
    ::

    Hello,

    From version 6 to 7 there were some important changes such as the inclusion of a field “agent_alias” which is the name with which the agents are identified more easily in the console. I suspect that the problem is that not having this field configured, the agents are shown with the “agent_name”, which by default is a random hash. My advice is to configure this field in the agents that you see that have a hash by name.

    Besides this I have to warn you that the MR of your machine is not up to date, because the MR that you should have in the 754 version is the MR 46, so it could happen that you have some other problems in several sections of Pandora FMS. I recommend you to update this as soon as possible.

    Regards
    Diego

  • Jimmy

    Moderator
    mayo 25, 2021 at 00:21
    39 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    ¡Hi everybody!

    You may also read quickly the documentation about it:

    https://pandorafms.com/docs/index.php?title=Pandora:Documentation_en:Operations#Versions_prior_to_7_NG

    Maybe useful for you, Have a nice day!   😎

  • onurb

    Member
    mayo 25, 2021 at 11:01
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Thank you all,
    but what i don’t understand is why in db_v6 each agent has alias=X and name=Y, while after the upgrade in db_v7 some agents have name=X and alias=X. Other agents in db_v7 have been copied correctly (alias=X and name=Y as in db_v6) .

  • onurb

    Member
    mayo 25, 2021 at 12:55
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    ok thank you all