nagios list of process IDs must follow -p

Thomas Sluyter nagios at kilala.nl
Fri Jun 23 16:09:23 CEST 2006


On 23 Jun, 2006, at 14:59, REMY Julien wrote:

> In my /etc/init.d/nagios :
>
> 	NagiosPID=`head -n 1 $NagiosRun`
> [ -f $NagiosPID == "" ] && (echo "Something went wrong reading the  
> Nagios PID from $NagiosRunFile; exit 1)

Take out that "-f". That was a mistake of mine and doesn't belong  
there. It was a typo...

Cheers



Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
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