Can't open pipe

Jim Mozley jim.mozley at exponential-e.com
Fri Mar 5 10:29:20 CET 2004


Cal Lidderdale wrote:

> Recompiled on a new machine (alpha)
> 
> running from prompt:  ( nagios -d nagios.cfg ) and the web looks fine.
> When I tell it to "Sche. an Imed. check" it trys to run, but ...
> 
> ../var/status.log contains:
> 
> [1078428014] HOST;npst;DOWN;1078427723;1078418138;0;10;7569;0;1078425372;
>         2;1;1;1;1;0;0.00;0;1;1;Cannot open pipe: (null)
> 
> [1078428014]SERVICE;npst;PING;UNKNOWN;1/3;HARD;1078427723;1078428023;
>        
> ACTIVE;1;1;1;1078418139;0;UNKNOWN;0;7568;0;0;0;0;1;0;0;1;0;0.00;0;1;1;1;
>         Cannot open pipe: (null)
> 
> the ... rw/nagios.cmd file is there permissions look good (accord2docs) 
> and it gets
> timestamped current whenever I run a check.
> 
> aaaaaalp,  I missed something.
> 

On a couple of occasions I've noticed the command pipe seemed to 
disappear. Try stopping Nagios, check that there are no Nagios processes 
  running and then start it again.

Assuming it has never worked, can you fire off a passive command as root 
via the command pipe to see if it is a permission problem?

HTH,

Jim Mozley


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
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