We use Google Suites and I was wondering how would I set up CheckMK to alert using Google Chat/Spaces. I see there is a GitHub for Nagios 2 Google Chat but I’m at a loss on how to set this up on CheckMK.
Any guidance would be appreciated, thank you!
We use Google Suites and I was wondering how would I set up CheckMK to alert using Google Chat/Spaces. I see there is a GitHub for Nagios 2 Google Chat but I’m at a loss on how to set this up on CheckMK.
Any guidance would be appreciated, thank you!
Hi @cgerman
and welcome to the forum.
The bad news is, Checkmk does not have an out-of-the-box integration with Google CHat. But you already knew that.
The good news is, there Google Chat has an API, and webhooks work as well, so it shouldn’t be too hard to build something custom.
Take a look here to get started (linked to the right section): Notifications - via Email, SMS, Ticketsystems and more
Hi,
you can try these steps:
gchat_notify.sh
local/share/check_mk/notifications
# Google Chat
url and id to your needschmod +x gchat_notifiy.sh
After that you should get the new notification method for your notification rules:
Karl
Will not work as the script chat_notify.sh does not use environment variables but command line arguments to get the info about the alarm. It needs to be rewritten. That should be easy as it is a simple API call.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed. Contact an admin if you think this should be re-opened.