Skip to content

Instantly share code, notes, and snippets.

View beetlejesss's full-sized avatar

Jes Palmer beetlejesss

View GitHub Profile
@beetlejesss
beetlejesss / Red5-Pro-Stream-Manager.json
Created February 12, 2021 14:48
Red5-Pro-Stream-Manager.json
{
"annotations": {
"list": [
{
"$$hashKey": "object:71",
"builtIn": 1,
"datasource": "-- Grafana --",
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
@beetlejesss
beetlejesss / update_targets.sh
Last active February 12, 2021 14:49
update_targets.sh
#!/bin/bash
######################################## PLEASE MODIFY THEASE PARAMETERS ########################################
SM_DOMAIN="stream-manager.com" # Stream Manager domain name. It is using for API calls to get information about deployed nodes
SM_API_KEY="abc123" # Stream Manager API key. It is using for API calls to get information about deployed nodes
ENVIRONMENT="Prod" # Set your environment. This parameter could be using for select different environment in Grafana WEB applicatioon.
ADDITIONAL_TARGETS=(192.168.1.201 example.com) # In this array you can set additional target hosts like Stream Managers and etc.
@beetlejesss
beetlejesss / 0_reuse_code.js
Created January 20, 2014 15:40
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console