Welcome to Pandora FMS Community › Forums › Community support › Advanced troubleshooting › Alerts & E-mails [Solved]
-
Alerts & E-mails [Solved]
Posted by hannylicious on April 14, 2009 at 14:51Hey again!
Now that things have been cooking, I’ve been running through the process necessary to setup alerts and other fun things!
I’ve been having a lot of fun with it – and it’s really easy to get up and going…But I am (as I’ve said before) really new to a lot of this. Â
I am having trouble getting e-mails setup to work.
I’ve got the alerts setup, and it tells me it’s firing and e-mail off when the alert hits, but I receive nothing in my e-mail I have it sending to.I have looked at the documentation and can’t find anywhere that I’m going wrong…
Is there anywhere in particular I should check? Â Or anywhere that might help me in order to get these working?
Again – this is a very ‘default’ type install…
jaytourist replied 13 years, 9 months ago 7 Members · 24 Replies -
24 Replies
-
-
::
I filled out some of the MTA parameters:
I left: mta_address localhost
and entered an e-mail in mta_fromI also put the appropriate information in the webconsole fields.
I installed sendmail on the server, and have left it with default settings. Is there further configuration needed there in order to work with pandora?
-
-
::
The first time I got:
The program ‘mail’ can be found in the following packages:
*heirloom-mailx
*mailutils
Try: apt-get installSo I added both of them.
When I did it again after installing the packages – I got received no error, but the e-mail did not go anywhere (that I could see)
-
-
::
Apr 16 09:48:16 ubuntu2 sm-mta[24645]: n3GEmGT5024645: from=, size=0, class=0, nrcpts=0, proto=SMTP, daemon=MTA-v4, relay=localhost [127.0.0.1]
Apr 16 09:53:21 ubuntu2 sm-mta[24736]: n3GErLkK024736: ruleset=check_rcpt, arg1=, relay=localhost [127.0.0.1], reject=553 5.1.8 … Domain of sender address [email protected] does not exist
Apr 16 09:53:21 ubuntu2 sm-mta[24736]: n3GErLkK024736: lost input channel from localhost [127.0.0.1] to MTA-v4 after rcpt
Apr 16 09:53:21 ubuntu2 sm-mta[24736]: n3GErLkK024736: from=, size=0, class=0, nrcpts=0, proto=SMTP, daemon=MTA-v4, relay=localhost [127.0.0.1]
Apr 16 09:57:43 ubuntu2 sm-mta[24788]: n3EMCEm1007808: to=, ctladdr= (0/0), delay=1+16:45:29, xdelay=00:00:00, mailer=esmtp, pri=22170494, relay=recyclingit.com, dsn=4.0.0, stat=Deferred: Connection timed out with recyclingit.com
Apr 16 09:57:43 ubuntu2 sm-mta[24788]: n3ELvtn8007471: to=, ctladdr= (0/0), delay=1+16:59:48, xdelay=00:00:00, mailer=esmtp, pri=22260494, relay=recyclingit.com, dsn=4.0.0, stat=Deferred: Connection timed out with recyclingit.comThis is the what I see in the mail.log file.
I think it probably is what you said about the relay issue somehow…I imagine there’s probably a config file or something that I need to update with corrected information or something in order to resolve some of the setup of the mail server (I installed it, but have not run any config for it, nor do I know where to find it).
If you know where I could look to see the configs of it – that’d be helpfull, otherwise I’ll be digging around and will report back 😀
Thanks again for continuing to work with a newb such as myself 😀
-
::
I’m working my way through this tutorial now to setup a mail server properly:
http://flurdy.com/docs/postfix/ -
::
Add this in the pandora_server.conf
mta_from [email protected]
This parameter lets you specify the sender of the emails sent by Pandora Server
Try to put an email an domain that might not be rejected by your mail serverDo not forget to restart the server after adding it.
-
::
I had added that already to the pandora_server.conf
I’m sure it’s something going on here that I simply lack the knowledge to understand or see. I have done some of the tests on the postfix install page and it generates an e-mail on the localhost machine, so I can tell it’s working.
It’s getting it to integrate with our network I think that’s causing the rub somewhere… i’m not sure how or why at this point…
But again – I appreciate your helping me on this issue. I’ll keep on diggin 😀
-
::
Not that this has anything to do with the e-mails – but…
I have noticed that for some reason the agents have stopped sending information to the server – I now have unknown monitors.
The monitor that uses SSH has been down for a few days, the others (tentacle) have went down in the past day and have yet to come back up.This has happened before and after a while they automatically come back to life, but this time the outage seems to be taking some time – is there something I can check to see what might be going on?
-
::
The email issue:
The alert is actually being fired right? You can see it in the webconsole?
Put the pandora_agent.conf verbosity 10, validate the alert and wait till the alert is fired again, go to /var/log/pandora/pandora_agent.log
Can you see there a line saying the alert has been fired and “Executing command…”?The agents stuff:
Windows agents? -
::
I’m sorry – yes windows agents.
And with reference to the log – most recent thing in the pandora_server.log is:
Alert executed for agent XXXXXXThe alerts are working – they are showing up in the webconsole, and they’re stating the e-mail was sent. I’m sure it’s something to do with the setup of my server somehow (again, i am still very new to linux)
-
::
Try to restart the windows agents
Try to send an email using telnet, if you don’t know how to do it, just do this:
telnet IP_YOU_HAVE_IN_PANDORA_AGENT.CONF 25
you will get something like:
220 servernamedo:
ehlo servernameonce the server replies write exactly what I wrote here (hit enter at the end of each sentence:
mail from: [email protected]
rcpt to: [email protected]
data (hit enter)
test
. (write this “.”) and hit enter, this means you’re finishing the email and the server can try to send itTake a look at your inbox, did you get it?
-
-
-
-
::
Hi.
I have a similar issue.
I have setup the email alerting and everything is fine, except the address of the email sender.It is pandora@localhost
I tried to edit /etc/pandora/pandora_server.conf
mta_port 25
mta_user: monitoring
mta_pass: PASSWORD
mta_from: monitoring@MYDOMAINbut I still get the email as pandora@localhost
Thanks for you help.
-
-
::
Remove the double dots ! :-), like:
mta_port 25
mta_user monitoring
mta_pass PASSWORD
mta_from monitoring@MYDOMAINHi.
I have a similar issue.
I have setup the email alerting and everything is fine, except the address of the email sender.It is pandora@localhost
I tried to edit /etc/pandora/pandora_server.conf
mta_port 25
mta_user: monitoring
mta_pass: PASSWORD
mta_from: monitoring@MYDOMAINbut I still get the email as pandora@localhost
Thanks for you help.
-