Notification

Dirk Johannson d.johannson at web.de
Sat Mar 1 16:36:00 CET 2003


You must NOT put a sendmail-command into the misccommands.cfg, mail -s 
should do as it is. Sendmail is not intended as a user-interface, but as 
a MTA. Simply speaking, sendmail acts as the real mailserver, whereas 
"mail -s ..." in the misccommands.cfg acts as the mailclient, but both 
on the physically same machine.

With a out-of the-box-installation of sendmail you should at least be 
able to receive mail locally on your nagios-box. If that part works, you 
can go on by configuring sendmail to forward mail to your "main" 
mailserver to receive notifications in the mailclient on your windows-, 
linux- or whatever-workstation.

But I think, we drift away from the topic of this list a little bit. 
"man sendmail" could help you to get ahead.

Sorry for my bad english...

dj

Hugo Rebello schrieb:
> Could you tell me which sintaxe of sendmail that I put in misccommands.cfg
> Nagios file ? Because in this file is "mail -s" sintaxe.
> 
> Thank you
> Hugo
> 
> -----Original Message-----
> From: Dirk Johannson [mailto:d.johannson at web.de]
> Sent: quinta-feira, 27 de fevereiro de 2003 18:07
> To: Hugo Rebello
> Cc: nagios-users at lists.sourceforge.net
> Subject: Re: [Nagios-users] Notification
> 
> 
> Nagios itself has no SMTP Server configuration. You'll have to install
> sendmail (or postfix or whatever you like) on your nagios box. Then you
> can configure sendmail for sending all mails via your "normal"
> mailserver (smarthost). You could also set up a pop3/imap server and get
> mails direct from your nagios box.
> 
> dj
> 
> Hugo Rebello schrieb:
> 
>>Where is the SMTP SERVER configuration in Nagios ?
>>Because I don't receive the notifications by e-mail.
>>
>>Thank you.
>>Hugo
>>
>>
>>
>>
>>-------------------------------------------------------
>>This sf.net email is sponsored by:ThinkGeek
>>Welcome to geek heaven.
>>http://thinkgeek.com/sf
>>_______________________________________________
>>Nagios-users mailing list
>>Nagios-users at lists.sourceforge.net
>>https://lists.sourceforge.net/lists/listinfo/nagios-users
>>::: Please include Nagios version, plugin version (-v) and OS when
> 
> reporting any issue.
> 
>>::: Messages without supporting info will risk being sent to /dev/null
> 
> 
> 
> 
> 
> 
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
> ::: Messages without supporting info will risk being sent to /dev/null





-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list