Hello
I'm using Nagios core 4.4.6 on OpenSUSE 15.3. I was wandering if someone here can help with some settings. I am trying to push Nagios notification on a Discord webhook. So far I have try this method:
https://github.com/ReenigneCloud/nagios ... ifications - it didn't work for me.
Also, I have try this tutorial also, with apprise, but that *.yml file doesn't work for me
https://nuxref.com/tag/discord/
Any ideas?
Thank you!
Nagios Discord notification
-
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: Nagios Discord notification
Hi,
I would recommend opening an issue on the GithHub for that script. Normally you would pass the macros used in the notification as arguments in the notify-host-by-discord command setup. I don't see that part (take a look at the default notification commands).
Let us know if you get it working.
Benjamin
Did you get any error message (check the nagios.log)?https://github.com/ReenigneCloud/nagios ... ifications - it didn't work for me.
I would recommend opening an issue on the GithHub for that script. Normally you would pass the macros used in the notification as arguments in the notify-host-by-discord command setup. I don't see that part (take a look at the default notification commands).
Let us know if you get it working.
Benjamin
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Nagios Discord notification
Hi,
Thank you for your reply!
I was getting this errors with that script:
./send-discord-host.sh: line 28: + : syntax error: operand expected (error token is "+ ")
./send-discord-host.sh: line 29: + : syntax error: operand expected (error token is "+ ")
I did open an issue on Github. Also, I wasn't sure what to edit that script at - Nagios domain, used for generating our URLs
nagios_domain="" - script link: https://github.com/ReenigneCloud/nagios ... rd-host.sh
Any other suggestion?
I found a lot of stuff for Slack, but nothing for Discord.
Cheers!
Thank you for your reply!
I was getting this errors with that script:
./send-discord-host.sh: line 28: + : syntax error: operand expected (error token is "+ ")
./send-discord-host.sh: line 29: + : syntax error: operand expected (error token is "+ ")
I did open an issue on Github. Also, I wasn't sure what to edit that script at - Nagios domain, used for generating our URLs
nagios_domain="" - script link: https://github.com/ReenigneCloud/nagios ... rd-host.sh
Any other suggestion?
I found a lot of stuff for Slack, but nothing for Discord.
Cheers!