Most of the commands are just Linux commands. However some are unique to the UDM/UDM-P.
Cisco/EdgeOS/VyOs Command/Best description | UDM/UDM-P SSH Command |
---|---|
show version | info |
show system hardware and installed software | ubnt-device-info summary |
NOTES: | |
The switch does not have an on/off state. The states I am mostly concerned about is "Open" and "Closed". | |
There are also "Opening" and "Closing" but they are unreliable. It is also listed as a 'cover': cover.garage-door | |
Right now, I believe that it is always displaying the else statement. When simulating the open or | |
closed state, the card does not display the animation. It just swapps the card colors with the | |
'door closed' (else) icon. | |
-------------------- |
Most of the commands are just Linux commands. However some are unique to the UDM/UDM-P.
Cisco/EdgeOS/VyOs Command/Best description | UDM/UDM-P SSH Command |
---|---|
show version | info |
show system hardware and installed software | ubnt-device-info summary |
PUT _ingest/pipeline/plex | |
{ | |
"processors": [ | |
{ | |
"set": { | |
"field": "event.module", | |
"value": "plex", | |
"ignore_failure": true | |
} | |
}, |
Moving forward, updates to this subflow will be found at the following repository: https://github.com/sstratoti/actionable-notifications-subflow-for-ios
let widget = await createWidget(); | |
if (!config.runsInWidget) { | |
await widget.presentSmall(); | |
} | |
Script.setWidget(widget); | |
Script.complete(); | |
async function createWidget(items) { |
title | date | draft | categories | tags | thumbnail | ||||
---|---|---|---|---|---|---|---|---|---|
Using Let's Encrypt Certificates with Unifi |
2018-04-25 |
false |
|
|
/images/2018/04/lets-encrypt-logo.png |
Let's Encrypt is a great service that automates deployment and renewal of SSL certificates, at a bargain price. For most situations where you have a regular OS, the default Certbot Acme client works well. However for more embedded solutions, like Ubiquiti's Unifi Cloudkey this is not an option as there is no full Linux OS. After researching a few of the alternative options, Acme Shell was the clear winner. It runs using the Bourne shell, and has Unifi support built in.
As part of helping a customer develop their proof of concept monitoring system with Sensu Enterprise, I worked up a mutator which uses stash data to determine if an event occurred within a pre-defined maintenance window.
The idea here is that event data needs to be annotated to indicate whether an event occurred during a scheduled maintenance window for SLA reporting purposes. With this added downtime context, events logged to an external source (e.g. greylog, elasticsearch) via Sensu Enterprise event bridge should provide enough information to determine whether or not a client's check result matches a scheduled downtime window.
Please note that I have done very little in the way of testing so this plugin is not likely to be very robust. Since this mutator probably needs to be applied to every event, it should probably be implemented as an extension before being put into a production system.
# OSX for Hackers (Mavericks/Yosemite) | |
# | |
# Source: https://gist.github.com/brandonb927/3195465 | |
#!/bin/sh | |
# Some things taken from here | |
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx | |
# Ask for the administrator password upfront |
#!/usr/bin/env ruby | |
require 'rubygems' if RUBY_VERSION < '1.9.0' | |
require 'sensu-handler' | |
require 'hipchat' | |
require 'timeout' | |
module Sensu::Extension | |
class Hipchat < Handler # Sub-class the appropriate extension type |
Title: | Senior Systems Engineer |
Company: | Tropo Inc. |
Reports to: | Director of Platform Operations |
Job Type: | Permanent 40 hours per week plus On-Call shift rotation |
Location: | Atlanta, GA / Remote |