# JANITOR_PARFILE_TIME=2006-09-13 07:58:11 #=> ALL
              #----------------------------------------------------------------------# #=> ALL
              #  * DO NOT REMOVE * DO NOT REMOVE * DO NOT REMOVE * DO NOT REMOVE *   # #=> ALL
              #----------------------------------------------------------------------# #=> ALL
              # This parameter file is used by the program bearing its name. It is   # #=> ALL
              # a generated file.  The master parameter file used to create it is    # #=> ALL
              # 'janitor_master.par'.  Make no permanent alterations to this file    # #=> ALL
              # as any changes not put in the master will be lost the very next      # #=> ALL
              # time a new master is distributed (the master is distributed from     # #=> ALL
              # DMC's source code repository--currently mach1).  Now, here's how     # #=> ALL
              # all this updating is done.                                           # #=> ALL
              #                                                                      # #=> ALL
              # Appended to the end of each significant line in the master monitor   # #=> ALL
              # configuration file is a unique string ('#=> ') followed by ..        # #=> ALL
              #                                                                      # #=> ALL
              #   1. One or more hostnames, or                                       # #=> ALL
              #   2. The word "ALL", or optionally,                                  # #=> ALL
              #   3. The word "ALL" followed by "!"some_hostname ...                 # #=> ALL
              #      (e.g. "#=> ALL !geatoir !solinus"                               # #=> ALL
              #       meaning ALL but geatoir and solinus)                           # #=> ALL
              #                                                                      # #=> ALL
              # That unique string is used by janitor.sh to create a runtime         # #=> ALL
              # parfile mapped specifically for the host on which it runs.           # #=> ALL
              # The actual update is triggered when a difference between the         # #=> ALL
              # "JANITOR_TIME" timestamp line in janitor.par and the master,         # #=> ALL
              # janitor_master.par is detected.  Again, on detecting a difference    # #=> ALL
              # in that timestamp, janitor.sh creates a new runtime parfile from     # #=> ALL
              # the master on its very next run.  (A control file mechanism in       # #=> ALL
              # janitor.sh prevents multiple monitor processes simultaneously        # #=> ALL
              # creating a new parameter file.)                                      # #=> ALL
              #                                                                      # #=> ALL
              # Parameter format is "keyword = value ..." where whitespace           # #=> ALL
              # adjacent to the equal sign is ignored (removed).  Extra whitespace   # #=> ALL
              # among the values is concatenated to single space.  Keywords may be   # #=> ALL
              # specified in any order, but they MUST be in UPPERCASE.  Multiple     # #=> ALL
              # keyword lines are allowed and if present, the associated value is    # #=> ALL
              # assumed to be all of the values presented.  Moreover, parameter      # #=> ALL
              # values (everything to the right of the equal sign) may, contain      # #=> ALL
              # variable names (e.g.  $HOME and $name_root) since those values are   # #=> ALL
              # evaluated during processing.                                         # #=> ALL
              #----------------------------------------------------------------------# #=> ALL
                WORKING_DIR  = /usr/local/etc                            #=> ALL
                LOG_DIR      = /var/logs                                 #=> ALL
                TMP          = /tmp                                      #=> ALL
                SHLIB_PATH   = /usr/local/scripts                        #=> ALL
                SHBIN_PATH   = /usr/local/bin                            #=> ALL
                SUPPORT      = Bob.Orlando@whoever.com                   #=> ALL
                SUPPORT      = dba@whoever.com                           #=> windowsux
                STATUS_FILE  = $working_dir/$name_root.active            #=> ALL
                KEEP_LOGS    = 10  # Process logs to keep on hand        #=> ALL
                FIND_MAX_TM  = 600 # Max time find is allowed to run     #=> ALL !athena
                FIND_MAX_TM  = 900 # Max time find is allowed to run     #=> athena
                RHOSTS_FILES = .rhosts hosts.equiv .srhosts shosts.equiv #=> ALL
                0600_PERMS   = $rhosts_files .forward .netrc             #=> ALL

                MAIL_DIR     = /var/mail                                 #=> ALL !normul.whoever.com !normul
                MAIL_DIR     = /var/spool/mail                           #=> normul.whoever.com normul

                PS_OPTS      = -eaf -o pid,time,args                     #=> ALL
                PS_OPTS      = -aux                                      #=> normul.whoever.com normul

                CRON_DEMON   = /usr/sbin/cron # rm /etc/cron.d/FIFO      #=> ALL !normul.whoever.com
                CRON_DEMON   = crond                                     #=> normul.whoever.com normul

                CRON_STOP    = /etc/init.d/cron stop                     #=> ALL !normul.whoever.com
                CRON_STOP    = /etc/rc.d/init.d/crond stop               #=> normul.whoever.com normul

                CRON_START   = /usr/sbin/cron                            #=> ALL !normul.whoever.com
              # CRON_START   = /etc/init.d/cron start # This fails
                CRON_START   = /etc/rc.d/init.d/crond start              #=> normul.whoever.com normul

                CRONLOG      = /var/cron/log                             #=> ALL !normul.whoever.com
                CRONLOG      = /var/log/cron                             #=> normul.whoever.com normul

                CRONLOG_SIZE = 10000000  # Roll when exceeds             #=> ALL
                CRONLOG_NUM  = 2         # Num backup cron logs          #=> ALL

                WTMP_DIR     = /var/adm                                  #=> ALL
                WTMP_DIR     = /var/log                                  #=> normul.whoever.com normul

                WTMP_SIZE    = 10000000  # Roll when exceeds             #=> ALL
                WTMP_NUM     = 2         # Num backup wtmp logs          #=> ALL

                SYSLOG_DIR   = /var/adm/                                 #=> ALL
                SYSLOG_DIR   = /var/log/                                 #=> normul.whoever.com normul

                SYSLOGS      = ${syslog_dir}messages /var/log/syslog     #=> ALL

                LOGINS       = root daemon bin sys adm lp smtp           #=> ALL
                LOGINS       = uucp nuucp nobody noaccess                #=> ALL
                LOGINS       = sync shutdown halt mail news operator     #=> normul.whoever.com normul
                LOGINS       = games gopher ftp nobody xfs               #=> normul.whoever.com normul
                LOGINS       = gdm squid sdirk krich jhunt dmc           #=> normul.whoever.com normul

                MESSAGES     = /var/adm/messages                         #=> ALL !normul.whoever.com !normul
                MESSAGES     = /var/log/messages                         #=> normul.whoever.com normul

              #----------------------------------------------------------------------#
              # Using FILE_PERMS as a name because this same method might later be   #
              # used for checking several directory's permissions (for example,      #
              # DIR_PERMS    = $working_dir/$name_root.dirperms).                    #
              #----------------------------------------------------------------------#
                FILE_PERMS   = $working_dir/$name_root.fileperms         #=> ALL

              #----------------------------------------------------------------------#
              # WW_ dirs are directories we to scan looking for world-writable files #
              # (and those we exclude from that search -- subdirs within the dirs.   #
              #----------------------------------------------------------------------#
                WW_30_DIRS   = fridge:/home fridge:/export/home          #=> ALL
                WW_DIRS      = /home /export/home                        #=> ALL
                WW_DIRS      = /x/home /y/home /z/home                   #=> ALL
                WW_DIRS      = /usr/informix /informix                   #=> ALL
                WW_DIRS      = /export/home/informix                     #=> ALL
                WW_EXCL_DIRS = /ibes                                     #=> ALL
                MTIME        = 180                                       #=> ALL
                OLD_CORE     =  30                                       #=> ALL

              #----------------------------------------------------------------------#
              # MSGS_BACK are the number of days back we scan /var/adm/messages for  #
              # errors (the string "error").                                         #
              #----------------------------------------------------------------------#
                MSGS_BACK    = 5                                         #=> ALL
                                                                         #=> ALL
                EXCLUDE_FS   = -fstype nfs -prune -o                     #=> ALL
                EXCLUDE_FS   = -name /cdrom -prune -o                    #=> ALL
                EXCLUDE_FS   = -name /proc -prune -o                     #=> ALL
                EXCLUDE_FS   = -name /net -prune -o                      #=> ALL

              #----------------------------------------------------------------------#
              # OPERATIONS requiring options must be specified with the string,      #
              # "_DASH_" (e.g. "df -lk" must be spelled out as "df_DASH_lk").        #
              #----------------------------------------------------------------------#
                OPERATIONS   = /usr/sbin/mount_DASH_p                    #=> ALL
                OPERATIONS   = /usr/bin/df_DASH_lk                       #=> ALL
                OPERATIONS   = $working_dir/prtvtoc.sh                   #=> ALL
                OPERATIONS   = /usr/sbin/vxprint_DASH_l                  #=> ALL
                OPERATIONS   = /usr/local/bin/sar.sh                     #=> ALL !aphrodite-tec
                OPERATIONS   = /bin/cat_SP_/etc/profile                  #=> ALL
                OPERATIONS   = /bin/cat_SP_/etc/passwd_SP_/etc/shadow    #=> ALL
            
Artificial Intelligence is no match for natural stupidity.
©Copyright Bob Orlando, 1995-2011
All rights reserved.
http://www.OrlandoKuntao.com
E-mail: Bob@OrlandoKuntao.com
Last update: Jan. 15, 2011
by Bob Orlando