Configure Linux/UNIX Agent

From ServersCheck Wiki

Jump to: navigation, search

Installing and Executing on HP-UX

To install The System Info Listing Server on HP-UX open a new terminal, as shown below.

UNIX openterminal.jpg

Go to directory where is server.c file is copied using UNIX cd (change directory) command, and type the following line.

UNIX gcc.jpg

The following table describes command line parameters necessary for the installation

Parameter Description
gcc GNU C compiler
server.c C file that needs to be compiled
serv Name of the executable


On some UNIX systems, gcc compiler may be installed, but the environment of the user who will be installing this application may not have the necessary environment variables.

In order to run gcc on HP-UX system, the following variables have to be set to run the program type:

PATH=$PATH:/usr/local/bin

UNIX exportpath.jpg

UNIX run.jpg

The next table describes the command line parameters for the program:

Parameter Description
./serv Run serv executable from current directory
> serv.out Redirect output of the program to serv.out file
& Run as a background process


Installing and Executing on SUN SOLARIS

To install The System Info Listing Server on Sun Solaris, open a new terminal as shown below.

File:SUN openterminal.JPG

Go to the directory where server.c file is copied using UNIX cd (change directory) command, and then type the following line:

File:SUN gcc.JPG

The next table describes the command line parameters necessary for the installation:

Parameter Description
gcc GNU C compiler
server.c C file that needs to be compiled
serv Name of the executable
-lsocket Links serv executable with socket library


On some UNIX systems, gcc compiler may be installed, but the environment of the user who will be installing this application may not have necessary environment variables.

In order to run gcc on a Sun Solaris system, the following variables have to be set:

PATH=$PATH:/usr/local/bin

LD_LIBRARY_PATH=$ LD_LIBRARY_PATH:/usr/local/lib

SUN exportpath.jpg

To run the program type:

SUN run.jpg

The next table describes the command line parameters for the program:

Parameter Description
./serv Run serv executable from current directory
> serv.out Redirect output of the program to serv.out file
& Run as a background process


Installing and Executing on LINUX

To install The System Info Listing Server on Linux, open a new terminal as shown below:

LNX openterminal.jpg

Go to directory where server.c file is copied using Linux cd (change directory) command, and then type the following line:

gcc server.c -o serv

The next table describes the command line parameters necessary for the installation:

Parameter Description
gcc GNU C compiler
server.c C file that needs to be compiled
serv Name of the executable
-lsocket Links serv executable with socket library


On some Linux systems, gcc compiler may be installed, but the environment of the user who will be installing this application may not have the necessary environment variables. In order to run gcc on a Linux system, the following variables have to be set to run the program type:

PATH=$PATH:/usr/bin

File:LNX gcc.jpg

LNX run.jpg

The next table describes the command line parameters for the program:

Parameter Description
./serv Run serv executable from current directory
> serv.out Redirect output of the program to serv.out file
& Run as a background process


The latest Linux Agent release can be found in the add-ons subdirectory of the main folder of the trial version of the ServersCheck Monitoring Software.

Personal tools