Plugins compile error

Voon, Ton Ton.Voon at egg.com
Tue May 13 11:47:37 CEST 2003


Can you please try the 1.3.0 bugfix and the HEAD version of nagiosplug at
http://nagiosplug.sourceforge.net/snapshot/

If these do not work, can you take a look at configure.in where it is
running ps commands and suggest a suitable ps syntax to use for Redhat 8. It
should be something like: ps -weo 'stat comm vsz rss user uid ppid args'

Ton

> -----Original Message-----
> From:	Cabrera, Nestor (Contractor) [SMTP:CabreraN at southcom.disa.mil]
> Sent:	Monday, May 12, 2003 5:48 PM
> To:	'Ewan Leith'; nagios-users at lists.sourceforge.net
> Subject:	RE: [Nagios-users] Plugins compile error
> 
> You might be right. I ran configure again (./configure
> --prefix=/usr/local/nagios --with-nagios-user=nagios
> --with-nagios-group=nagios) to see if an error came up and half way down
> got
> the following:
> 
> checking for strtol... (cached) yes
> checking for strtoul... (cached) yes
> checking for type of socket size... int
> checking for ps... (cached) /usr/bin/ps
> ** Unable to find usable ps syntax
> 
> The rest seem to have had no error. I don't think I'll be using that
> plugin
> so in case I can't get it to work, is it possible to skip it during
> compile?
> 
> -----Original Message-----
> From: Ewan Leith [mailto:ejl at man.fwltech.com]
> Sent: Monday, May 12, 2003 11:41 AM
> To: 'Cabrera, Nestor (Contractor)'; nagios-users at lists.sourceforge.net
> Subject: RE: [Nagios-users] Plugins compile error
> 
> 
> does running ./configure before the make all give you any errors? it
> sounds
> like it's not finding ps on your system for some reason.
> 
> Ewan
> 
> > -----Original Message-----
> > From: Cabrera, Nestor (Contractor) [mailto:CabreraN at southcom.disa.mil]
> > Sent: 12 May 2003 14:41
> > To: nagios-users at lists.sourceforge.net
> > Subject: [Nagios-users] Plugins compile error
> > Importance: Low
> > 
> > 
> > When compiling the Nagios 1.3.0 Plugins on RedHat 8.0 I receive the
> > following error:
> > 
> > $ make all
> > gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -I. -I. -I. -I. -I.. 
> > -I../lib        -g
> > -O2 -c check_p
> > rocs.c
> > check_procs.c: In function `main':
> > check_procs.c:106: `PS_COMMAND' undeclared (first use in this 
> > function)
> > check_procs.c:106: (Each undeclared identifier is reported only once
> > check_procs.c:106: for each function it appears in.)
> > check_procs.c:123: `PS_FORMAT' undeclared (first use in this function)
> > make: *** [check_procs.o] Error 1
> > 
> > Is this an indication of something missing on my machine? 
> > Thanks for your
> > help.
> 


This private and confidential e-mail has been sent to you by Egg.
The Egg group of companies includes Egg Banking plc
(registered no. 2999842), Egg Financial Products Ltd (registered
no. 3319027) and Egg Investments Ltd (registered no. 3403963) which
carries out investment business on behalf of Egg and is regulated
by the Financial Services Authority.  
Registered in England and Wales. Registered offices: 1 Waterhouse Square,
138-142 Holborn, London EC1N 2NA.
If you are not the intended recipient of this e-mail and have
received it in error, please notify the sender by replying with
'received in error' as the subject and then delete it from your
mailbox.



-------------------------------------------------------
Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara
The only event dedicated to issues related to Linux enterprise solutions
www.enterpriselinuxforum.com

_______________________________________________
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