CMK version:
Latest - 2.0.0p20 (CRE) OS version:
Ubuntu 20.04.3
Hi CMK crew!
I have raw fully built and ready for phase 2 testing, but how do you get email alerts on this thing?
Following the guide is not clear, nor does it show the config steps for Raw
There are only notes about the Appliance & Enterprise which doesn’t cover my problem
In this guide:
How to connect to OMD [mysite] to execute tests?
OMD[mysite]:~$ echo “content” | mail -s test-subject harry.hirsch@example.com
The Heirloom Mailx configuration file is not at the path(s) listed
~/bin/mail
~/etc/mail.rc.
I can run smarthost through Office365, but how to connect CMK with it?
What’s the secret sauce to tie it all together?
It should be sufficient to create a user with a corresponding email address.
Under “Notifications” you can then set when emails should be generated.
Postfix takes care of the rest.
For the test, simply send a custom notification and see if it arrives.
You still need to install the appropriate package (apt-get install…)
I would personally recommend something modern like pushover or something like that, unless SMS (old and insecure method) is explicitly requested.
Quick note on SMS: Though it is old and not the most secure technology (which should be more or less irrelevant for monitoring notifications), if you want out of band notifications (which do not rely on network services, let alone the internet) it is the only way to go.
Of course that would require a physical server with an SMS modem attached via USB.
Hi,
i have setup mail and SMS notifications but was interested in push. i have one question you have 10k notifications for whole check_mk or for one user/contact group? Also you must pay that 5$ fee? If yes one time or monthly/yearly?
The $5 are unique per device technology. So 1x for web, 1x for Android and 1x for iOS.
But we don’t have more than 10k messages per month, we don’t even come close. That’s why I haven’t looked into it yet.
It should also be more of a goal to keep the notifications low, right?
The notifications are set up for all contacts.
Haha!
That is a fair point, things move slowly around here and since I have discovered how modern CMK is over Nagios is amazing!
I am exploring the push notification avenue with Pagerduty to email, text, call, and send carrier pigeons in the event of a severe outage but the API key is giving fits
Hello,
I do not use MS Office servers. There is no “mail” on my fresh Ubuntu 20.04:
Command ‘mail’ not found
So, unlike many other simple monitoring solutions, this so-called “raw” version does not know how to send email via SMTP?
Does it have any email interface?
Where is the “test email” button?
Is there any email plugin?
Thanks
CMK raw and enterprise booth use the systems own mail transfer agent (MTA).
You have to configure your system in a way that it can forward mail to mail server.
It is possible to test your configuration inside the notification system found under “Setup”.
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.