• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
  • paul wheaton
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Henry Wong
Saloon Keepers:
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Frits Walraven

How can I ensure that the setup for sending emails from my Checkmk server is correctly established?

 
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm in the process of configuring alerts for Checkmk, specifically regarding email notifications. How can I ensure that the setup for sending emails from my Checkmk server is correctly established? I've read that for supported Linux distributions, it involves installing an SMTP server service. Could you provide guidance on how to verify or set up this SMTP server service for email notifications?
 
Tina Jo
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
.I was not getting alerts from check_mk when my servers needed attention. I then tried the mail command from the server designed to be the checkmk server. The mail command did not return any error and I used mailq command and saw that no messages were in q. However, When I checked my work email (which uses Microsoft Outlook) there was No email there. One of my colleagues suggested that the issue is how the sender appears and that it is seen as spam before it gets to my inbox. It used to appear like this <root@fullyqualifieddomainnameofserver> (ONE email of the 25 I sent came through) so I created this script #!/bin/bash
# Input parametersFROM="$1"SUBJECT="$2"
# Send email/usr/sbin/sendmail.sendmail -f "$FROM" "$TO" <<EOFFrom: $FROMSubject: $SUBJECTTo: "workemail"BODY:"test content"SMTPPORT:25EOF
I have been changing the From variable; however, I am still NOT Receiving any emails. Does anyone know why?
 
Did Steve tell you that? Fuh - Steve. Just look at this tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic