Pandora FMS Community

My /var/log/pandora/pandora_server.error log is full of "Use of uninitialized value..

JonRussell · 23 ene 2019, 3:00 · 5 mensajes · 54 visitas

  1. Inicio del debate
    Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/PandoraFMS/Core.pm line 4877.
    Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/PandoraFMS/Core.pm line 4877.
    Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/PandoraFMS/Core.pm line 4877.
    Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/PandoraFMS/Core.pm line 4877.
    Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/PandoraFMS/Core.pm line 4877.
    Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/PandoraFMS/Core.pm line 4877.
    Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/PandoraFMS/Core.pm line 4877.
    Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/PandoraFMS/Core.pm line 4877.
    Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/PandoraFMS/Core.pm line 4877.
    Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/PandoraFMS/Core.pm line 4877.
    Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/PandoraFMS/Core.pm line 4877.
    Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/PandoraFMS/Core.pm line 4877.
    Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/PandoraFMS/Core.pm line 4877.
    Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/PandoraFMS/Core.pm line 4877.
    

    Any idea how to fix the error, or suppress the line in the log ? Thanks. Regards, Jon.

  2. Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/PandoraFMS/Core.pm line 4877.
    Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/PandoraFMS/Core.pm line 4877.
    Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/PandoraFMS/Core.pm line 4877.
    Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/PandoraFMS/Core.pm line 4877.
    Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/PandoraFMS/Core.pm line 4877.
    Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/PandoraFMS/Core.pm line 4877.
    Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/PandoraFMS/Core.pm line 4877.
    Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/PandoraFMS/Core.pm line 4877.
    Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/PandoraFMS/Core.pm line 4877.
    Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/PandoraFMS/Core.pm line 4877.
    Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/PandoraFMS/Core.pm line 4877.
    Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/PandoraFMS/Core.pm line 4877.
    Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/PandoraFMS/Core.pm line 4877.
    Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/PandoraFMS/Core.pm line 4877.
    

    Any idea how to fix the error, or suppress the line in the log ? Thanks. Regards, Jon.

    Good morning JonRussell, This "error" ocurrs when you don´t have an elastic search + logstash. This "error" is not important and does not affect the server performance. You can use this command in order to clean the .log (made in empty): cat /dev/null > /var/log/pandora/pandora_server.error Alberto

  3. Hello JonRussell, Hope the answer of alberto.sanchez helps you to solve your problem. Please, do take a few minutes to write a Pandora FMS review in order to help us continue monitoring systems... https://bit.ly/2S9Y2kp Thank you for your time! Regards

  4. Hi, I understand what Alberto suggested, but it doesn't really help. cat /dev/null > /var/log/pandora/pandora_server.error will just wipe the contents of the error file. This will lose all other errors contained within, and immediately after that it will just fill up again with the same error. I was hoping for a way to suppress the message appearing in the first place. Others are suffering from the same issue. It seems like a common problem ? Can a flag be added to suppress this message ? Or a workaround put in place to stop it happening in the first place ? Can the code be updated to initialise the string in Core.pm line 4877 ? :-) I'll right a review. I really like Pandora. But its been a steep learning curve ... Thanks. Jon.

  5. Hi, I understand what Alberto suggested, but it doesn't really help. cat /dev/null > /var/log/pandora/pandora_server.error will just wipe the contents of the error file. This will lose all other errors contained within, and immediately after that it will just fill up again with the same error. I was hoping for a way to suppress the message appearing in the first place. Others are suffering from the same issue. It seems like a common problem ? Can a flag be added to suppress this message ? Or a workaround put in place to stop it happening in the first place ? Can the code be updated to initialise the string in Core.pm line 4877 ? :-) I'll right a review. I really like Pandora. But its been a steep learning curve ... Thanks. Jon.

    Good morning JonRussell, Please try this command to delete only the error: sed -i '/(.)/d' /var/log/pandora/pandora_server.error Will try to solve this error in future packages. You can also comment the line 4877 of the Core.pm and Pandora will still work perfectly. Alberto

Entra en tu cuenta para publicar.