Pages: [1]   Go Down
Author Topic: I don't receive email alerts  (Read 2198 times)
0 Members and 1 Guest are viewing this topic.
Daggda
Newbie
*

Karma: 0
Offline Offline

Posts: 7


View Profile
« on: June 08, 2011, 04:31:06 PM »

Hi all,

I just don't know what more to do, configured the pandora_server.conf with the right parameters

mta_address mailxxx.tcxxx.com
mta_port: 25
mta_user: xxx@telexxx.com
mta_pass: password
mta_auth: LOGIN
mta_from: pandora@telexxx.com

Have put the right alerts to the modules and nothing, the alert jumps correctly, but the alert firing does not send me anything.

The log says me this

pandora [V1] [ERROR] Sending email to xxx@gmail.com with subject [PANDORA] Alert from agent xxx on module memused

Can anyone help me out ?
Logged

Daggda
Newbie
*

Karma: 0
Offline Offline

Posts: 7


View Profile
« Reply #1 on: June 08, 2011, 04:36:07 PM »

PD:

when i do a ping mailxxx.tcxxx.com

it says me this

ping: unknown host

So i think that it might be a dns problem but i cant find how to configure it

i use opensuse v11.1
Logged

Daggda
Newbie
*

Karma: 0
Offline Offline

Posts: 7


View Profile
« Reply #2 on: June 09, 2011, 08:31:29 AM »

Also i checked the log, and i have some issues one of them tells me:

"pandora [v10] processing alert 'Critical ljs' for agent 'ipbrickdemo': Do not execute the alert

               ------- the name of the alert is criticalljs ---------

and the other error is:

"pandora [v10] processing alert 'Critical condition' for agent 'ipbrickdemo': Do not execute the alert, but increment its internal counter.

I don't know what to do, i'm really out of ideas, can anyone help me out ¿
Logged

tpalacios
Administrator
Sr. Member
*****

Karma: 8
Offline Offline

Posts: 190


The Game


View Profile
« Reply #3 on: June 09, 2011, 09:19:31 AM »

Greetings Daggda,

Regarding your last post:

That's not a problem of eMail alerts, but a problem of the alert configuration, which does not execute because you defined a threshold in your template firing conditions. Please check it.

Regarding your first posts:

Being unable to ping your mail domain doesn't mean you have a problem in your network/DNS configuration... maybe this domain is configured to don't reply to ICMP packets... if this is not the case, change this configuration it until you can ping it...

How to do it?... Well... you have a huge list of examples in the web... search one of them.

Once you've fixed this problem...

It could be a problem of your pandora_server.conf configuration... you don't really need to uncomment and fill all the mta fields... if you have postfix or simillar in your Pandora Server machine, you don't need to provide any external mta... use your own in localhost... you could send mails from your own Pandora Server from the command shell...

Try:

Code:
echo "test" | mail -s "test subject" destination@mailaddress.com

If this works and you receive the mail, comment all the mta fields except "mta_from":

Code:
mta_from sender@mailaddress.com

Save it and restart your Pandora Server.

Code:
/etc/init.d/pandora_server restart

Regards.
« Last Edit: June 09, 2011, 10:26:56 AM by tpalacios » Logged

Daggda
Newbie
*

Karma: 0
Offline Offline

Posts: 7


View Profile
« Reply #4 on: June 09, 2011, 10:05:49 AM »

Hi,

I tried to execute

echo "test" | mail -s "test subject" destination@mailaddress.com

but it does not send anything ...
Logged

Daggda
Newbie
*

Karma: 0
Offline Offline

Posts: 7


View Profile
« Reply #5 on: June 09, 2011, 10:20:56 AM »

Sorry, i just made a test from another linux (ipbrick) and the mail command works perfectly, but ipbrick comes with an mail server already installed, and our pandora has no mail server, so my question is, which and how mail server packet i have to install, or if we could define a snmp route that mails from pandora go through ipbrick, that we have in the same LAN.
Logged

tpalacios
Administrator
Sr. Member
*****

Karma: 8
Offline Offline

Posts: 190


The Game


View Profile
« Reply #6 on: June 09, 2011, 10:25:45 AM »

Try this:

Code:
mta_address ipbrick

#mta_port is 25 by default... if you are using another one, change this

mta_port: 25

mta_user: user@ipbrick
mta_pass: password

#mta_auth... choose the auth system you have in ipbrick... if it doesn't work try another one.

mta_auth: LOGIN

mta_from: sender@emailaddress.com

Regards.
Logged

Daggda
Newbie
*

Karma: 0
Offline Offline

Posts: 7


View Profile
« Reply #7 on: June 09, 2011, 11:30:47 AM »

Hi,

I don't know what's happening but it keeps telling me:

pandora [V10] Executing action 'eMail' for alert 'Critical ljs' agent 'ipbrickdemo'
pandora [V1] [ERROR] Sending email to voiptelecomputerprueba@gmail.com with subject [PANDORA] Alert from agent ipbrickdemo on modle memused

Best regards
Logged

Daggda
Newbie
*

Karma: 0
Offline Offline

Posts: 7


View Profile
« Reply #8 on: June 09, 2011, 04:31:11 PM »

I tried to install Postfix but i could not do it because it seems that i have Exim !! :-s

Is this one come with Pandora ?

You know something about it ? Can you tell me how to configure it ?

I did not found anything :-(

Or i uninstall exim and than install postfix ?
Logged

tpalacios
Administrator
Sr. Member
*****

Karma: 8
Offline Offline

Posts: 190


The Game


View Profile
« Reply #9 on: June 17, 2011, 09:44:45 PM »

Hi again Daggda!

It looks like this problem needs special attention... after all, there have been more people reporting about another problem of this kind, but all of them were fixed doing the previous steps we've tried already.

Since this looks like an auth/connection problem...

Give this a try and reply back with the result. ;)

Sending emails using EXPECT

Regards.
Logged

greyic
Newbie
*

Karma: 0
Offline Offline

Posts: 1


View Profile WWW
« Reply #10 on: September 06, 2011, 06:41:46 PM »

We have same issue with my mail dang i don't like this.
Logged

tpalacios
Administrator
Sr. Member
*****

Karma: 8
Offline Offline

Posts: 190


The Game


View Profile
« Reply #11 on: September 06, 2011, 06:44:57 PM »

Good evening.

Please, browse in the forum and search threads with similar subjects... there are lots of them created and many of them answered already with multiple workarounds for that specific problem.

Thank you.
Logged

dfprado
Newbie
*

Karma: 0
Offline Offline

Posts: 2


View Profile
« Reply #12 on: February 29, 2012, 09:08:27 PM »

Hi!!

About emails alerts, try this:

Get sendEmail (download it) in tar.gz and extract him on your favorite path. On pandora console, create a new alert command and, in command field, take this: $PATH$/sendEmail -f pandora_console@<your provider>.com.br -t <who gonna receive email> -u "title" -m "menssage" -s <your email servidor SMTP>

After, run to everyone, man! Its work perfectly with me!

PS: $PATH$ is path where you extract sendEmail.tar.gz.
Logged

Pages: [1]   Go Up
Print
 
Jump to:  


SourceForge.net Logo  This site is monitored by Pandora FMS   ArticaST