Open BAAAASS opened 6 months ago
I just spent many hours battling the same thing, graylog could not resolve the mongodb container despite being on the same bridge network. At first I thought it might be because I changed the container names, but reverting back to just naming it "mongo" did not fix the issue. Not sure if maybe it would have worked if I had nuked the bridge network and remade it?
Anyway, in the end the solution for me was to add hostname: "mongo"
under the mongodb section of the compose file. Now graylog can reach mongodb.
Fatal error: Uncaught Error: Call to undefined function get_interfaces_info() in /usr/local/bin/telegraf_pfifgw.php:13
Need to revert to an interfaces.inc file with the function defined. Found the answer in this reddit:
https://www.reddit.com/r/opnsense/comments/1aiqaz5/telegraf_error_after_upgrade_to_241/
Search for the get_interfaces_info()
and just copy paste the whole function in your /usr/local/bin/telegraf_pfifgw.php
file, just below the line:
require_once("util.inc");
I have thus far been unable to get this stack working at all. There two issus which are blocking, and I have been unable to find any solution:
The graylog container fails to start:
The installation of telefraf on OPNSense does not work properly. In the configure.md there are instructions to test the install using "sudo telegraf_pfifgw.php". However, this produces:
0 {main}
thrown in /usr/local/bin/telegraf_pfifgw.php on line 13
Please let me know if there is any advice on this.