No email alerts ??

Jim Perrin jperrin at gmail.com
Thu Oct 4 03:23:22 CEST 2007


On 10/3/07, Nedim Bicic <nedo72 at gmail.com> wrote:
>
> Hey sounds good but what exctly am i exucuting at the commadn line

You're attempting to run the same command nagios is. Look at the
command nagios is running, starting from /usr/bin/printf. Replace the
variables listed with appropriate values.

> 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
>
> /bin/mail -s  "Host $HOSTSTATE$ alert for $HOSTNAME$!" $nedo72 at gmail.com$

Wow. You got this one really wrong. Start from /usr/bin/printf.
Replace variables. DO NOT include the $ signs in your replacements.

Also. When you attempted this install, did you add the nagios user and
group? And to follow up on the last question you didn't answer: Since
you're using RHEL4, does your system have selinux enabled?


-- 
During times of universal deceit, telling the truth becomes a revolutionary act.
George Orwell

-------------------------------------------------------------------------
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