No email alerts ??

Nedim Bicic nedo72 at gmail.com
Fri Oct 5 02:35:36 CEST 2007


Your definitly right about only sending from the root  (usr/bin/sendmail)
not a typo i tried that since /bin/mail didnt work for me so i thought i
would try it out cause thats all it can do i tried placing that in the
commands cfg obviusly didnt work... now i also tried making the user root
and gave it permission but now i think i played way to much with mail and
sendmail i screwed it up big time with the permissions.....wat i think will
end up doing is reinstalling nagios again..crap

I didnt know that sendmail and mail are two different i guess i was wrong ..
i mean i did installation word by word as written in manaul i have
everything working expet email ?

one small question is bin/mail a relay client ? and where is $contactemail$
defined anywhere except commands.cfg

i see in the nagios.log file as mention in my eearlier posts that i see its
trying to send it out but keeps getting line code error 127 unkown email
address (which is my gmail)


On 10/4/07, Hugo van der Kooij <hvdkooij at vanderkooij.org> wrote:
>
> On Thu, 4 Oct 2007, Nedim Bicic right about only sending from the root
> casue thats all it can do i tried placing that in the commands cfg obviusly
> didnt work... now i also tried making the user root and gave it permission
>
> > OK check this out..funny thing is regarding the path /bin/mail doesnt
> exist
> > anywhere from the root i tryed tracing back so
> > i tryed executing this from the command line and i am able to recieve
> the
> > email which now at least i know MTA is defintly working:   "I didnt put
> any
> > argumetns as u can see this is just to test"
> >
> > usr/bin/sendmail -s  nedo72 at gmail.com works from command line but not
> from
> > commands.cfg??
>
> Wether it is sloppiness or a typo is not clear to me. But
> /usr/bin/sendmail is something entirely different from usr/bin/sendmail
>
> The second option will only happen to work if you happen to be in the root
> directory. It will fail from any other directory.
>
> Please be a 1000% more accurate. Because it will get back at you with in
> ways you do not seem to comprehend yet.
>
> Hugo.
>
> --
>        hvdkooij at vanderkooij.org        http://hugo.vanderkooij.org/
>            This message is using 100% recycled electrons.
>
>        Some men see computers as they are and say "Windows"
>        I use computers with Linux and say "Why Windows?"
>        (Thanks JFK, for this quote of George Bernard Shaw.)
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
> _______________________________________________
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20071004/3c8263e4/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
-------------- next part --------------
_______________________________________________
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