Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am nickchappell on github.
  • I am nickchappell (https://keybase.io/nickchappell) on keybase.
  • I have a public key ASCkpj9awXf8F1XHgl-l4xqotPO1pBDt38qcjZoTzcoESAo

To claim this, I am signing this object:

@nickchappell
nickchappell / gist:31554ed90e2cff241f76
Created December 22, 2015 02:49
vagrant 1.8 vmware error
An unexpected error occurred while loading the Vagrant VMware
provider. Please contact support with the following
error code: '7'.
Vagrant failed to initialize at a very early stage:
The plugins failed to load properly. The error message given is
shown below.
exit
dns_query_flag = l.Cg(
l.P"+" /"recursion requested"
+ l.P"-" /"recursion not requested"
+ l.P"E" /"EDNS used"
+ l.P"S" /"query signed"
+ l.P"D" /"DNSSEC data wanted"
+ l.P"C" /"no DNSSEC validation check"
+ l.P"T" /"TCP used"
, "QueryFlags")
@nickchappell
nickchappell / gist:2af2e574b597212f3f1a
Last active August 29, 2015 14:19
chi-prod-collector-2c.nr-ops.net F5 setup
#Create the node:
create /ltm node chi-prod-collector-2c.nr-ops.net { address 10.1.23.26 }
#Create the 2 pool members, 1 for each JVM:
create /ltm pool collector-157 { members replace-all-with { chi-prod-collector-2c.nr-ops.net:8081 { connection-limit 20000 } } monitor nr-http-status-mongrel }
create /ltm pool collector-158 { members replace-all-with { chi-prod-collector-2c.nr-ops.net:8091 { connection-limit 20000 } } monitor nr-http-status-mongrel }
#Create the virtual servers:
#collector-157 HTTP:
Restarting the Apache and Nagios daemons:
```bash
sudo service httpd restart
sudo service nagios restart
```
Daniel Selans and Didp Kerabat are on-call.
I'll check to see if the Nagios web UI is avaiable and will check to see if the daemons are running.
@nickchappell
nickchappell / gist:1c6fb668be0553e940c9
Created August 25, 2014 21:22
Enterprize word search
N O S H N T C A R T N O C G N I D A E R
O S F Z B V R D A O L T I H S E Z X L P
Y O T N E M N O R I V N E V Y W P Q O B
B F S U P P O R T I N G F R S A T I O D
E T K T A L C K Q S K B L E T W E B K E
Y W O N P E G C C E S M E C E Y R E I G
L A Y A P T H O L T H Y V O M L U G N N
L R E T R A S M A A O I E N R L T G G A
A E R L E R T P I U R Y L F W A C I F H
C V O U H A P A T T T O E I A R U N P C
@nickchappell
nickchappell / influxdb1.local_config.toml
Created July 23, 2014 16:10
InfluxDB cluster configs and logs
# Welcome to the InfluxDB configuration file.
# If hostname (on the OS) doesn't return a name that can be resolved by the other
# systems in the cluster, you'll have to set the hostname to an IP or something
# that can be resolved here.
hostname = "influxdb1.local"
bind-address = "0.0.0.0"
# Once every 24 hours InfluxDB will report anonymous data to m.influxdb.com
@nickchappell
nickchappell / icinga2_host_pupept.pp
Created July 10, 2014 05:24
Icinga 2 module host defined type example
#On the client machines being monitored:
@@icinga2::objects::host { $::fqdn:
display_name => $::fqdn,
ipv4_address => $::ipaddress_eth1,
target_dir => '/etc/icinga2/conf.d/hosts',
target_file_name => "${fqdn}.conf"
}
#on the Icinga 2 monitoring server:
@nickchappell
nickchappell / gist:63c5dffc2c8b791ab64c
Created June 17, 2014 05:34
riemann influxdb config
(let [index (index)]
; Inbound events will be passed to the functions that come after (streams...
(streams
;This is one function. Index all events immediately.
index
;For each distinct host and service combination
(by [:host :service]
;Send events to InfluxDB
(influxdb
(let [index (index)]
; Inbound events will be passed to the functions that come after (streams...
(streams
;This is one function. Index all events immediately.
index
;For each distinct host and service combination
(by [:host :service]
;Send events to InfluxDB
(influxdb