notification command

Marc Powell marc at ena.com
Fri Dec 7 23:09:16 CET 2007



> -----Original Message-----
> From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-
> bounces at lists.sourceforge.net] On Behalf Of Keles, Cem
> Sent: Friday, December 07, 2007 2:28 PM
> To: Nagios Users mailinglist
> Subject: Re: [Nagios-users] notification command
> 
> Thanks but I've tried this already, no file created unfortunately. I'm
> sure Nagios doesnt run script even the notification command is
executed.

There has never been a bug like that as far as I can recall. If nagios
says it's calling it, it's calling it. It may be failing due to
permissions, environment or some other external factor though. Try
adding a '>/tmp/logfile 2>&1' to the end of your command definition to
see STDOUT and STDERR in /tmp/logfile.

Knowing what we're talking about would be useful too, please post the
command definition in question, ls -l of the script(s) and directories
you're referencing (i.e. the mkdir you tried), etc.

--
Marc

-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
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