Nagios Install on Red Hat 8
by Ramses Soto-Navarro ramses@sotosystems.com, 4/15/2021
Overview
Required Packages
Install Fping
Create Accounts
Install Nagios Core
Install Nagios Plugins
Configure Nagios
Configure Apache
Configure Email
Firewall Rules
Configure Nodes
Add Nodes to Monitor
Logrotate
Configure SNMP Defaults
Test Commands
Node Stress Test
OID List
TODO
Overview
Brief notes on Nagios install on Red Hat Linux 8.x. Provides: SNMP monitoring, Email alerts, web interface. The audience is experienced Linux administrators.
Borg Backup Notes
by Ramses Soto-Navarro, ramses@sotosystems.com
Overview
Install
Quick Start
Daily Script
List Archives
Extract Restore
Delete Archive
Prune
Mount Archive
Export Tarball
Install SSHFS
Remote Restore
Prune
Overview
Brief notes about Borg; an executable for backups with many cool features: deduplication, high compression, encryption, mountable archives, authentication security, offsite backups via SSH, BSD license. Follow the logic; for experienced Linux administrators.
Install
Download latest from: https://github.com/borgbackup/borg/releases
# cd /usr/local/bin # wget https://github.com/borgbackup/borg/releases/download/1.1.16/borg-linux64 # chmod 0755 borg-linux64 # ln -s borg-linux64 borg # borg -h
MyDeny Script
by Ramses Soto-Navarro, ramses@sotosystems.com
Overview
The Script
Cronjob
Remove IP
Overview
mydeny.sh script adds IP addresses to /etc/hosts.deny, which have too many bad SSH login attempts. It is a simple alternative to the older python denyhosts. It searches every night for IP addresses that failed to SSH more than 20 times, via cron. If so then it adds it to hosts.deny. Logging of each denied IP will be sent to /var/log/messages as mydeny.sh. Follow the parsing logic to automatically add more libwrap services to hosts.deny. This document is for experienced Linux administrators.