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$!" [EMAIL PROTECTED]

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

PS: Uberquotes sucks ;-)

-- 
        [EMAIL PROTECTED]       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
[email protected]
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

Reply via email to