Networking :: Nagios Email Notification Using Postfix ?
Feb 15, 2011
My Nagios email Notification is not working, I'm trying to setup external relay server using GMAIL. I'm also using dynamic IP.
Please see the test below:
Here is my PoSTFIX CONFIGURATION:
View 3 Replies
ADVERTISEMENT
Feb 15, 2011
My Nagios email Notification is not working, I'm trying to setup external relay server using GMAIL. I'm also using dynamic IP.
Please see the test below:
Here is my PoSTFIX CONFIGURATION:
View 14 Replies
View Related
Jan 14, 2011
I have a setup with Centos 5.5, Nagios 3.2.3, sendmail 8.13.8. When a insident is happening Nagios notify-by-mail is triggered and Nagios sends via sendmail. Unfortunately there is a trailing $-sign added to the $CONTACTEMAIL. Sendmail cannot mail to xxx@mail.address$
A hack is to insert mailaddress in misccommands.cfg but I would like to have a more clean way.
View 3 Replies
View Related
May 5, 2010
Nagios has been up and running for quite sometime now and no issues till this month. For some reason, Nagios kept failing to send notifications out to our department. Out of curiosity I've sent the email out manually and tailed the mail.log then found out that every email being sent is getting a "Connection Refused." Can this be a permission issue? If so where and why all of the sudden it just stopped working as none has changed in the OS (Ubuntu Core).
View 7 Replies
View Related
Oct 22, 2009
I've gotten myself involved in the Nagios monitoring tools and somewhat managed to configure the Nagios host, but I'm still having some issues with the email notifications.
From what I've read/researched, one of the favourite methods to get the email notification up is by using sendmail/postfix. I've went through it and learned that they are MTAs. What I actually needed is just a basic email client, and I would email the notices directly to an email address over the internet. Thus, I wont be needing something as complex like sendmail/postfix.
I gotten my hands on "Nail mail". I've successfully configured it to be able to send emails from my linux machine over the internet. However, when I copied the same command lines to nagios's contact.cfg, it did not work.
This is the command line that I'm using. Let me explain what I'm trying to achieve below. Firstly, I would save all the text notifications into a text file(green), and then email it out. The problem is NailMail command (red) does not work on Nagios,but the command line works in the terminal command on my Nagios account. Has anyone attempted using Nail mail with Nagios?
View 3 Replies
View Related
Feb 15, 2011
I'm currently working with Nagios Core 3.2.2 and I'm trying to set up a mail notification.
My current settings:
Commands
Quote:
Notification Type: $NOTIFICATIONTYPE$
Date/Time: $LONGDATETIME$
Notification Type: $NOTIFICATIONTYPE$
Additional Info:
Services
Quote:
Host
Quote:
Quote:
I have 2 problems:
I'm getting mail that the PC is OK every 3 minutes.
And I don't know what I should config in Service and host .cfg. Sow that I will get a good description of the problem in the mail that Nagios is sending me.
View 4 Replies
View Related
Feb 11, 2011
I I'm currently working on Nagios Core 3.2.2, and I'm trying to set up a mail notification. I already install postfix and mailx. And I'm able to send a mail via Ubuntu. I checked this with the command: echo "mail test" | mailx -s "test subject" mail address.But I don't know what to do next. I'v tried many different suggestions that I found on goolge, but nothing seems to work.
View 26 Replies
View Related
Apr 27, 2010
I have CentOS 5.3 ISPConfig 3 installed. I have noticed that some mail I sent out were lost. Expecially, email with subject like "a" or "aa". I think Amavis block my email. Please tell me how to configure amavis to allow all outgoing email by postfix?
View 1 Replies
View Related
May 2, 2011
I install Nagios Core Version 3.2.3 in CentOS 5.5 via rpmforge repo configure ssmpt to sent mail via my gmail account. i test and don't see any in it even some notification to nagiosadmin is get deliver now i create one user in contacts.cfg
Code:
I also add one contact groups
Code:
Now i add one windows xp machine on nagios for monitor (i install NSClient++ 0.3.8.75 and it working fine)
Here is my windows.cfg
Code:
But my problem is when my host goes down i m not getting any notification to my define contactgroup,
View 2 Replies
View Related
Dec 31, 2009
I have an email setup where all of the emails from our email host is downloaded to our Linux server using Fetchmail. Then some of the incoming emails are sent to an MS exchange server (server1.domain.com) using Postfix. What i want to do is to send a copy of all emails to Another server (server2.domain.com) for redundancy.Can postfix be configured to send copies out to both?
View 1 Replies
View Related
Jun 11, 2010
I have nagios server 3.2 and it works fine.I want to know, how know can i send mail notification by alert type?
Or example
How can i achieve this type of notification? Is it possible or not?
View 4 Replies
View Related
May 25, 2010
I'm trying to set up a basic smtp server on my local computer that I can send basic, unencrypted email through on port 25. I installed postfix, and I chose the following options:
Internet Site,
System Mail Name: localhost
Root and postmaster mail recipient: I left this blank
For other domains to accept mail, I entered : NONE, localhost
No force synchronous mail updates
Local networks: 127.0.0.0/8
[Code].....
View 2 Replies
View Related
Mar 17, 2011
Is there a way to trigger Nagios to "Auto Acknowledge" any host alerts after x amount of times? Sometimes system has been down in the mid of the night but no one really has responded to the notification which might mean bunch of emails flown through in each inbox within the department coming from these alerts.
View 3 Replies
View Related
May 3, 2010
Have someone used Linux heartbeat to send email when the Slave server becomes the Master? I've read I can configure the MailTo under.
But I really don't know how to do it. I basically need my primary server to send an email when it becomes inactive and all the activities are manage by the secondary node.
View 7 Replies
View Related
Jan 6, 2011
setting up Nagios which I have done quite easily, I have only one concern I am not able to setup email Notification from Postfix. I am able to send and receive mails from Postfix internally, I just need to know how to setup Postfix i.e point the server to get NAgios Notification.
View 8 Replies
View Related
Sep 22, 2010
This is an odd question, but I can't figure out why my nagios emails aren't being sent. In fact, I got my last one three days ago so it *should* be working.
I have everything in contacts.cfg, and the admin page tells me that the following should be sent: Unknown, Warning, Critical, Recovery, Flapping, Downtime
I also have notify-service-by-email and notify-host-by-email.
I have no idea if nagios emails just don't want to be sent or what -- and I'm not even sure if the nagios emails are even trying to be sent.
Here's my contacts.cfg code...
There's nothing in /var/log/nagios besides the mention of that email address in objects.cache, so I have no idea if an email was attempted to be sent. My sendmail queue is empty as well.
Meanwhile, I have some downtime on a service and didn't get notified. Only the web interface is helping me out here. Any ideas why I am not getting email? How can I run a test to see if everything's working okay?
View 10 Replies
View Related
Mar 2, 2011
I have installed nagios in centos and its working fine.
I need to configure email alerts for nagios.
I have already configured nagios to send email alerts for warning,critical and recovery for 24/7.
1) i need to configure nagios to send email alerts twice a day
a) morning at 8am
b) evening at 6pm
2)i need nagios to send email alerts only "current status" of the host and services twice a day (morning and evening).
View 4 Replies
View Related
Jan 24, 2011
Setting up email notification on Nagiso server in detail.
Os version : Feodra 10
Nagios Version: 3.0.5
And also do let me know if any more info required ?
View 1 Replies
View Related
Dec 3, 2009
Im pretty sure this is trivial to config, but I havent had any luck searching on google.My situation is: I want to forward any emails sent to my domain to another account. So:
Code:
root@domain -> another_acc
any_other_system_user@domain -> another_acc
any_unknown_user@domain -> another_acc
View 3 Replies
View Related
Aug 10, 2011
I have nagios and postfix on the same ubuntu box.Postfix is able to send emails out as root and my user id to my gmail acct, but not as user nagios, which does own the nagios process. I haven't been able to find a way to authorize user nagios to send email (really), but I don't know if this is the underlying issue. Frankly I don't care what acct they originate from as long as they arrive.Currently, all notification emails are being dumped locally into root's mailbox. There are no errors in either the nagios.log or the mail.log.I've added my gmail address to the contacts.cfg, replaced it in the nagios.cfg, and put it every other place I could find root's mailbox mentioned. I've also created an alias for root to my gmail acct with no luck (didn't want to do that fearing I'd receive emails for other system events, but it didn't work anyway)
View 3 Replies
View Related
Mar 16, 2011
I've not been having any luck at all finding the answer to this, so thought I'd ask here: is there any way to get my servers to send an email when someone logs in through SFTP? I was able to get that to work with SSH using a simple bit of script in /etc/profile, but I can't find anything on Google about doing that with SFTP at all.
The OpenSSH version on my server is 5.2p1 running on FreeBSD 8.0. Any way to get the server to execute any command on SFTP login will be enough for me to get this set up.
View 3 Replies
View Related
Aug 28, 2009
this seems silly but I am changing ISPs and need to change my notification email address (for here). Under User Menu -> Edit account it shows my email but does not allow me to change my email. Since I am able to post I assume I am logged in correctly. So what did I miss?
View 3 Replies
View Related
Nov 13, 2010
I have a fresh installation of Fedora 14 and Evolution email notification plugin don't work. Someone else have this problem?
View 1 Replies
View Related
Feb 11, 2010
My EeePC used to be called 'machine', but some time ago I renamed it 'deimos'. There's been no problem with this for ages; but today I got an email 'Delivery Status Notification (Failure)' - because of a failed job, Anacron had tried to send a message to 'root@machine'. I've checked /etc/hosts and /etc/hostname, and in both locations the computer's name is correctly configured as 'deimos'. Where else should I look?
View 1 Replies
View Related
Feb 16, 2011
I have configured SVN server on suse 10 , My layout is like: multiple projects in a single repository.
I want that the corresponding users of the projects will get email notification on commit in their projects.
View 4 Replies
View Related
Nov 29, 2010
Here I've sort a problem, dealing with swatch.I wonder why my swatch configuration can't sending an email notification to my mail, which I mean to sent the output file into email.Swatch running like a charm on my system and success to give the log files for the file that swatch monitoring..here's my output
Code:
root@ubuntusecurity:/home/andrewraharjo# swatch -c /root/.swatchrc -t /var/log/auth.log
*** swatch version 3.2.3 (pid:6773) started at Mon Nov 29 19:33:39 WIT 2010
[code]....
View 5 Replies
View Related
Jul 24, 2010
Currently i'm figuring out how to send email notifications to users when services went down in Nagios. I know i need to install and configure Postfix, which i did already. I assume that when i configured to point it to "Satellite mail system" is the correct one instead of other things like "Internet.." etc. So the configurations is when you have installed the Postfix and there would pop a lot of questions right? Other than that, what have i missed?
Oh ya, i remember something. Hmm. I do not have any so-called real smtp server so would that be alright? I heard that installed and getting the Postfix running would be enough as it serves as a MTA (mail transfer agent). So if i do not have any smtp server, the relay host= ' ' what should i put it as?
View 5 Replies
View Related
Sep 13, 2010
I am trying to setup a simple SMTP server to relay scanned documents from a Xerox machine to email addresses. Unfortunately the Xerox machine doesn't support TSL or SSL so sending mail over port 25 on gets blocked. I have setup postfix on a desktop running Fedora 13 and have been able to set it up to forward the mail onto the correct server (gmail for example). My question is, how do I get the server to encrypt the emails (scanned documents) when sending them over the internet?
I have tried adding:
Code:
smtpd_use_tls = yes
smtpd_tls_cert_file = /etc/postfix/smtpd.cert
smtpd_tls_key_file = /etc/postfix/smtpd.key
But when I look at the wireshark capture of the sending I can read my test message in plain text.
View 2 Replies
View Related
Apr 26, 2010
I have a server with an sms-terminal attached. There I use "gnokii" to send sms. Now I'm searching for a solution with postfix or something else to receive an email and resend the subject of this email as an sms with gnokii. I have already searched a lot. I found that I have to create a special "sms"-user and a .procmail / .forward-file. But I had no success with this solutions.
View 2 Replies
View Related
Dec 28, 2010
tell postfix to send email sent to one email address to another email address. What I really need to do is tell postfix that every email sent to [URL] and [URL] be sent to [URL] I tried transport maps like this: [URL] but that did not work. I then tried canonical maps like this:
recipient_canonical file:
/^((dbsupport|helpdesk).*)thisdomain[.]com$/ admins@thatdomain.com
sender_canonical file:
/^(.*@).*thisdomain[.]com$/ ${1}thatdomain.com
but it did not work either. I am really exhausted and I need to find a solution for this one since it is my boss asking me to get this working. This is what if in /var/log/mail in box1:
Dec 28 16:10:25 box1 postfix/pickup[19291]: 54D258F726: uid=0 from=<root>
Dec 28 16:10:25 box1 postfix/cleanup[23489]: 54D258F726: message-id=<4D1A5241.mailIBZ11LRR6@box1.thisdomain.com>
[code]....
View 4 Replies
View Related