Welcome to Pandora FMS Community › Forums › Community support › Advanced troubleshooting › All module graphs empty
-
All module graphs empty
Posted by Itszech on February 19, 2020 at 23:36Hi 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
aeleus replied 3 years, 7 months ago 5 Members · 19 Replies -
19 Replies
-
::
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.
Greetings
Diego -
::
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.
Greetings
DiegoHi 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 -
-
-
-
-
::
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 -
-
::
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 -
-
::
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 (?) -
-
::
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 -
-
-
::
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.
-
::
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 1510Can someone help me?
Best regards.
-
::
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?
-