Sometimes you need a simple log to know when a site is up or down. Create a script like below and then put it in your crontab.
Category: UNIX Shell Scripts
BASH – Picture / Video File Name Manipulation
Often there are needs to rename a picture or video to help with organizing the files on a computer or in cloud storage. The code below can help to make some organization easier. For those that are not use to the date format used below, it is specifically chosen to…
Bash – Raspberry Pi – OpenMediaVault – Network Storage
Start out with a headless (no GUI) Raspberry Pi OS (Raspbian) With the SD Card still mounted in your computer, create a ssh file to start with SSH enabled (Note: no extension, no text) After a few seconds of letting the SD Card load in the Raspberry Pi find the…
Red Hat / CentOS / Fedora – Splunk – PERL – Apache Server Status
Guide Followed: https://community.splunk.com/t5/Getting-Data-In/Reading-Apache-server-status-output/m-p/48158 First make sure your Apache server-status is setup (assuming you already have Apache/httpd installed) PERL script for scraping the data for SPLUNK Example:
Red Hat / CentOS / Fedora – Apache – Prometheus Metrics
Guides followed: https://machineperson.github.io/monitoring/2016/01/04/exporting-apache-metrics-to-prometheus.html https://www.shellhacks.com/prometheus-apache-exporter-install-config-ubuntu-centos/