As the Nagios admin I am getting these emails but when I search I cannot find this number/address. How can I find it and remove it?
Error: Invalid user address
Error message below:
550 - Requested action not taken: no such user here
Message details:
Subject: RECOVERY Service Alert
Sent date: Sun Jun 25 22:34:47 GMT 2017
MAIL FROM: [email protected]
RCPT TO: [email protected]
From: nagios_host <[email protected]>
To: <[email protected]>
Size (in bytes): 854
I cannot find the number@vtext so nagios quits trying to send out notifications. In fact, I couldn't even find the hosts or services that this was linked to.
Cannot find user but getting notifications
Re: Cannot find user but getting notifications
Try the following to help track down the user and host(s)/service(s) that is generating the alert:
If this returns results then you can run:
where <ID> is the ID number shown in the first column results of the "select * from tbl_contact..." command.
Once you have this information you can take a closer look at the host(s)/service(s). You may also want to try running:
Hope this helps!
Code: Select all
echo "select * from tbl_contact" | mysql -uroot -pnagiosxi -D nagiosql | grep <number>Code: Select all
echo "select * from tbl_host where contacts=<ID>" | mysql -uroot -pnagiosxi -D nagiosql
echo "select * from tbl_service where contacts=<ID>" | mysql -uroot -pnagiosxi -D nagiosqlOnce you have this information you can take a closer look at the host(s)/service(s). You may also want to try running:
Code: Select all
grep -Ri <number> /usr/local/nagios/etc/As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: Cannot find user but getting notifications
Thanks this helped out alot. I was able to track down the number and user to have it modified.
You can close this thread.
You can close this thread.