Jump to content

wbens

Members
  • Posts

    5
  • Joined

  • Last visited

Reputation

0 Neutral

About wbens

  1. Hello Guys: This is to let you know that I am getting email sent from nagios to my hotmail address. However, when I send to my outlook address (my email at work), I do not get anything. I guess that should be a problem with my outlook configuration. Now, I am working on getting messages sent to cell phones. If you have any suggestions on this, please let me know. Thanks. --Willie
  2. Hello again: I have made a couple of changes on my ssmtp.conf file. Here they are: Then I restart sendmail, and when I ran the command, here is the response I got: I will google for this to see what I come up with, but if you have any ideas, please let me know. Thanks.
  3. Hello Guys: Thanks a lot for your feedback on this matter. I have followed your instructions, but I think it is not yet working. Here are the things I have done on the command line: I then check on port 25: and killed the process: Same result again: Check on port 25, and nothing was listening on it: Restarted services: Check on port 25 one more time, and things were listening on it: Followed one of your commands and got the ssmtp: Cannot open [email protected]:25 response: I then tried testing this nagios command: However, I did not get any email. This is my sendmail.cf file: I followed all the steps you guys instructed me. Do you have any idea as to why this is not working yet? Thanks guys. --Willie
  4. Hello there: Thanks for your response. I am trying to get emails using both ssmtp or mailx. Whichever works first, I am sticking to it. This is what I am running on the command line as a test: [root@penguin etc]# /usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: NOTIFICATIONTYPE\nHost: HOSTNAME\nState: HOSTSTATE\nAddress: HOSTADDRESS\nInfo: HOSTOUTPUT\n\nDate/Time: LONGDATETIME\n" | /bin/mail -s "** NOTIFICATIONTYPE Host Alert: HOSTNAME is HOSTSTATE **" [email protected] [root@penguin etc]# This does not show any errors. It just returns to the prompt. Using ssmtp, this is what I get: I am completely clueless. Please, please, please help.
  5. Hello Forum: I am trying to set up nagios to send email and text (to cell phone) notifications. I have installed nagios 3.0.3 on Centos 5 and it is working well. I also installed ssmtp. Regarding the ssmtp.conf file, I am not sure if I have it configured correctly. These are my settings in the ssmtp.conf file: I tried the following from the command line, but nothing happens: [root@penguin ssmtp]# mail -s "Test" root Cc: [email protected]. Null message body; hope that's ok You have new mail in /var/spool/mail/root My command.cfg is as follows: I have looked at various threads about this, but none really explains me how to get this working. Some of the threads I have seen are: Nagios -> Email Arghhhh! by ICTNUT Re: Installing Nagios... what do you want to know? and Quick Nagios Problem Please someone help me. Thanks. wbens
×
×
  • Create New...