- Small gathering at Chez McDonnell, to celebrate how far we've come in the last year.
- The project has taken on a life of its own.
- Regularly getting mentioned on twitter, in a completely organic way.
- Found two examples (Ubuntu server and ATS mailing lists) where people are using OpsSchool as examples on how to do documentation well! Where did this come from?!
- Some stats, from Google Analytics for ~Q4, compared to ~Q3:
- Average visit duration is up (3mins, vs 2mins 18secs).
- Pages per visit is up (3, vs 2.5).
- Unique visitors is down (7.3k vs 11.2k) but this is OK! We had a huge spike in July which threw this off. Otherwise this is more comparable.
- A lot of traffic is "direct" (probably things like the Devops newsletter, etc), followed closely by Google, then twitter, reddit and my blog post on "So y ou want to be a systems administrator?" (which should have read "operations engineer", but the old title is familiar to people).
- Popular pages are the introduction followed by "sysadmin 101"
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"template": "logstash-*", | |
"settings" : { | |
"number_of_shards" : 180, | |
"number_of_replicas" : 1, | |
"index.refresh_interval" : "5s", | |
"index.routing.allocation.total_shards_per_node" : 4, | |
"index.search.slowlog.threshold.query.warn": "100ms", | |
"index.search.slowlog.threshold.fetch.warn": "100ms", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"bufio" | |
"fmt" | |
"github.com/saintienn/go-spamc" | |
"io/ioutil" | |
"log" | |
"os" | |
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Keybase proof | |
I hereby claim: | |
* I am avleen on github. | |
* I am avleen (https://keybase.io/avleen) on keybase. | |
* I have a public key whose fingerprint is 1ABD 5DE1 7C47 21B5 4B71 AEC7 F262 CCCC 12B5 B5BD | |
To claim this, I am signing this object: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
A multi-threaded process which listens on port 80 for connections from yum, apt, npm, gem, etc. | |
It recognises the kind of request made (yum, apt, npm, gem) automatically and responds accordingly. | |
If a requested package is available locally, it is served. | |
If not, it is fetched from a configured list of upstream servers, cached and served. | |
On a regular basis, the process retreives a package list (eg, Repodata.xml) from its upstream servers, | |
and merges it with a list of local packages. | |
Users provide mappings for where to point for each repo (eg: cent 7, cent 7 updates, npm, etc). Eg: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ "comment": " | |
## We have a lot of data (~2Tb/day), and ~12 ES nodes, so we set the number of | |
## shards to 10, to distribute the logs roughly evenly. If you have less data, | |
## use fewer shards. | |
## It doesn't really make sense to have more shards, than you have servers. | |
## | |
## The index.routing.allocation.require.tag is used internally to make new | |
## indices on fast hardware. We run a nightly cron which moves older indices | |
## to slower hardware: https://gist.github.com/avleen/ecfb48f49d260b25e45e | |
## |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl localhost:9200/_all/_search -d '{ | |
"size" : 10000, | |
"query": { | |
"function_score": { | |
"query": { "query_string": { "query" : "*" }}, | |
"random_score": { | |
"seed": 1379333621000 | |
} | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2013-10-23 16:27:01.262290 +0000 : 24762 : omnipitr-monitor : FATAL : Running [select pg_xlogfile_name(pg_current_xlog_location())] via psql failed: $VAR1 = { | |
2013-10-23 16:27:01.262290 +0000 : 24762 : omnipitr-monitor : FATAL : 'stderr' => 'psql: could not connect to server: No such file or directory | |
2013-10-23 16:27:01.262290 +0000 : 24762 : omnipitr-monitor : FATAL : Is the server running locally and accepting | |
2013-10-23 16:27:01.262290 +0000 : 24762 : omnipitr-monitor : FATAL : connections on Unix domain socket "/tmp/.s.PGSQL.5910"? | |
2013-10-23 16:27:01.262290 +0000 : 24762 : omnipitr-monitor : FATAL : ', | |
2013-10-23 16:27:01.262290 +0000 : 24762 : omnipitr-monitor : FATAL : 'status' => 512, | |
2013-10-23 16:27:01.262290 +0000 : 24762 : omnipitr-monitor : FATAL : 'stdout' => '', | |
2013-10-23 16:27:01.262290 +0000 : 24762 : omnipitr-monitor : FATAL : 'error_code' => 2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ViM | |
Emacs | |
Terminal multiplexers (screen / tmux) | |
iptables (filtering, NAT, etc), or other packet filters | |
Dealing with security incidents (forensics, reactions, etc) | |
Anything to do with Windows *at all*. | |
How TCP and UDP work | |
Setting up a web server (apache probably) and how HTTP works | |
Setting up a mail server and how SMTP works | |
Setting up LDAP for centralised auth |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# Automatically generated make config: don't edit | |
# Linux/x86_64 3.0.46 Kernel Configuration | |
# | |
CONFIG_64BIT=y | |
# CONFIG_X86_32 is not set | |
CONFIG_X86_64=y | |
CONFIG_X86=y | |
CONFIG_INSTRUCTION_DECODER=y | |
CONFIG_OUTPUT_FORMAT="elf64-x86-64" |
NewerOlder