docker icon indicating copy to clipboard operation
docker copied to clipboard

Autostart ircbot based on environment variable

Open Olen opened this issue 3 years ago • 5 comments

This will ensure that the irc-bot is started if the enviroment-variable LIBRENMS_IRC_SERVICE is set to "1".

You still need to enable irc_alert in the config to use the ircbot for alerting.

Olen avatar Oct 18 '22 17:10 Olen

Seems like the bot is unable to send alerts. Possibly because the alerts are triggered by the dispatcher container, which does not have access to the .ircbot.alert file. I will investigate a bit more.

Olen avatar Nov 18 '22 11:11 Olen

This PR needs to be merged to make alerting work in the container based environment.

https://github.com/librenms/librenms/pull/14647

Olen avatar Nov 18 '22 12:11 Olen

This PR needs to be merged to make alerting work in the container based environment.

librenms/librenms#14647

Moving to draft while waiting for the upstream PR to be merged

crazy-max avatar Dec 30 '22 07:12 crazy-max

Approved upstream, will be in 23.5

murrant avatar Apr 28 '23 14:04 murrant

Now that 23.5 has been released. This should be ready.

Olen avatar Jun 07 '23 06:06 Olen