Pandora FMS Community

All module graphs empty

Itszech · 19 feb 2020, 23:36 · 20 mensajes · 85 visitas

  1. Inicio del debate

    Hi all, Noticed that when I view a module's graph it is blank. It is also showing "Error: No available data to show" when I go to view the current data. I queried the database and the data is there, just will not display in the console. I did notice in my servers logs I am getting the following error: Warning! The server does not have access to the API, this can trigger problems in the generation of reports and graphs. I performed the API check in the console and it returned OK. Any help troubleshooting this issue would be appreciated. My version is: v7.0NG.743 - Build PC200129 - MR 30 running on Windows 10

  2. Hello itszech, I see that you are in version 743 with MR 30, this is a bit outdated, version 743 corresponds to MR 35, so you should update this last one. I leave you a link to the documentation where you can see how to update the database. https://pandorafms.com/docs/index.php?title=Pandora:Documentation\_en:Anexo\_Upgrade#Version\_7.0NG\_.28\_Rolling\_Release\_.29 Greetings Diego

    Hi Diego, Thanks for the reply. As per your recommendation I've ran the scripts to update my database from MR30 to MR35. I however am still facing the issue of graphs appearing blank. Cheers, Zech

  3. Hello Itszech, Check your a API configuration in the Setup of the console and in the pandora_server.conf And send us images of it, to check that is not a configuration problem. Greetings Diego

  4. See bellow: I performed the API test again with the console user and password in the conf file and it was successful. Cheers, Zech

  5. Hello Itszech, Try typing a "*" in the section of the IP list with API access. This will allow any IP to access using username and password. Greetings Diego

  6. Hey, Tried setting the IP list with API access field to * but no luck. Here's a screenshot of the error in the logs: Cheers, Zech

  7. Hello Itszech, I just realized a probable error in the .conf file, you have put your user password is 1234, but the user that is created for the API has its own randomly generated password, so the most likely is that it does not match and that is the reason why it does not allow you access. My advice is to try to change the password of your internal API user to "1234" as you have in the .conf or to change both in the .conf and in the console the password for a more secure one. Greetings Diego

  8. Hey, I gave that a try and got the same error. I also tried creating a new API user. This issue seemed to have started after updating from 742 to the 742 fix Perl version. Cheers, Zech

  9. Hello, This is strange, try to configure in the .conf of the server the Admin user of the console, maybe the error is for some permissions, let's check that the error does not happen the same with a user with Pandora Administrator. I can assure you that it is not an update problem, it could be something of configuration that is missing to change or a bug that could happen with your concrete configuration. Greetings Diego

  10. Tried using a user with full admin rights but still the same issue. Cheers, Zech

  11. I've installed completly new version of PandoraFMS on fresh Windows2019Server system and still have the same problem! Now I'm sure that this is the new version of Pandora problem. In logs I have: "Warning! The server does not have access to the API, this can trigger problems in the generation of reports and graphs" and  "curl: (6) Could not resolve host: 'http" Looks like Pandora can't submit curl requests properly (?)

  12. Hello, You can check the history of the module you are using in the graph, several people have mentioned the same problem, it may be a bug in the windows system but we are still testing it. Thanks for your patience Diego

  13. Hello, It seems that the agent that monitors the server data is suffering some bug that causes it to save the history data with timestamp 0. This causes that the data is not reflected neither in the console history nor in the graphs. Fortunately, as I mentioned before, this only happens in the agent modules that are automatically created with the installation of Pandora FMS. If you create another agent or other modules in this same agent, you will see how the graphs work correctly. This bug has already been reported and I hope it will be solved in the next versions Thank you for your patience. Diego

  14. In the new version (744) everything works fine. Thanks for your support, Diego

  15. I just updated to 744 as well. Graphs work as they should now! Great work on the quick resolution of this issue. Cheers, Zech

  16. Hello: I have the same problem. I am at version 748 with MR 40. I follow your instructions. The api pass is the same in the console and pandora_server.conf file. When I start the pandora_server service I don't see any api error. Before the changes I see the api error message. But when I go to grafs tab in the agent, I can't see any graphs. But I can see graphs if I click in the graph icon next to the module data in the agent. This does not happen in version 742. Beest regards.

  17. Hello: I have been checking the logs, and each time I generate graphs, (SNMP, network, or agent type modules) I can see these errors in the log: [08-Sep-2020 10:06:45 Europe/Madrid] PHP Warning: Illegal string offset 'module' in /var/www/html/pandora_console/include/functions_graph.php on line 1290 [08-Sep-2020 10:06:45 Europe/Madrid] PHP Warning: Illegal string offset 'server' in /var/www/html/pandora_console/include/functions_graph.php on line 1289 [08-Sep-2020 10:06:45 Europe/Madrid] PHP Warning: Illegal string offset 'module' in /var/www/html/pandora_console/include/functions_graph.php on line 1290 [08-Sep-2020 10:06:45 Europe/Madrid] PHP Warning: Illegal string offset 'server' in /var/www/html/pandora_console/include/functions_graph.php on line 1289 [08-Sep-2020 10:06:45 Europe/Madrid] PHP Warning: Illegal string offset 'module' in /var/www/html/pandora_console/include/functions_graph.php on line 1290 [08-Sep-2020 10:06:45 Europe/Madrid] PHP Warning: preg_match() expects parameter 2 to be string, array given in /var/www/html/pandora_console/include/functions_reporting.php on line 12254 [08-Sep-2020 10:06:45 Europe/Madrid] PHP Warning: preg_match() expects parameter 2 to be string, array given in /var/www/html/pandora_console/include/functions_reporting.php on line 12262 [08-Sep-2020 10:06:45 Europe/Madrid] PHP Warning: preg_match() expects parameter 2 to be string, array given in /var/www/html/pandora_console/include/functions_reporting.php on line 12270 [08-Sep-2020 10:06:45 Europe/Madrid] PHP Warning: preg_match() expects parameter 2 to be string, array given in /var/www/html/pandora_console/include/functions_reporting.php on line 12278 [08-Sep-2020 10:06:45 Europe/Madrid] PHP Warning: preg_match() expects parameter 2 to be string, array given in /var/www/html/pandora_console/include/functions_reporting.php on line 12286 [08-Sep-2020 10:06:45 Europe/Madrid] PHP Warning: preg_match() expects parameter 2 to be string, array given in /var/www/html/pandora_console/include/functions_reporting.php on line 12294 [08-Sep-2020 10:06:45 Europe/Madrid] PHP Warning: preg_match() expects parameter 2 to be string, array given in /var/www/html/pandora_console/include/functions_reporting.php on line 12254 [08-Sep-2020 10:06:45 Europe/Madrid] PHP Warning: preg_match() expects parameter 2 to be string, array given in /var/www/html/pandora_console/include/functions_reporting.php on line 12262 [08-Sep-2020 10:06:45 Europe/Madrid] PHP Warning: preg_match() expects parameter 2 to be string, array given in /var/www/html/pandora_console/include/functions_reporting.php on line 12270 [08-Sep-2020 10:06:45 Europe/Madrid] PHP Warning: preg_match() expects parameter 2 to be string, array given in /var/www/html/pandora_console/include/functions_reporting.php on line 12278 [08-Sep-2020 10:06:45 Europe/Madrid] PHP Warning: preg_match() expects parameter 2 to be string, array given in /var/www/html/pandora_console/include/functions_reporting.php on line 12286 [08-Sep-2020 10:06:45 Europe/Madrid] PHP Warning: preg_match() expects parameter 2 to be string, array given in /var/www/html/pandora_console/include/functions_reporting.php on line 12294 [08-Sep-2020 10:06:45 Europe/Madrid] PHP Warning: preg_match() expects parameter 2 to be string, array given in /var/www/html/pandora_console/include/functions_reporting.php on line 12254 [08-Sep-2020 10:06:45 Europe/Madrid] PHP Warning: preg_match() expects parameter 2 to be string, array given in /var/www/html/pandora_console/include/functions_reporting.php on line 12262 [08-Sep-2020 10:06:45 Europe/Madrid] PHP Warning: preg_match() expects parameter 2 to be string, array given in /var/www/html/pandora_console/include/functions_reporting.php on line 12270 [08-Sep-2020 10:06:45 Europe/Madrid] PHP Warning: preg_match() expects parameter 2 to be string, array given in /var/www/html/pandora_console/include/functions_reporting.php on line 12278 [08-Sep-2020 10:06:45 Europe/Madrid] PHP Warning: preg_match() expects parameter 2 to be string, array given in /var/www/html/pandora_console/include/functions_reporting.php on line 12286 [08-Sep-2020 10:06:45 Europe/Madrid] PHP Warning: preg_match() expects parameter 2 to be string, array given in /var/www/html/pandora_console/include/functions_reporting.php on line 12294 [08-Sep-2020 10:06:45 Europe/Madrid] PHP Warning: preg_match() expects parameter 2 to be string, array given in /var/www/html/pandora_console/include/functions_reporting.php on line 12254 [08-Sep-2020 10:06:45 Europe/Madrid] PHP Warning: preg_match() expects parameter 2 to be string, array given in /var/www/html/pandora_console/include/functions_reporting.php on line 12262 [08-Sep-2020 10:06:45 Europe/Madrid] PHP Warning: preg_match() expects parameter 2 to be string, array given in /var/www/html/pandora_console/include/functions_reporting.php on line 12270 [08-Sep-2020 10:06:45 Europe/Madrid] PHP Warning: preg_match() expects parameter 2 to be string, array given in /var/www/html/pandora_console/include/functions_reporting.php on line 12278 [08-Sep-2020 10:06:45 Europe/Madrid] PHP Warning: preg_match() expects parameter 2 to be string, array given in /var/www/html/pandora_console/include/functions_reporting.php on line 12286 [08-Sep-2020 10:06:45 Europe/Madrid] PHP Warning: preg_match() expects parameter 2 to be string, array given in /var/www/html/pandora_console/include/functions_reporting.php on line 12294 [08-Sep-2020 10:06:45 Europe/Madrid] PHP Warning: preg_match() expects parameter 2 to be string, array given in /var/www/html/pandora_console/include/functions_reporting.php on line 12254 [08-Sep-2020 10:06:45 Europe/Madrid] PHP Warning: preg_match() expects parameter 2 to be string, array given in /var/www/html/pandora_console/include/functions_reporting.php on line 12262 [08-Sep-2020 10:06:45 Europe/Madrid] PHP Warning: preg_match() expects parameter 2 to be string, array given in /var/www/html/pandora_console/include/functions_reporting.php on line 12270 [08-Sep-2020 10:06:45 Europe/Madrid] PHP Warning: preg_match() expects parameter 2 to be string, array given in /var/www/html/pandora_console/include/functions_reporting.php on line 12278 [08-Sep-2020 10:06:45 Europe/Madrid] PHP Warning: preg_match() expects parameter 2 to be string, array given in /var/www/html/pandora_console/include/functions_reporting.php on line 12286 [08-Sep-2020 10:06:45 Europe/Madrid] PHP Warning: preg_match() expects parameter 2 to be string, array given in /var/www/html/pandora_console/include/functions_reporting.php on line 12294 [08-Sep-2020 10:06:45 Europe/Madrid] PHP Warning: Illegal string offset 'module' in /var/www/html/pandora_console/include/functions_graph.php on line 1510 [08-Sep-2020 10:06:45 Europe/Madrid] PHP Warning: Illegal string offset 'module' in /var/www/html/pandora_console/include/functions_graph.php on line 1510 [08-Sep-2020 10:06:45 Europe/Madrid] PHP Warning: Illegal string offset 'module' in /var/www/html/pandora_console/include/functions_graph.php on line 1510 [08-Sep-2020 10:06:45 Europe/Madrid] PHP Warning: Illegal string offset 'module' in /var/www/html/pandora_console/include/functions_graph.php on line 1510 [08-Sep-2020 10:06:45 Europe/Madrid] PHP Warning: Illegal string offset 'module' in /var/www/html/pandora_console/include/functions_graph.php on line 1510 [08-Sep-2020 10:06:50 Europe/Madrid] PHP Warning: Illegal string offset 'server' in /var/www/html/pandora_console/include/functions_graph.php on line 1289 [08-Sep-2020 10:06:50 Europe/Madrid] PHP Warning: Illegal string offset 'module' in /var/www/html/pandora_console/include/functions_graph.php on line 1290 [08-Sep-2020 10:06:50 Europe/Madrid] PHP Warning: Illegal string offset 'server' in /var/www/html/pandora_console/include/functions_graph.php on line 1289 [08-Sep-2020 10:06:50 Europe/Madrid] PHP Warning: Illegal string offset 'module' in /var/www/html/pandora_console/include/functions_graph.php on line 1290 [08-Sep-2020 10:06:50 Europe/Madrid] PHP Warning: preg_match() expects parameter 2 to be string, array given in /var/www/html/pandora_console/include/functions_reporting.php on line 12254 [08-Sep-2020 10:06:50 Europe/Madrid] PHP Warning: preg_match() expects parameter 2 to be string, array given in /var/www/html/pandora_console/include/functions_reporting.php on line 12262 [08-Sep-2020 10:06:50 Europe/Madrid] PHP Warning: preg_match() expects parameter 2 to be string, array given in /var/www/html/pandora_console/include/functions_reporting.php on line 12270 [08-Sep-2020 10:06:50 Europe/Madrid] PHP Warning: preg_match() expects parameter 2 to be string, array given in /var/www/html/pandora_console/include/functions_reporting.php on line 12278 [08-Sep-2020 10:06:50 Europe/Madrid] PHP Warning: preg_match() expects parameter 2 to be string, array given in /var/www/html/pandora_console/include/functions_reporting.php on line 12286 [08-Sep-2020 10:06:50 Europe/Madrid] PHP Warning: preg_match() expects parameter 2 to be string, array given in /var/www/html/pandora_console/include/functions_reporting.php on line 12294 [08-Sep-2020 10:06:50 Europe/Madrid] PHP Warning: preg_match() expects parameter 2 to be string, array given in /var/www/html/pandora_console/include/functions_reporting.php on line 12254 [08-Sep-2020 10:06:50 Europe/Madrid] PHP Warning: preg_match() expects parameter 2 to be string, array given in /var/www/html/pandora_console/include/functions_reporting.php on line 12262 [08-Sep-2020 10:06:50 Europe/Madrid] PHP Warning: preg_match() expects parameter 2 to be string, array given in /var/www/html/pandora_console/include/functions_reporting.php on line 12270 [08-Sep-2020 10:06:50 Europe/Madrid] PHP Warning: preg_match() expects parameter 2 to be string, array given in /var/www/html/pandora_console/include/functions_reporting.php on line 12278 [08-Sep-2020 10:06:50 Europe/Madrid] PHP Warning: preg_match() expects parameter 2 to be string, array given in /var/www/html/pandora_console/include/functions_reporting.php on line 12286 [08-Sep-2020 10:06:50 Europe/Madrid] PHP Warning: preg_match() expects parameter 2 to be string, array given in /var/www/html/pandora_console/include/functions_reporting.php on line 12294 [08-Sep-2020 10:06:50 Europe/Madrid] PHP Warning: Illegal string offset 'module' in /var/www/html/pandora_console/include/functions_graph.php on line 1510 [08-Sep-2020 10:06:50 Europe/Madrid] PHP Warning: Illegal string offset 'module' in /var/www/html/pandora_console/include/functions_graph.php on line 1510 Can someone help me? Best regards.

  18. Any updates to this problem? I just got hit with the same issue. Everything was working fine under version 750. I updated (with yum) to 752 and applied the MR's (45). Now, clicking the graph icon gives me a blank page and the module icons don't work - neither does the Graphs view. I get this in the pandora_server.log: [V1] Warning! The server does not have access to the API, this can trigger problems in the generation of reports and graphs. I checked pandora_server.conf to make sure the console_api_pass matches what is configured in Setup through the UI. I see the API checker under Admin tools, but I have no idea how to use that. Any thoughts?

  19. Updated to recently-released Build 210326 using the web UI: all is working normally again.

Entra en tu cuenta para publicar.