Yes you're right. I've cleared out the issue. It's not something about
Nagios but nagiosQL. While it tries to insert the command to DB, some
characters are being modified, so because the arguments that are passed
to script were wrog, script cant be executed.
Sorry about this, but thanks all who commented.

Have a nice weekend.

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Marc
Powell
Sent: Saturday, December 08, 2007 12:09 AM
To: Nagios Users mailinglist
Subject: Re: [Nagios-users] notification command



> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:nagios-users-
> [EMAIL PROTECTED] 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@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

************************************************************************
The information contained in this message or any of its attachments may be 
confidential and is intended for the exclusive use of the addressee(s).  Any 
disclosure, reproduction, distribution or other dissemination or use of this 
communication is strictly prohibited without the express permission of the 
sender.  The views expressed in this email are those of the individual and not 
necessarily those of Sony or Sony affiliated companies.  Sony email is for 
business use only.

This email and any response may be monitored by Sony to be in compliance with 
Sony’s global policies and standards

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

Reply via email to