Problems Running NRPE Client on an HP-UX works tation

Carroll, Jim P [Contractor] jcarro10 at sprintspectrum.com
Mon Oct 7 23:31:23 CEST 2002


Andrew, I don't recall offhand whether I've already suggested this, but...
are you using the GNU C compiler and GNU make?

jc

> -----Original Message-----
> From: Jason Marshall [mailto:jasonm at kelman.com]
> Sent: Monday, October 07, 2002 3:34 PM
> To: Kaplan, Andrew H.
> Cc: 'nagios-users at lists.sourceforge.net'
> Subject: RE: [Nagios-users] Problems Running NRPE Client on an HP-UX
> works tation
> 
> 
> > CHECK_SWAP.C:80 'SWAP_FORMAT' UNDECLARED (FIRST USE IN THIS 
> FUNCTION)
> > CHECK_SWAP.C:80 (EACH UNDECLARED IDENTIFIER IS REPORTED ONLY ONCE
> > CHECK_SWAP.C:80 FOR EACH FUNCTION IT APPEARS IN.)
> > MAKE[1]: *** [CHECK_SWAP.0] ERROR 1
> > MAKE[1): LEAVING DIRECTORY '/TMP/NAGIOSPLUG/PLUGINS'
> > MAKE: *** [ALL RECURSIVE] ERROR 1
> > 
> > What do you make of it?
> 
> Write your own plugin -- these ones are designed for Linux, 
> and don't work
> well anywhere else that i've seen.
>  
> The command to check swap is swapinfo, which should be in 
> your /usr/sbin
> directory on HPUX (maybe that's new for 11.x, but I dunno).
> 
> I no longer have access to HPUX boxes, so I may be of little further
> help...
> 
> > 
> > -----Original Message-----
> > From: Jason Marshall [mailto:jasonm at kelman.com]
> > Sent: Monday, October 07, 2002 12:41 PM
> > To: Kaplan, Andrew H.
> > Cc: 'nagios-users at lists.sourceforge.net'
> > Subject: RE: [Nagios-users] Problems Running NRPE Client on an HP-UX
> > works tation
> > 
> > 
> > No, not problems... You WILL have to recompile anything 
> that is compiled,
> > though.  I write all my plugins in Bourne shell for this 
> very reason.
> > 
> > So, NRPE plus your binary plugins will have to be recompiled.
> > 
> > > The only question is, everything that would be copied 
> over was compiled on
> > a
> > > Red Hat Linux 7.3 x86 box.
> > > The environment the files are going to is an HP-UX 10.20 
> box running on a
> > > non-x86 chip. Would that present
> > > problems?
> > > 
> > > -----Original Message-----
> > > From: Jason Marshall [mailto:jasonm at kelman.com]
> > > Sent: Monday, October 07, 2002 12:29 PM
> > > To: Kaplan, Andrew H.
> > > Cc: 'nagios-users at lists.sourceforge.net'
> > > Subject: RE: [Nagios-users] Problems Running NRPE Client 
> on an HP-UX
> > > works tation
> > > 
> > > 
> > > Even that's overkill.  All you need is the stuff to make 
> NRPE go, and the
> > > plugins that NRPE uses.  That's all you _really_ need.  
> > > 
> > > I personally copy a few other things over, but I don't 
> think you'll need
> > > to (all the config files, mainly, and everything in 
> ~nagios/bin, where I
> > > have some utilities).
> > > 
> > > > If I am reading your previous e-mail correctly, I can 
> proceed with an
> > > > install of the Nagios application minus the Apache 
> server and MySQL
> > > > database. After the core program is installed, the 
> plug-ins along with
> > the
> > > > nrpe client would follow. Is this correct?
> > > > 
> > > > -----Original Message-----
> > > > From: Jason Marshall [mailto:jasonm at kelman.com]
> > > > Sent: Monday, October 07, 2002 12:01 PM
> > > > To: Kaplan, Andrew H.
> > > > Cc: 'nagios-users at lists.sourceforge.net'
> > > > Subject: RE: [Nagios-users] Problems Running NRPE 
> Client on an HP-UX
> > > > works tation
> > > > 
> > > > 
> > > > I maintain the same structure on the clients as on the 
> server, so it's
> > > > easy to rsync things between the server and clients, as 
> required.
> > Doesn't
> > > > matter what structure that is, I'd think, as long as it works.
> > > > 
> > > > > The standard that I have been following is the nrpe 
> daemon and the
> > > > nrpe.cfg
> > > > > file.
> > > > > As far as other config files are concerned, should 
> they be copied into
> > > the
> > > > > libexec 
> > > > > directory or will the nagios directory be sufficient? 
> Also, the files
> > > > would be 
> > > > > coming from an x86 machine with Red Hat Linux 7.3 and 
> they would be
> > > going
> > > > onto a
> > > > > RISC-chip workstation running HP-UX 10.20.
> > > > > 
> > > > > -----Original Message-----
> > > > > From: Jason Marshall [mailto:jasonm at kelman.com]
> > > > > Sent: Monday, October 07, 2002 10:55 AM
> > > > > To: Kaplan, Andrew H.
> > > > > Subject: RE: [Nagios-users] Problems Running NRPE 
> Client on an HP-UX
> > > > > works tation
> > > > > 
> > > > > 
> > > > > The only thing you need on the client is the plugin, 
> and enough stuff
> > > for
> > > > > nrpe to run.  I also copy over the config files 
> because some of my
> > > > > home-made plugins access the config files, but your 
> mileage may
> > vary...
> > > > > 
> > > > > > They came from the original application server. My 
> thinking was
> > there
> > > > wouldn't
> > > > > > be an issue 
> > > > > > with my copying them from the server to the client. 
> I could download
> > > the
> > > > > entire
> > > > > > program onto
> > > > > > the client machine and then compile the plugins thereafter. 
> > > > > > 
> > > > > > The question I have is, is it necessary for the 
> entire program to be
> > > > > downloaded,
> > > > > > and if so does
> > > > > > the entire program need to remain on the client?
> > > > > > 
> > > > > > -----Original Message-----
> > > > > > From: Jason Marshall [mailto:jasonm at kelman.com]
> > > > > > Sent: Monday, October 07, 2002 10:39 AM
> > > > > > To: Kaplan, Andrew H.
> > > > > > Cc: 'Carroll, Jim P [Contractor]';
> > nagios-users at lists.sourceforge.net
> > > > > > Subject: RE: [Nagios-users] Problems Running NRPE 
> Client on an HP-UX
> > > > > > works tation
> > > > > > 
> > > > > > 
> > > > > > > I tried step one as a "regular" user and I 
> encountered the error
> > > > message:
> > > > > > > 
> > > > > > > EXEC FORMAT ERROR. BINARY FILE NOT EXECUTABLE.
> > > > > > 
> > > > > > Where did you get these binaries?  It doesn't look 
> like you compiled
> > > > them
> > > > > > on this machine (or one with the same OS level and 
> architecture)...
> > > > > > 
> > > > > > ---
> > > > > > Jason Marshall, Unix Geek, Kelman Technologies, 
> Inc., Calgary, AB,
> > > > Canada.
> > > > > > 
> > > > > >   From a Sun Microsystems bug report (#4102680):
> > > > > >     "Workaround: don't pound on the mouse like a 
> wild monkey."
> > > > > > 
> > > > > >   "I have great faith in fools: 
> > > > > >      Self confidence my friends call it."  -Edgar Allan Poe
> > > > > > 
> > > > > > 
> > > > > > 
> > > > > 
> > > > > ---
> > > > > Jason Marshall, Unix Geek, Kelman Technologies, Inc., 
> Calgary, AB,
> > > Canada.
> > > > > 
> > > > >   From a Sun Microsystems bug report (#4102680):
> > > > >     "Workaround: don't pound on the mouse like a wild monkey."
> > > > > 
> > > > >   "I have great faith in fools: 
> > > > >      Self confidence my friends call it."  -Edgar Allan Poe
> > > > > 
> > > > > 
> > > > 
> > > > ---
> > > > Jason Marshall, Unix Geek, Kelman Technologies, Inc., 
> Calgary, AB,
> > Canada.
> > > > 
> > > >   From a Sun Microsystems bug report (#4102680):
> > > >     "Workaround: don't pound on the mouse like a wild monkey."
> > > > 
> > > >   "I have great faith in fools: 
> > > >      Self confidence my friends call it."  -Edgar Allan Poe
> > > > 
> > > > 
> > > 
> > > ---
> > > Jason Marshall, Unix Geek, Kelman Technologies, Inc., 
> Calgary, AB, Canada.
> > > 
> > >   From a Sun Microsystems bug report (#4102680):
> > >     "Workaround: don't pound on the mouse like a wild monkey."
> > > 
> > >   "I have great faith in fools: 
> > >      Self confidence my friends call it."  -Edgar Allan Poe
> > > 
> > > 
> > 
> > ---
> > Jason Marshall, Unix Geek, Kelman Technologies, Inc., 
> Calgary, AB, Canada.
> > 
> >   From a Sun Microsystems bug report (#4102680):
> >     "Workaround: don't pound on the mouse like a wild monkey."
> > 
> >   "I have great faith in fools: 
> >      Self confidence my friends call it."  -Edgar Allan Poe
> > 
> > 
> 
> ---
> Jason Marshall, Unix Geek, Kelman Technologies, Inc., 
> Calgary, AB, Canada.
> 
>   From a Sun Microsystems bug report (#4102680):
>     "Workaround: don't pound on the mouse like a wild monkey."
> 
>   "I have great faith in fools: 
>      Self confidence my friends call it."  -Edgar Allan Poe
> 
> 
> 
> 
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> 


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf




More information about the Users mailing list