nagios plugins compilation tru-64

Voon, Ton Ton.Voon at egg.com
Tue Jan 28 12:13:28 CET 2003


If you are still interested in getting the plugins compiled, it seems that
the df command cannot be found. In the configure output, I think you
probably got:

"unable to find usable df syntax"

You can use the configure flag --with-df_command set to the full path for
TRU64's df command that gives output like:

snail $ df -k
Filesystem            kbytes    used   avail capacity  Mounted on
/dev/dsk/c0t0d0s0    2052750  553778 1437390    28%    /
/proc                      0       0       0     0%    /proc
fd                         0       0       0     0%    /dev/fd
/dev/dsk/c0t0d0s3    1015542   70588  884022     8%    /var
/dev/dsk/c0t0d0s6    6185397   36858 6086686     1%    /logs
/dev/dsk/c0t0d0s4    4127894  215575 3871041     6%    /opt
/dev/dsk/c0t0d0s5    4127894       9 4086607     1%    /systems
swap                 2127944   33640 2094304     2%    /tmp

(from Solaris). 

If you find a command works for you on TRU64, let us know and we'll put it
in CVS.

Ton

> -----Original Message-----
> From:	hrishy [SMTP:hrishys at yahoo.co.uk]
> Sent:	Tuesday, January 28, 2003 10:54 AM
> To:	Voon, Ton; Nagios users list
> Subject:	RE: [Nagios-users] nagios plugins compilation tru-64
> 
> Hi Ton
> 
> Yes my path has the current directory in..it I am
> attaching my config.log file also..which seems to be
> okay now however the make still fails..with the
> following error.I am just wundering wheather anybody
> on the list has the binaries for TRU-64
> 
> cc -DHAVE_CONFIG_H -I. -I. -I. -I. -I. -I. -I. -I.    
> -g -c check_disk.c
> cc: Error: check_disk.c, line 77: In this statement,
> "DF_COMMAND" is not declar)
>  asprintf (&command_line, "%s %s", DF_COMMAND, path);
> ------------------------------------------^
> *** Exit 1
> 
> regards
> Hrishy
> 
> 
>  --- "Voon, Ton" <Ton.Voon at egg.com> wrote: > Hrishy,
> > 
> > 1) Does your PATH have the current directory in it?
> > Not sure if this is a
> > requirement as I would have thought the configure
> > scripts would take care of
> > this
> > 2) What was the configure output for the df checks?
> > 
> > Ton
> > 
> > > -----Original Message-----
> > > From:	hrishy [SMTP:hrishys at yahoo.co.uk]
> > > Sent:	Tuesday, January 28, 2003 9:29 AM
> > > To:	Nagios users list
> > > Subject:	[Nagios-users] nagios plugins compilation
> > tru-64
> > > 
> > > Hi 
> > > 
> > > when i try to compile nagios plugins on tru-64
> > unix i
> > > am geeting the following problems
> > > 
> > > 1)./configure
> > > 
> > > tells me ./config.status: subst.sh: not found
> > wheras
> > > ls shows that subst.sh is right there in the
> > > directory..
> > > 
> > > 2)make all
> > > No suffix list.
> > > Making all in plugins
> > > cc -DHAVE_CONFIG_H -I. -I. -I. -I. -I. -I. -I. -I.
> >    
> > > -g -c check_disk.c
> > > cc: Error: check_disk.c, line 77: In this
> > statement,
> > > "DF_COMMAND" is not declar)
> > >  asprintf (&command_line, "%s %s", DF_COMMAND,
> > path);
> > > ------------------------------------------^
> > > *** Exit 1
> > > Stop.
> > > *** Exit 1
> > > Stop.
> > > 
> > > has anybody compiled nagios plugins on tru-64 ?
> > > 
> > > regards
> > > Hrishy


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.



-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com




More information about the Users mailing list