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 Advanced troubleshooting All newly added agent’s modules will not initialize

  • All newly added agent’s modules will not initialize

    Posted by Itszech on January 15, 2020 at 23:55

    Hey hope someone can help me with this,

    I’ve been using Pandora FMS on Windows 10 now for a few months and everything has been awesome, however just the other day I added a new agent with the same configuration I have used many times and all the modules show uninitialized. I tried installing the agent on several different computers with the same results. It seems every new Agent I add to Pandora cannot initialize its modules. All my existing agents show normally.

    My version is v7.0NG.737 – Build PC190731 – MR 30

    Thanks!

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

    Moderator
    January 16, 2020 at 12:19
    500 Karma points
    Community rank: tentacle_master_icon Tentacle Master
    Like it
    Up
    0
    Down
    Drop it
    ::

    Hello Itszech,

    Unfortunately with the last perl update, the PandoraFMS server has stopped working correctly, as you have seen, the new modules have stopped working and they don’t acquire a status out of the not initialized one. The only solution for this is to update the server to the pandora fix version that you can find without problems at sourceforge. I leave you an article from our blog to inform you better.

    https://pandorafms.com/blog/2020-perl/

    Greetings
    Diego

  • Itszech

    Member
    January 16, 2020 at 16:53
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Hello Itszech,

    Unfortunately with the last perl update, the PandoraFMS server has stopped working correctly, as you have seen, the new modules have stopped working and they don’t acquire a status out of the not initialized one. The only solution for this is to update the server to the pandora fix version that you can find without problems at sourceforge. I leave you an article from our blog to inform you better.

    https://pandorafms.com/blog/2020-perl/

    Greetings
    Diego

    Just performed the updated and everything is back to normal. Thanks for the help!

    Cheers,
    Zech

  • pm2tekom-pl

    Member
    February 25, 2020 at 19:08
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Hello!
    I had the same problem, and when I updated Pandora new modules initialized fine.
    But from then I have new big problem: no data is registering in database. When I click ‘graph’ in agent view i have information ‘No available data to show’. I can’t see historical data.
    In server’s log I have several lines e.g.:
    Argument “” isn’t numeric in numeric lt (<) at /PandoraFMS/Core.pm line 1667.
    Argument “” isn’t numeric in subtraction (-) at /PandoraFMS/Core.pm line 4258.

    I use pandorafms server 7.0NG.743, Windows2012
    Can you help me?

  • diego-m

    Moderator
    February 26, 2020 at 17:49
    500 Karma points
    Community rank: tentacle_master_icon Tentacle Master
    Like it
    Up
    0
    Down
    Drop it
    ::

    Hello,

    Can you send us a picture of the graph and where it is happening to you? Those graphics are in many places, and it would help us to find the problem.

    Greetings
    Diego

  • pm2tekom-pl

    Member
    February 26, 2020 at 18:51
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Hello,

    Can you send us a picture of the graph and where it is happening to you? Those graphics are in many places, and it would help us to find the problem.

    Greetings
    Diego

    I’ve noticed that it is EXACTLY the same problem like http://pandorafms.org/forum/thread-14913.html. I also have in logs: “Warning! The server does not have access to the API”. API configuration wasn’t change.
    The problem occurred right after udating Pandora to the newest version. I have 2 Pandora servers: one to testing, and second to production – the problem is on both of them. Actualization was 2020-02-24 10:55; as you can see in aatachments, before this date there were no errors in error log and data in modules were showing very well

  • Itszech

    Member
    February 26, 2020 at 22:51
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Yep, exactly the same situation I’m in. Maybe only an issue in the Windows version.

  • pm2tekom-pl

    Member
    February 28, 2020 at 20:06
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Any suggestion, Diego?

  • diego-m

    Moderator
    March 2, 2020 at 20:07
    500 Karma points
    Community rank: tentacle_master_icon Tentacle Master
    Like it
    Up
    0
    Down
    Drop it
    ::

    Hello,

    We have been investigating if it could be a bug of the windows version, and we have verified after replicating it point by point that there is not any bug, at the moment in the machine that we have mounted in our offices the graphs are seen correctly.

    As you can see, the problem is not the generation of graphics (as I thought at the beginning) but the problem is the data of the modules that you have configured for the graphics. Let’s do the following test, in the pandora_server.conf file change the verbosity option to 10. This will make that in the log it will be generated much more detailed data, so we could find the error in the exact place where it happens. Leave the server with this change during some minutes and send us the Pandora log of the last minutes.

    Check also the module and how long it takes without reporting data, if this module is not working properly neither will its graphics.

    Greetings
    Diego

  • pm2tekom-pl

    Member
    March 3, 2020 at 12:40
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Hello,

    We have been investigating if it could be a bug of the windows version, and we have verified after replicating it point by point that there is not any bug, at the moment in the machine that we have mounted in our offices the graphs are seen correctly.

    As you can see, the problem is not the generation of graphics (as I thought at the beginning) but the problem is the data of the modules that you have configured for the graphics. Let’s do the following test, in the pandora_server.conf file change the verbosity option to 10. This will make that in the log it will be generated much more detailed data, so we could find the error in the exact place where it happens. Leave the server with this change during some minutes and send us the Pandora log of the last minutes.

    Check also the module and how long it takes without reporting data, if this module is not working properly neither will its graphics.

    Greetings
    Diego

    For testing, I installed a completely new version of Pandora FMS Pandora FMS v7.0NG.743 – Build PC200129 – MR 35 on fresh Windows 2019 Server. I didn’t change anything in the configuration, I used the default settings and modules (I only set ‘verbosity’ to 10). Pandora’s behavior is identical to that of the production server. 

    As requested, I attach logs.

  • diego-m

    Moderator
    March 3, 2020 at 15:42
    500 Karma points
    Community rank: tentacle_master_icon Tentacle Master
    Like it
    Up
    0
    Down
    Drop it
    ::

    Hello,

    We have continued checking this problem and we have found something, we do not know why it seems that with the last version of Pandora the windows installations do not keep correctly the timestamp of the data provided by the server agent (it keeps them as timestamp 0). This causes that in the data history of the module it is not shown any data and that the graphs do not have any data either.

    So we could check (I would like you to check this) if you create another different agent and configure the modules manually, these ones work and keep the timestamp correctly. The bug has been reported and I hope that for version 745 is fixed, in the time left until then you can create another agent and configure the modules you think necessary manually to not have problems until the bug is solved

    Thanks for your patience and I hope that with this temporary solution I give you can enjoy Pandora FMS until this bug is solved.

    Greetings
    Diego

  • pm2tekom-pl

    Member
    March 3, 2020 at 16:26
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    [quote=

    Diego.M pid=’30979′ dateline=’1583235733′]Hello,

    We have continued checking this problem and we have found something, we do not know why it seems that with the last version of Pandora the windows installations do not keep correctly the timestamp of the data provided by the server agent (it keeps them as timestamp 0). This causes that in the data history of the module it is not shown any data and that the graphs do not have any data either.

    So we could check (I would like you to check this) if you create another different agent and configure the modules manually, these ones work and keep the timestamp correctly. The bug has been reported and I hope that for version 745 is fixed, in the time left until then you can create another agent and configure the modules you think necessary manually to not have problems until the bug is solved

    Thanks for your patience and I hope that with this temporary solution I give you can enjoy Pandora FMS until this bug is solved.

    Greetings
    Diego

    I manually created new module in the same agent and it works properly. So now I look forward for a new version, whitch I hope will be as soon as possible.

  • troublestarterxxx

    Member
    January 6, 2021 at 21:55
    1 Karma
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Hello Itszech,

    Unfortunately with the last perl update, the PandoraFMS server has stopped working correctly, as you have seen, the new modules have stopped working and they don’t acquire a status out of the not initialized one. The only solution for this is to update the server to the pandora fix version that you can find without problems at sourceforge. I leave you an article from our blog to inform you better.

    https://pandorafms.com/blog/2020-perl/

    Greetings
    Diego

    Hi

    no simple way or documentation to update ?

  • diego-m

    Moderator
    January 11, 2021 at 13:51
    500 Karma points
    Community rank: tentacle_master_icon Tentacle Master
    Like it
    Up
    0
    Down
    Drop it
    ::

    Hello,

    Here I leave you the Pandora FMS documentation section where updates are discussed. Remember that to update correctly all pandora you will have to update the console, server and database. All this is explained in the documentation.

    https://pandorafms.com/docs/index.php?title=Pandora:Documentation_en:Anexo_Upgrade

    Greetings
    Diego