News, views, and rants (August 2007)
[ /home ]
[ /etc/motd ]
[ /bin ]
[ /etc ]
[ /var ]
[ /sbin ]
[ /usr/bin/find ]
[ Members ]
Are you looking for Current News?
Have you arrived via a search engine after searching for /etc/motd? If so,
head over to /etc where there is information about adding
colour to your /etc/motd file!
-
29/08/07 - A large update tonight.
First, I've implemented a few minor bugfixes to
seccheck, bringing the tool up to version 0.7.6 - pick up a copy over at the
Project Page.
Next, 19 new scripts have been uploaded to the Script Repository
provision_zone.sh is an
immensely powerful script to simplify zone configuration on a Solaris 10 system. The script
takes care of mounting common home directories under the zone, setting up a local
configuration file repository, installing configuration files under the zone, as well as
a sysidcfg file for unattended first boot. Also, the script copies a firstboot script into
the zone to configure the zone on first boot (adding user accounts, switching from syslog
to syslog-ng, etc).
configure_pset_pool.sh is used
in conjuntion with provision_zones.sh to set up a FSS processor pool resources for
the zones to use. It also scales the default pool appropriately, and ensures that the default
pool is using TS scheduling.
check_arkeia.sh is a "throw-away"
script I wrote to parse Arkeia backup logs and sort results over a period of time by
hostname, to view trends in backup utilisation.
check_jboss.sh is a Nagios plugin to
check JBoss JVM Free Memory and JBoss Active Thread Counts on remote nodes. It requires that
the scripts jvm_free_mem.sh and
thread_count.sh are installed
on the remote JBoss nodes. An alternative thread count script, using a ps LWP count
instead of twiddle.sh can be found
here.
lsof_process.sh collects lsof output
at any given interval for a specifc PID.
check_lsof.sh can then be used to
parse this data and report on TCP/UDP port status for the process over time.
port_usage.sh is useful where lsof isn't
installed on a Solaris box, and makes use of the "proc" tools to show port usage for all
running processes.
check_mailq.sh is a Nagios plugin for
monitoring the status of a Postfix mail queue.
check_named.sh checks that a process
(named in our case) is running, and alerts if it isn't - cron this for regular checks.
compress-syslogs.sh can be used
on a log server to gzip or bzip old logs older than a specified date. Of course, it can
be applied to any file type. A lighter script that performs a similar function is
bzip_old_logs.sh.
create_config_tar.sh creates a
tar file of specified input files, useful for backing up configuration files.
deploy_zazzybob_external.sh
is a quick rsync script I use to sync up this website before pushing it out to the production
webserver.
force_mailq_purge.sh is a script
to forcibly remove messages from a sendmail mail queue via brute force ;-)
remove_useless_files.sh cleans
up a mail/web server by removing old quarantine and virus mails, as well as Cocoon logs.
pingscan.pl will ping scan a /24 network and
report on host status.
I have over 1000 unsorted tips that I just need to find the time to go through and sort, so
that I can start uploading them to the Tips and Tricks area - if
only there were more hours in a day ;-)
News Archives