Skip to content

Instantly share code, notes, and snippets.

@DBLaw
DBLaw / gist:4490239
Last active December 10, 2015 20:48
{
"name": "Ignore IPFIX",
"filter": {
"saved_search": "ENTER_THE_ID_FOR_YOUR_DYNAMIC_GROUP",
"not_transport": [
{
"port": 4740,
"protocol": 6
}
]
powershell "ensure-dir" do
code <<-EOH
if (-not (test-path c:/applications)) {
mkdir c:/applications
}
EOH
end
remote_file "c:/applications/boundary.msi" do
source "https://windows-staging.boundary.com/bprobe-current.msi"
#!/usr/bin/env bash
set -o pipefail
##
### Copyright 2011-2013, Boundary
###
### Licensed under the Apache License, Version 2.0 (the "License");
### you may not use this file except in compliance with the License.
### You may obtain a copy of the License at
###
#!/usr/bin/env bash
set -o pipefail
##
### Copyright 2011-2013, Boundary
###
### Licensed under the Apache License, Version 2.0 (the "License");
### you may not use this file except in compliance with the License.
### You may obtain a copy of the License at
###
#!/usr/bin/env bash
set -o pipefail
##
### Copyright 2011-2013, Boundary
###
### Licensed under the Apache License, Version 2.0 (the "License");
### you may not use this file except in compliance with the License.
### You may obtain a copy of the License at
###
connected_clients - Number of client connections (excluding connections from slaves)
keyspace_hits - Number of successful lookup of keys in the main dictionary
keyspace_misses - Number of failed lookup of keys in the main dictionary
expired_keys - Total number of key expiration events
evicted_keys - Number of evicted keys due to maxmemory limit
total_commands_processed - Total number of commands processed by the server
total_connections_received - Total number of connections accepted by the server
used_memory_rss - Number of bytes that Redis allocated as seen by the operating system (a.k.a resident set size). This is the number reported by tools such as top and ps.
curl -X PUT -u <email>:<api-token> 'https://premium-api.boundary.com/v1/plugins/private/boundary-plugin-aws-elb/boundary/boundary-plugin-aws-elb'
curl https://raw.githubusercontent.com/boundary/boundary_scripts/master/setup_meter.sh > setup_meter.sh
chmod +x setup_meter.sh
./setup_meter.sh -s -i <Account API token>
curl https://raw.githubusercontent.com/boundary/boundary_scripts/master/setup_meter.sh > setup_meter.sh
chmod +x setup_meter.sh
./setup_meter.sh -s -i <Account API token> -F CentOS
wget https://raw.githubusercontent.com/boundary/boundary_scripts/master/setup_meter.sh > setup_meter.sh
chmod +x setup_meter.sh
./setup_meter.sh -s -i <Account API token> -F CentOS