Beside email notifications we also use sms notifications. (including acknowledgements) Therefore we use an external third-party service. We send emails to that third party and they deliver it to the mobile-number we specified. We build our own notification and escaltion module for this. Now in Nimsoft we like to use this third party service also but the emailgtw and smsgtw does not support this.
- in the emailgtw we get errors like: Sep 29 17:05:25:608 emailgtw: (get_nimuser_addr) user firstname.lastname@example.org not a NimBUS user or does not have an email address set ---- Sep 29 16:46:44:986 emailgtw: (send_it) smtp_send failed - 554 One or more recipients failed
- in the smsgtw we can not configure an email-adres.
The only solution that is left is to create a special script that would do the trick. So maybe also an idea for a feature request. Or is there an other option I miss?
Do you have the address in the nas and emailgwy matching these must match unless you use a nimbus user that has a email address associated with them.
I believe you can ignore the "not a NimBUS user or does not have an email address set" error message. That is normal and does not prevent the emailgtw from sending the message. The probe starts by looking in the list of users to see if the recipient field matches any of them. But if not, it attempts to send directly to the address that was specified.
So the real issue is the error 554 when trying to send email. The information I found online about that error is a bit vague, but it sounds like that might be caused by the email server not liking something in the message. Is it possible that you are sending HTML and that the SMS service is rejecting it?
554 errors are pretty generic and could be attributed to a number of things.
The external service you are using to convert the emails to SMS messages may not like the email address that is sending the alerts, it could be blocking the mail because it thinks it is being spammed, so check with the service provider if you need to add a trusted mail address to use the service.
There may be something helpful in this article on reverse DNS too.
So it only uses "Nimsoft Alarms" on messages without subjects? What if you just create a very short subject rather than removing the subject completely?-Keith