No email alerts ??

Hugo van der Kooij hvdkooij at vanderkooij.org
Thu Oct 4 11:17:26 CEST 2007


On Wed, 3 Oct 2007, Nedim Bicic wrote:

> Hey sounds good but what exctly am i exucuting at the commadn line
>
> is this the line i am executing: i replaced $CONTACTEMAIL$ with my email
> address but says cant find directory i tried executing from root:
> su nagios s /bin/sh but says cant find directory ?? help please

Where did you leave all those dashes?

I said:
 	su - nagios -s /bin/sh

> */bin/mail -s  "Host $HOSTSTATE$ alert for $HOSTNAME$!" $nedo72 at gmail.com$*

Loose the $ signs. They mark variables.so they are most definitly wrong 
around your email address.

PS: Uberquotes sucks ;-)

-- 
 	hvdkooij at vanderkooij.org	http://hugo.vanderkooij.org/
 	    This message is using 100% recycled electrons.

A: Yes.
>Q: Are you sure?
>>A: Because it reverses the logical flow of conversation.
>>>Q: Why is top posting frowned upon?

 	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





More information about the Users mailing list