Skip to content

cullorblind/random-scripts

Repository files navigation

random-scripts

  • aprxlogcolor.pl - hacked up logcolor.pl to do aprx logs.
  • aprxlogcolor2.pl - hacked up logcolor.pl to do aprx logs. Added local digis array.
  • aprx-rf.sec - Monitor aprx rf log for 15 minute inactivity of packets received from TNC and call notify-slack if there's a problem.

Example of aprslogcolor2.pl

  • mcManage-rsync.sh - Minecraft server - Backup script that will pause/resume saving for rsync copy.
  • notify-slack.sh - Notification script for pushing alerts to slack. ** Can attach output of a command. eg. gbf reports/log tail/etc.

Example Slack notification

  • gbf - perl script to generate a report of large files, large directories, and directories with high file counts.

Example gbf report

  • timedlogplayback.py - Python script to time log playback. Written for testing SEC (Simple Event Correlator) rules.

Deprecated

  • rotate-backups.sh - Backup server - Hard link based backup rotation script with s3cmd to keep offsite copies synced.
    • I'm using zfs + snapshots to handle this now.

About

A few random scripts to do various things and stuff.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published