Cant get postfix to send message from nagios

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
mfrycke
Posts: 29
Joined: Wed Mar 22, 2017 9:40 am

Cant get postfix to send message from nagios

Post by mfrycke »

Finally i get Nagios 4.3.1 up on unbuntu 14.
I have install postfix an bsd-mailx but unbuntu dont send ane mail from the server.
i have tro to send mail from the command line
echo "xxxxxxxxxx" | mailx-s "yyyyyyyyyyy" xxx.xxx@xxx.no
but no mail is arraived to my mailbox

Can someone please help me
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: Cant get postfix to send message from nagios

Post by cdienger »

Greetings,

We can't really offer too much support directly for postfix, but have you tried:

echo "xxxxx" | mail -s "yyyyyyyy" root@localhost ?

You can then check to see if it's arrived by running "mail" as the root user.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
mfrycke
Posts: 29
Joined: Wed Mar 22, 2017 9:40 am

Re: Cant get postfix to send message from nagios

Post by mfrycke »

yes i have try that i nothing come in roots mailbox
mfrycke
Posts: 29
Joined: Wed Mar 22, 2017 9:40 am

Re: Cant get postfix to send message from nagios

Post by mfrycke »

now iam avaible to send mail from ubuntu command line but i dont get any alets mail from Nagios
mfrycke
Posts: 29
Joined: Wed Mar 22, 2017 9:40 am

Re: Cant get postfix to send message from nagios

Post by mfrycke »

i have fix it :-)
case can be closed
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: Cant get postfix to send message from nagios

Post by cdienger »

Awesome! I'll close the thread as requested. Hopefully it's smooth sailing from here on out : )
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked