Re: Questions from a beginner
Re: Questions from a beginner
Ok, I can understand the reason, but how do I change the smtp server used by the notify-by-email used bu contacts / core?
Nagios XI 5.8.1
https://outsideit.net
https://outsideit.net
Re: Questions from a beginner
This would require configuring your local mta. To find out which mta you are using, check what the mta symlinks to:
Usually it is postfix, but every so often I have seen exim or sendmail as well. One you know your mta, you will have to configure it to send through smtp. Refer to google if necessary.
Code: Select all
ls -la /etc/alternatives/mtaFormer Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Re: Questions from a beginner
[root@srvnagios01 ~]# ls -la /etc/alternatives/mta
lrwxrwxrwx. 1 root root 26 Jun 6 2012 /etc/alternatives/mta -> /usr/sbin/sendmail.postfix
I tried editing the relayhost in /etc/postfix/main.cf , but after a /etc/init.d/postfix reload email fro contacts still won't be sent. Looking in Google mainly results in procedures how to set up mailservers with postfix. I really don't get why it isn't easier to configure an internal smtp server.
lrwxrwxrwx. 1 root root 26 Jun 6 2012 /etc/alternatives/mta -> /usr/sbin/sendmail.postfix
I tried editing the relayhost in /etc/postfix/main.cf , but after a /etc/init.d/postfix reload email fro contacts still won't be sent. Looking in Google mainly results in procedures how to set up mailservers with postfix. I really don't get why it isn't easier to configure an internal smtp server.
Nagios XI 5.8.1
https://outsideit.net
https://outsideit.net
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Questions from a beginner
Moving to ticketing system.