Page 1 of 1

I can't receive email notifications after migrating Nagios

Posted: Tue Aug 20, 2024 9:07 am
by ouss
Hello everyone,

I can't receive email notifications after migrating Nagios to another server,

Old nagios version is : 4.4.5 (rocky 8)
New version is the latst (rokcy 9),

I installed the nagios on new server and the plugins
I transferred all the configuration files and I installed postfix , I transferred main.cf to newServer

scp /usr/local/nagios/etc/*.cfg NewServer:/usr/local/nagios/etc/
scp /usr/local/nagios/etc/objects/*.cfg NewServer:/usr/local/nagios/etc/objects/
scp -r /usr/local/nagios/etc/objects/* NewServer:/usr/local/nagios/etc/objects/
scp /etc/httpd/conf.d/* NewServer:/etc/httpd/conf.d/
scp /usr/local/nagios/etc/htpasswd.users NewServer:/usr/local/nagios/etc/htpasswd.users
scp /usr/local/nagios/etc/cgi.cfg NewServer:/usr/local/nagios/etc/
scp /etc/letsencrypt/* NewServer:/etc/letsencrypt/
scp -r /etc/letsencrypt/* NewServer:/etc/letsencrypt/


Any help plz,
Thank you,

Re: I can't receive email notifications after migrating Nagios

Posted: Wed Aug 21, 2024 10:00 am
by ouss
I installed sendmail with postfix,
It's work now

Re: I can't receive email notifications after migrating Nagios

Posted: Wed Aug 21, 2024 3:31 pm
by bbahn
Hello @ouss,

Glad to hear you figured out your problem. I will now lock this thread since it has been resolved.