Ad blocker detected: Our website is made possible by displaying online advertisements to our visitors. Please consider supporting us by disabling your ad blocker on our website.
Support questions about the Network Weather Map plugin
Moderators: Developers , Moderators
RobinBaillieux
Posts: 17 Joined: Mon Apr 27, 2020 4:43 am
Post
by RobinBaillieux » Wed May 20, 2020 3:25 am
config.php is inside include/ directory. I double check, it is the correct database information
However, i did not find any "function weathermap_get_pdo()" to copy/past your line :-/
I forgot to mention that when I clicked to enable the plugin i also got this error message :
phalek
Developer
Posts: 2838 Joined: Thu Jan 31, 2008 6:39 am
Location: Kressbronn, Germany
Contact:
Post
by phalek » Wed May 20, 2020 3:27 am
So you do not have the file /cacti/www/plugins/weathermap/lib/database.php ?
RobinBaillieux
Posts: 17 Joined: Mon Apr 27, 2020 4:43 am
Post
by RobinBaillieux » Wed May 20, 2020 4:06 am
Sorry my bad, I was in the wrong /lib/database.php.
But I have just tried and I retrieved the information in weathermap_database.txt and they match with what I write in config.php
phalek
Developer
Posts: 2838 Joined: Thu Jan 31, 2008 6:39 am
Location: Kressbronn, Germany
Contact:
Post
by phalek » Wed May 20, 2020 4:10 am
Ok, last thing to check would be SELINUX. Do you have it enabled ? If yes then the security context of the weathermap directory may be wrong and hence it is not able to connect to the database.
RobinBaillieux
Posts: 17 Joined: Mon Apr 27, 2020 4:43 am
Post
by RobinBaillieux » Tue May 26, 2020 4:05 am
Hello,
I got the answer from unix team. Unfortunately no, it is not installed on the unix OS.
RobinBaillieux
Posts: 17 Joined: Mon Apr 27, 2020 4:43 am
Post
by RobinBaillieux » Fri May 29, 2020 6:30 am
Hello,
As we are running out of options we were thinking of changing the DBMS
We are currently running with MySQL but we can take another one from the list below
• Oracle database Enterprise
• SQL Server Standard + Enterprise
• PostgreSQL
• Cassandra
Could you tell me if there is one that would be better to run Weathermap ?
Kr,
Robin.
RobinBaillieux
Posts: 17 Joined: Mon Apr 27, 2020 4:43 am
Post
by RobinBaillieux » Mon Aug 24, 2020 9:04 am
Hello,
Finally, it turns out the issue was coming from $database_port.
We do not use the default value as the MySQL server is connecting remotely to cacti.
The value we used was not send correctly.
Kind regards,
Robin.
MalikHH
Posts: 1 Joined: Mon Nov 15, 2021 10:09 am
Post
by MalikHH » Mon Nov 15, 2021 10:11 am
Hello,
I have the same problem as Robin so I tried the elements you asked to add
However, I can't post the .txt file
Can you help me?
Thanks
Users browsing this forum: No registered users and 2 guests