Updated 13 July 2006

© 2006  LogiQwest, Inc. All rights reserved.

q-Status Logo

Solaris Logo




Custom Setup

Apache Server

SSH Xfer

NFS Xfer

Group Management

Complex Servers

Sun Fire Config

Baseline Comparison

Golden Comparison


FTP Data Collect Setup


A custom installation of q-Status™ can be created which does not use shared disk systems or the automounter to collect data. In this case, FTP can be used in it place.

pkgadd Module

Use of the FTP method requires that portions of the q-Status™ program be installed on the servers individually. A special pkgadd modules is provided and is pre-configured (except for the transfer information). It is called LQWq-Status.pkg and is located in the main q-Status/Goodies directory. This package contains the FTPxfr script. Simply transfer this package over to the server (s) and perform a pkgadd.

# ls
# pkgadd -d LQWq-Status.pkg
The following packages are available:

1  LQWq-Status     q-Status server client collection sub module
			                (sparc,i386) release 2.00

Select package(s) you wish to process (or 'all' to process
all packages). (default: all) [?,??,q]: all

Processing package instance <LQWq-Status> from ......

q-Status server client collection sub module
(sparc,i386) release 5.00
Using </var> as the package base directory.
## Processing package information.
## Processing system information.
## Verifying disk space requirements.
## Checking for conflicts with packages already installed.
## Checking for setuid/setgid programs.

Installing q-Status server client collection sub module as <LQWq-Status>

## Installing part 1 of 1.
[ verifying class <none> ]

Installation of <LQWq-Status> was successful.

This will install these submodules in a directory called /var/q-Status. Data will be collected in /var/q-Status/data. You will need to configure the transfer script as discussed below. You will also need to create an q-Status™ user on both the <server> where data is to be collected and on the <web server> where data will be transferred.

Note: If the package was previously installed, you must remove the package with pkgrm prior to installing the new version. Prior to deleting the package, remove all entries from the /var/q-Status/data directory.

Setting Up the FTP Script

To use the FTP transfer script called FTPxfr it requires that a ftp user login and password be established and a script file placed on a system being monitored. The FTPxfr is located in the /var/q-Status/bin/ directory for this purpose. It must be edited on all servers and the following parameters assigned:


name of q-Status™ web server.


valid loging for FTP file transfer.


password of FTPUSER.


Directory on q-Status™ web server were files are to be sent
(e.g. /var/apache/htdocs/q-Status/data).

After assigning the parameter, uncomment the line in list_configs script located in /var/q-Status/bin/ that contains the call to the FTPxfr script.

# Copyright LogiQwest 2006
# Name: CFGDIR/bin/list_configs
# Version 1.00:21 Dec 2006 Created by Michael Barto
# Purpose: Master programs to call all listing scripts to generate
#          an q-Status database.

DIR=`/usr/bin/dirname $0`

:                 :                 :                 :
:                 :                 :                 :
:                 :                 :                 :
# These item are collected for cluster

# The following scripts are used for either FTP or SSH file transfer
# to the q-Status data directory from a system. Note these scripts
# must be edited prior to using. Comment out the appropriate
# script to use. See "FTPsetup.html" or "SSHsetup.html"
# for more information.
${CFGDIR}/bin/FTPxfr >/dev/null
# ${CFGDIR}/bin/SSHxfr >/dev/null

Data will then be automatically transferred each time the daemon is run to collect data.

Note: The CFGDIR parameters have already been assigned in the pkgadd program for the /var/q-Status/ directory.

Data collected by root on the servers in the list_configs program must be run as root to work properly:

root crontab

0 4,6,8,10,12,14,16,18 * * 1-5 /net/<web server>/var/apache/htdocs/q-Status/bin/list_configs >/dev/null 2>&1