Skip to content

Instantly share code, notes, and snippets.

@lrfsh
lrfsh / pushover.sh
Last active February 22, 2018 00:37 — forked from kajoik/pushover.sh
Pushover alert script for Zabbix v3.4 or v3.x
#!/bin/bash
### USAGE
# Enter {user_token}@{api_token} as the recipient of the user media type configuration ("Send to")
# Also you need to add three parameters to the Media Type manually:
# {ALERT.SENDTO}
# {ALERT.SUBJECT}
# {ALERT.MESSAGE}
###
#! /bin/bash
#----------------------------------------------------------------------------------------------#
# addMonitorToUptimeRobot.sh v1.0 (#0 2016-05-05) #
# #
# This script will loop through all users on WHM server, #
# retreive associated domains and add them to Uptime Robot #
############################## Modification Log ############################## #
# Date Who Version Description #
# 20160505 KChase 1.0 Initial Release #
@lrfsh
lrfsh / nginx.conf
Created March 6, 2017 21:46 — forked from plentz/nginx.conf
Best nginx configuration for improved security(and performance). Complete blog post here http://tautt.com/best-nginx-configuration-for-security/
# to generate your dhparam.pem file, run in the terminal
openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048