[afnog] Nagios support
Seun Ojedeji
seun.ojedeji at gmail.com
Tue May 29 10:18:47 UTC 2012
Hello Kwame,
On Tue, May 29, 2012 at 9:49 AM, Kwame Saidi <k.saidi at zantel.co.tz> wrote:
> Am using centos. Mail.log is not existing
>
> **
>
Thank you for reminding me of your OS, mail.log is for debian :-)
> **
>
>
> 25/tcp open smtp****
>
> 80/tcp open http****
>
> 110/tcp open pop3****
>
> 111/tcp open rpcbind****
>
> 143/tcp open imap****
>
> 443/tcp open https****
>
> 465/tcp open smtps****
>
> 587/tcp open submission
>
>From the stat you have your mail server active and running
# Do not remove the following line, or various programs****
>
> # that require network functionality will fail.****
>
> 127.0.0.1 localhost.localdomain localhost****
>
> ::1 localhost6.localdomain6 localhost6****
>
> 10.5.2.13 nagios.mydomain.com****
>
>
You have not added nagios to the entry of your /etc/hosts make this line
like this:
10.5.2.13 nagios.mydomain.com nagios (i assume your hostname is
still nagios right)
After you have done the above, restart the mail server and then send a mail
via cli using the following syntax:
echo "your messages" | mail -s "your subject" k.saidi at zantel.co.tz (hope
you have mutt installed, if not install it then run the command). Check
whether the mail was delivered. Then we can face nagios
Cheers!
>
>
--
------------------------------------------------------------------------
*Seun Ojedeji,
Federal University Oye-Ekiti
web: http://www.fuoye.edu.ng
Mobile: +2348035233535
**alt email: <http://goog_1872880453>seun.ojedeji at fuoye.edu.ng*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://afnog.org/pipermail/afnog/attachments/20120529/2ef4fd30/attachment.html>
More information about the afnog
mailing list