[Orca-checkins] rev 211 - in branches/orca/import_orca_services_2.0/data_gatherers: . Orca_Services
sean at seanoneill.info
sean at seanoneill.info
Sun Mar 9 13:10:28 PST 2003
Author: sean at seanoneill.info
Date: 2003-03-09 13:10:09 -0800 (Sun, 09 Mar 2003)
New Revision: 211
Added:
branches/orca/import_orca_services_2.0/data_gatherers/Orca_Services/
branches/orca/import_orca_services_2.0/data_gatherers/Orca_Services/Orca_Services.cfg.in
branches/orca/import_orca_services_2.0/data_gatherers/Orca_Services/Orca_Services.pl.in
branches/orca/import_orca_services_2.0/data_gatherers/Orca_Services/Orca_Services_running.pl.in
branches/orca/import_orca_services_2.0/data_gatherers/Orca_Services/S99Orca_Services.sh.in
branches/orca/import_orca_services_2.0/data_gatherers/Orca_Services/restart_Orca_Services.sh.in
branches/orca/import_orca_services_2.0/data_gatherers/Orca_Services/start_Orca_Services.sh.in
branches/orca/import_orca_services_2.0/data_gatherers/Orca_Services/stop_Orca_Services.sh.in
Removed:
branches/orca/import_orca_services_2.0/data_gatherers/orca_services/
Modified:
branches/orca/import_orca_services_2.0/data_gatherers/Orca_Services/Makefile.in
branches/orca/import_orca_services_2.0/data_gatherers/Orca_Services/README
Log:
In branches/orca/import_orca_services_2.0:
Moved:
data_gatherers/orca_services/
-> data_gatherers/Orca_Services/
Log:
* Moved data_gathers/orca_services/ to data_gathers/Orca_Services/
Copied: Orca_Services (from rev 207, branches/orca/import_orca_services_2.0/data_gatherers/orca_services)
Copied: start_Orca_Services.sh.in (from rev 210, branches/orca/import_orca_services_2.0/data_gatherers/orca_services/start_Orca_Services.sh.in)
Modified: branches/orca/import_orca_services_2.0/data_gatherers/Orca_Services/Makefile.in
==============================================================================
--- branches/orca/import_orca_services_2.0/data_gatherers/orca_services/Makefile.in (original)
+++ branches/orca/import_orca_services_2.0/data_gatherers/Orca_Services/Makefile.in 2003-03-09 13:10:28.000000000 -0800
@@ -13,21 +13,21 @@
RRD_DIR = @RRD_DIR@
INIT_D_DIR = @INIT_D_DIR@
RCX_D_CONTAINING_DIR = @RCX_D_CONTAINING_DIR@
-RAW_ORCA_SERVICES_DIR = $(VAR_DIR)/orca_services
-RRD_ORCA_SERVICES_DIR = $(RRD_DIR)/orca_services
+RAW_ORCA_SERVICES_DIR = $(VAR_DIR)/Orca_Services
+RRD_ORCA_SERVICES_DIR = $(RRD_DIR)/Orca_Services
-BIN_PERL_SCRIPTS = orca_services_running
-LIBEXEC_PERL_SCRIPTS = orca_services
+BIN_PERL_SCRIPTS = Orca_Services_running
+LIBEXEC_PERL_SCRIPTS = Orca_Services
NOINST_PERL_SCRIPTS =
PERL_SCRIPTS = $(BIN_PERL_SCRIPTS) \
$(LIBEXEC_PERL_SCRIPTS) \
$(NOINST_PERL_SCRIPTS)
-BIN_SHELL_SCRIPTS = restart_orca_services \
- stop_orca_services \
- start_orca_services
-LIBEXEC_SHELL_SCRIPTS = orca_services
-NOINST_SHELL_SCRIPTS = S99orca_services
+BIN_SHELL_SCRIPTS = restart_Orca_Services \
+ stop_Orca_Services \
+ start_Orca_Services
+LIBEXEC_SHELL_SCRIPTS = Orca_Services
+NOINST_SHELL_SCRIPTS = S99Orca_Services
SHELL_SCRIPTS = $(BIN_SHELL_SCRIPTS) \
$(LIBEXEC_SHELL_SCRIPTS) \
$(NOINST_SHELL_SCRIPTS)
@@ -39,7 +39,7 @@
LIBEXEC_TARGETS = $(LIBEXEC_PERL_SCRIPTS) \
$(LIBEXEC_SHELL_SCRIPTS)
-all: Makefile $(TARGETS) orca_services.cfg
+all: Makefile $(TARGETS) Orca_Services.cfg
install: all
$(MKDIR) $(bindir)
@@ -55,28 +55,28 @@
echo $(INSTALL) $$file $(libexecdir); \
$(INSTALL) $$file $(libexecdir); \
done
- if test -r $(sysconfdir)/orca_services.cfg; then \
- cp -p $(sysconfdir)/orca_services.cfg $(sysconfdir)/orca_services.cfg.`date +%Y-%m-%d-%H:%M:%S`; \
+ if test -r $(sysconfdir)/Orca_Services.cfg; then \
+ cp -p $(sysconfdir)/Orca_Services.cfg $(sysconfdir)/Orca_Services.cfg.`date +%Y-%m-%d-%H:%M:%S`; \
fi
- $(INSTALL) -m 0644 orca_services.cfg $(sysconfdir)
+ $(INSTALL) -m 0644 Orca_Services.cfg $(sysconfdir)
-orca_services_run_at_boot: all
+Orca_Services_run_at_boot: all
test "$(INIT_D_DIR)"
test "$(RCX_D_CONTAINING_DIR)"
- -$(RM) $(INIT_D_DIR)/orca_services
- -$(RM) $(RCX_D_CONTAINING_DIR)/rc0.d/K01orca_services
- -$(RM) $(RCX_D_CONTAINING_DIR)/rc1.d/K01orca_services
- -$(RM) $(RCX_D_CONTAINING_DIR)/rc3.d/S99orca_services
- $(INSTALL) -m 0744 S99orca_services $(INIT_D_DIR)/orca_services
- ln $(INIT_D_DIR)/orca_services $(RCX_D_CONTAINING_DIR)/rc0.d/K01orca_services
- ln $(INIT_D_DIR)/orca_services $(RCX_D_CONTAINING_DIR)/rc1.d/K01orca_services
- ln $(INIT_D_DIR)/orca_services $(RCX_D_CONTAINING_DIR)/rc3.d/S99orca_services
+ -$(RM) $(INIT_D_DIR)/Orca_Services
+ -$(RM) $(RCX_D_CONTAINING_DIR)/rc0.d/K01Orca_Services
+ -$(RM) $(RCX_D_CONTAINING_DIR)/rc1.d/K01Orca_Services
+ -$(RM) $(RCX_D_CONTAINING_DIR)/rc3.d/S99Orca_Services
+ $(INSTALL) -m 0744 S99Orca_Services $(INIT_D_DIR)/Orca_Services
+ ln $(INIT_D_DIR)/Orca_Services $(RCX_D_CONTAINING_DIR)/rc0.d/K01Orca_Services
+ ln $(INIT_D_DIR)/Orca_Services $(RCX_D_CONTAINING_DIR)/rc1.d/K01Orca_Services
+ ln $(INIT_D_DIR)/Orca_Services $(RCX_D_CONTAINING_DIR)/rc3.d/S99Orca_Services
clean:
$(RM) $(TARGETS)
distclean: clean
- $(RM) *.sh orca_services.cfg orca_services_running.pl Makefile
+ $(RM) *.sh Orca_Services.cfg Orca_Services_running.pl Makefile
.SUFFIXES: .pl .sh
@@ -89,26 +89,26 @@
chmod 0755 $@
Makefile: Makefile.in
- cd ../.. && CONFIG_FILES=data_gatherers/orca_services/Makefile ./config.status
+ cd ../.. && CONFIG_FILES=data_gatherers/Orca_Services/Makefile ./config.status
$(MAKE)
-orca_services.cfg: orca_services.cfg.in
- cd ../.. && CONFIG_FILES=data_gatherers/orca_services/orca_services.cfg ./config.status
+Orca_Services.cfg: Orca_Services.cfg.in
+ cd ../.. && CONFIG_FILES=data_gatherers/Orca_Services/Orca_Services.cfg ./config.status
-orca_services.pl: orca_services.pl.in
- cd ../.. && CONFIG_FILES=data_gatherers/orca_services/orca_services.pl ./config.status
+Orca_Services.pl: Orca_Services.pl.in
+ cd ../.. && CONFIG_FILES=data_gatherers/Orca_Services/Orca_Services.pl ./config.status
-orca_services_running.pl: orca_services_running.pl.in
- cd ../.. && CONFIG_FILES=data_gatherers/orca_services/orca_services_running.pl ./config.status
+Orca_Services_running.pl: Orca_Services_running.pl.in
+ cd ../.. && CONFIG_FILES=data_gatherers/Orca_Services/Orca_Services_running.pl ./config.status
-restart_orca_services.sh: restart_orca_services.sh.in
- cd ../.. && CONFIG_FILES=data_gatherers/orca_services/restart_orca_services.sh ./config.status
+restart_Orca_Services.sh: restart_Orca_Services.sh.in
+ cd ../.. && CONFIG_FILES=data_gatherers/Orca_Services/restart_Orca_Services.sh ./config.status
-start_orca_services.sh: start_orca_services.sh.in
- cd ../.. && CONFIG_FILES=data_gatherers/orca_services/start_orca_services.sh ./config.status
+start_Orca_Services.sh: start_Orca_Services.sh.in
+ cd ../.. && CONFIG_FILES=data_gatherers/Orca_Services/start_Orca_Services.sh ./config.status
-stop_orca_services.sh: stop_orca_services.sh.in
- cd ../.. && CONFIG_FILES=data_gatherers/orca_services/stop_orca_services.sh ./config.status
+stop_Orca_Services.sh: stop_Orca_Services.sh.in
+ cd ../.. && CONFIG_FILES=data_gatherers/Orca_Services/stop_Orca_Services.sh ./config.status
-S99orca_services.sh: S99orca_services.sh.in
- cd ../.. && CONFIG_FILES=data_gatherers/orca_services/S99orca_services.sh ./config.status
+S99Orca_Services.sh: S99Orca_Services.sh.in
+ cd ../.. && CONFIG_FILES=data_gatherers/Orca_Services/S99Orca_Services.sh ./config.status
Copied: Orca_Services.cfg.in (from rev 210, branches/orca/import_orca_services_2.0/data_gatherers/orca_services/Orca_Services.cfg.in)
Modified: branches/orca/import_orca_services_2.0/data_gatherers/Orca_Services/README
==============================================================================
--- branches/orca/import_orca_services_2.0/data_gatherers/orca_services/README (original)
+++ branches/orca/import_orca_services_2.0/data_gatherers/Orca_Services/README 2003-03-09 13:10:28.000000000 -0800
@@ -1,6 +1,6 @@
##
##
-## Orca_services: a log generating services usage monitor
+## Orca_Services: a log generating services usage monitor
##
##
@@ -22,29 +22,29 @@
##
PERL_SCRIPTS
- orca_services_running
- warn if orca_services files are not up to date.
+ Orca_Services_running
+ warn if Orca_Services files are not up to date.
Not changed by canau.
- orca_services
+ Orca_Services
main data collector
SHELL_SCRIPTS
- restart_orca_services
+ restart_Orca_Services
guess!
- stop_orca_services
+ stop_Orca_Services
I'll give you a hint... stopping
- start_orca_services
+ start_Orca_Services
need a hint, look above
- S99orca_services
- used for automatic start of orca_services
+ S99Orca_Services
+ used for automatic start of Orca_Services
Other Files:
- orca_services.cfg
+ Orca_Services.cfg
Configuration of services to monitor
graph details etc
- $libdir/orca_services.$HOSTNAME
+ $libdir/Orca_Services.$HOSTNAME
services can be disabled editing this file.
$libdir defaults to /usr/local/lib
@@ -52,7 +52,7 @@
the switch for input file and setting it to off: ex:
--smtp_logfile=off
- $libdir/orca_services.DB.$HOSTNAME
+ $libdir/Orca_Services.DB.$HOSTNAME
$libdir defaults to /usr/local/lib
auth info for accessing database
SYNTAX: proto:drv:database:user:pass
@@ -75,16 +75,16 @@
make
make install
- * if orca_services should run at boottime
+ * if Orca_Services should run at boottime
- make orca_services_run_at_boot
+ make Orca_Services_run_at_boot
- Most of the skeleton code of orca_services comes from orcallator. So
+ Most of the skeleton code of Orca_Services comes from orcallator. So
everything is very similar.
-4) You might need to edit orca_services to suit your needs. Look for
+4) You might need to edit Orca_Services to suit your needs. Look for
code need the ATTENTION string. You'll probably need to edit
- orca_services.cfg.in.
+ Orca_Services.cfg.in.
###########################################################################
@@ -121,13 +121,13 @@
RADIUS FROM DATABASE
--------------------
-DEFAULT: $def_radius_auth = "/usr/local/lib/orca_services.DB.$nodename";
+DEFAULT: $def_radius_auth = "/usr/local/lib/Orca_Services.DB.$nodename";
DISABLE: --radius_db=off
Reads Radius stop records from Database and do stats. You
might need to change the SQL query in the code. You'll have
- to create the orca_services.DB.$hostname file with the database
+ to create the Orca_Services.DB.$hostname file with the database
options.
MAILQ
Copied: Orca_Services.pl.in (from rev 210, branches/orca/import_orca_services_2.0/data_gatherers/orca_services/Orca_Services.pl.in)
Copied: Orca_Services_running.pl.in (from rev 210, branches/orca/import_orca_services_2.0/data_gatherers/orca_services/Orca_Services_running.pl.in)
Copied: restart_Orca_Services.sh.in (from rev 210, branches/orca/import_orca_services_2.0/data_gatherers/orca_services/restart_Orca_Services.sh.in)
Copied: S99Orca_Services.sh.in (from rev 210, branches/orca/import_orca_services_2.0/data_gatherers/orca_services/S99Orca_Services.sh.in)
Copied: stop_Orca_Services.sh.in (from rev 210, branches/orca/import_orca_services_2.0/data_gatherers/orca_services/stop_Orca_Services.sh.in)
More information about the Orca-checkins
mailing list