I can't receive email notifications after migrating 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
ouss
Posts: 6
Joined: Tue Aug 20, 2024 8:57 am

I can't receive email notifications after migrating Nagios

Post 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,
ouss
Posts: 6
Joined: Tue Aug 20, 2024 8:57 am

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

Post by ouss »

I installed sendmail with postfix,
It's work now
bbahn
Posts: 382
Joined: Thu Jan 12, 2023 5:42 pm

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

Post by bbahn »

Hello @ouss,

Glad to hear you figured out your problem. I will now lock this thread since it has been resolved.
Actively advancing awesome answers with ardent alliteration, aptly addressing all ambiguities. Amplify your acumen and avail our amicable assistance. Eagerly awaiting your astute assessments of our advice.
Locked