Plugins compile error

Karl DeBisschop karl at debisschop.net
Tue May 13 13:12:13 CEST 2003


On Tue, 2003-05-13 at 06:44, Karl DeBisschop wrote:
> On Tue, 2003-05-13 at 05:47, Voon, Ton wrote:
> > 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'
> 
> I have no problems with build on RH 9 - both for HEAD and r130. I don't
> have any RH 8 systems, but I did at the time 1.3.0 was released, and
> ISTM I tested the build on it as well.
> 
> I note the check below has the value of the ps check cached -- that
> should not be the case in 1.3.0 (actually, I don't think it ever was).
> 
> So this check apparently reuses bad values from a previously cached run?
> 
> Also, on RH9 I get /bin/ps rather than /usr/bin/ps
> 
> I also get /bin/ps on rh 7.2 -- there is no ps in /usr/bin on either box
> -- if I had to guess, i'd say that either this box has been hardened or
> it has been cracked leaving sort sort of root kit.

One other idea - is this an NFS mounted directory that was previously
used to build on some different system?

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