On 29.3.2011 14:37, Assaf Flatto wrote:
> First thing - try running the script as the nagios user , this might
> give you more information about why it fails .
>
> if memory serves me right , this script is calling some system calls
> that run in a root privileges space so you may need to sudo the
hello,
i'm not sure about it, but maybe you can try to configure your check command to
put the error messages into a file. you could configure your check command to
something like this:
/usr/local/nagios/libexec/check_email_delivery
2>>/tmp/check_email_delivery.errors
after the check happen
JS wrote:
> On 29.3.2011 13:01, Assaf Flatto wrote:
>
>> JS wrote:
>>
>>> When I run a certain service check on my server via the shell it works
>>> fine.
>>>
>>> However after adding it to Nagios, using exactly the same parameters,
>>> it failes and the message "Service check did not exit
On 29.3.2011 13:01, Assaf Flatto wrote:
> JS wrote:
>>
>> When I run a certain service check on my server via the shell it works
>> fine.
>>
>> However after adding it to Nagios, using exactly the same parameters,
>> it failes and the message "Service check did not exit properly" appears
>> in my N
Hmm, on the script? It's all owned by root currently, everything else
works fine, owned by root:
root@nagios:~# cd /usr/local/nagios/libexec/
root@nagios:/usr/local/nagios/libexec# ls -la check_email*
-rwxr-xr-x 1 root root 38883 2011-03-25 18:00 check_email_delivery
root@nagios:/usr/local/nagios/
JS wrote:
> Hi.
>
> When I run a certain service check on my server via the shell it works
> fine.
>
> However after adding it to Nagios, using exactly the same parameters,
> it failes and the message "Service check did not exit properly" appears
> in my Nagios interface.
>
> How can I debug this?
Did you set the user and group permissions correctly?
>>> JS 2011/03/29 14:29 >>>
Hi.
When I run a certain service check on my server via the shell it works
fine.
However after adding it to Nagios, using exactly the same parameters,
it failes and the message "Service check did not exit properly
Hi.
When I run a certain service check on my server via the shell it works
fine.
However after adding it to Nagios, using exactly the same parameters,
it failes and the message "Service check did not exit properly" appears
in my Nagios interface.
How can I debug this? I've enabled debug logging
On Apr 15, 2009, at 1:48 PM, Livio Zanol Puppim wrote:
> Just to inform, that I've had this problem... After googling it,
> couldn't find an answer. Only a similar problem in the past
>
> Well,
> this has happend to me with a perl script. the problem was a
> "Switch" statement.
> I was using
Just to inform, that I've had this problem... After googling it, couldn't
find an answer. Only a similar problem in the past
Well,
this has happend to me with a perl script. the problem was a "Switch"
statement.
I was using "use Switch;", and the scripts works, as root and as nagios
user, but does
Near as I can tell from the src, nagios logs a failed service check
with "Service check did not exit properly" when it can't execute the
service check plugin.
I keep getting this failure at random, 'bout once a day using
check_snmp_if and I can't discern why.
I first thought it might be a time
11 matches
Mail list logo