Page 2 of 2

Re: default nagios contact

Posted: Mon Apr 05, 2021 1:18 pm
by rzietlow
dchurch wrote:I wasn't able to find any place in your config where [email protected] was mentioned. That email address sounds fake, are you sure you have control of that email address?

Perhaps postfix on localhost is re-routing the email to a different address, what's the output for the following command?

Code: Select all

grep -irHn -C 5 '[email protected]' /etc/aliases* /etc/postfix*
correct i did not want to put our company's email address in this forum, however I have been searching for our email address.


[root@bbbb03 log]# cd ~
You have mail in /var/spool/mail/root
[root@bbbb03 ~]# grep -irHn -C 5 '<OUR_EMAIL_ADDRESS' /etc/aliases* /etc/postfix*
[root@bbbb03 ~]# cd /usr/local/
[root@bbbb03 local]# grep -irHn -C 5 '<OUR_EMAIL_ADDRESS>' *
[root@bbbb03 local]#

Re: default nagios contact

Posted: Mon Apr 05, 2021 4:19 pm
by dchurch
Okay, I wasn't clear about what email address you were trying to find.

I don't know what the hidden email address is, so if you PM that to me I can find it in your config so you can get a screenie.

Re: default nagios contact

Posted: Tue Apr 06, 2021 1:58 pm
by dchurch
It looks like the email address is set to it_alerts@[company.com], and that's set in the Profile setting for nagiosadmin.

If you log in as nagiosadmin, then open the profile by clicking the name in the top right, it should give you a screenshotable page with that email address.

Re: default nagios contact

Posted: Tue Apr 06, 2021 2:04 pm
by rzietlow
hah ok all this digging. yes that is another email address I was looking for. But when i would grep for it.


Guessing this is in a database somewhere?

Re: default nagios contact

Posted: Tue Apr 06, 2021 2:12 pm
by dchurch
There's also Admin = Email Settings that should show the it_alerts@[company.com] email.

Where it's stored in the database is in the nagiosxi database:

Code: Select all

mysql nagiosxi
> select * from xi_users where username = 'nagiosadmin'\G