Anyone using RedHat 8.0 with Nagios 1.0?

nagios nagios at broadbus.com
Fri Jan 17 21:54:55 CET 2003


The nagios script is there in /etc/init.d however when I try and run it
I get the error:

Starting network monitor: nagios
ps: error: List of process IDs must follow -p.
usage: ps -[Unix98 options]
       ps [BSD-style options]
       ps --[GNU-style long options]


I think the error in my script has to do with line 46 on the script in
which it calls the Nagios prcoess ID variable (NagiosPID) when it does a
status check to see if it is running it can't find what NagiosPID is.
Like I said I haven't changed the script at all form the Nagios canned
one I just am not a good enoughscripter to know how to fix it.

Thanks!

-----Original Message-----
From: jgking at packetstorm.org [mailto:jgking at packetstorm.org] 
Posted At: Friday, January 17, 2003 3:41 PM
Posted To: nagios
Conversation: [Nagios-users] Anyone using RedHat 8.0 with Nagios 1.0?
Subject: RE: [Nagios-users] Anyone using RedHat 8.0 with Nagios 1.0?


Im not sure about the start and stop script per se but if your worried 
about it not starting on boot until you get the script working with RH 8

you can always add it to the /etc/rc.local file

Also check /etc/init.d and see if the nagios file is there

then try and let chkconfig set it up (assuming script is named nagios):

chkconfig nagios on




On Fri, 17 Jan 2003, nagios wrote:

> Are you able to use the "nagios start" and "nagios stop" commands to
> start and stop the service from /etc/init.d?
> 
>  
> 
> For some reason my script (straight from the installation w/ no
> modifications) doesn't work properly so I am trying to compare it to
> someone elses. Any help is greatly appreciated!
> 
>  
> 
> Thanks,
> 
>  
> 
> Sunil
> 
> sunil at broadbus.com
> 
>  
> 
>  
> 
>  
> 
> -----Original Message-----
> From: Williams, P. Lane [mailto:Lane.Williams at jhuapl.edu] 
> Posted At: Friday, January 17, 2003 3:02 PM
> Posted To: nagios
> Conversation: [Nagios-users] Anyone using RedHat 8.0 with Nagios 1.0?
> Subject: RE: [Nagios-users] Anyone using RedHat 8.0 with Nagios 1.0?
> 
>  
> 
> yes.
> 
> 	-----Original Message-----
> 	From: nagios [mailto:nagios at broadbus.com]
> 	Sent: Friday, January 17, 2003 2:59 PM
> 	To: nagios-users at lists.sourceforge.net
> 	Subject: [Nagios-users] Anyone using RedHat 8.0 with Nagios 1.0?
> 
> 	 
> 
> 	 
> 
> 	Sunil Mudholkar
> 
> 	Manager - IT
> 
> 	Broadbus Technologies, Inc.
> 
> 	sunilm at broadbus.com 
> 
> 	(978) 264-7910
> 
> 	80 Central St.
> 
> 	Boxborough, MA 01719
> 
> 	 
> 
> 



-------------------------------------------------------
This SF.NET email is sponsored by: Thawte.com - A 128-bit supercerts will
allow you to extend the highest allowed 128 bit encryption to all your 
clients even if they use browsers that are limited to 40 bit encryption. 
Get a guide here:http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0030en




More information about the Users mailing list