Plugins compile error

Cabrera, Nestor (Contractor) CabreraN at southcom.disa.mil
Mon May 12 18:47:36 CEST 2003


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.
> 
> 
> 
> -------------------------------------------------------
> 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
> 




-------------------------------------------------------
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