Question about NRPE operation

schönfeld / in-medias-res schoenfeld at in-medias-res.com
Fri Sep 9 13:28:05 CEST 2005


Andreas Ericsson schrieb:
> Make sure the program holding the lock exits gracefully by catching a
> SIGALRM rather than receiving the SIGKILL from nrpe.

Well the problem is: i can't, because the plugin is a script that relies
on reading a specific file which is located on the novell
filesystem. Well - if the problem occurs (with ncpfs) than the command
gets into an infintive wait state, until nrpe sends a SIGKILL. If my
script handles SIGALRM all it can do is do send a KILL signal to the
task which tries to read from the ncpfs and then i would have won
nothing but a broken novell connection.

Anyways: We found a solution. The plugin hangs if novell connection
is busy because of a process which is running constant and reading
from the novell filesystem regulary. We did renice this process and
now we don't have the problem, where the plugin gets into an infitive
wait state. Problem solved.

Greets
Patrick





-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
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