Skip to content

Instantly share code, notes, and snippets.

View Govinda-Fichtner's full-sized avatar

Govinda Fichtner Govinda-Fichtner

View GitHub Profile
@Govinda-Fichtner
Govinda-Fichtner / Dockerfile.final
Last active October 24, 2023 03:04
WiringPi Dockerfile for the Raspberry Pi
FROM resin/rpi-raspbian:jessie
MAINTAINER Govinda Fichtner <govinda@hypriot.com>
# Install dependencies
RUN apt-get update && apt-get install -y \
git-core \
build-essential \
gcc \
python \
python-dev \
@Govinda-Fichtner
Govinda-Fichtner / HypriotOS boot up protocol
Last active October 8, 2015 15:00
HypriotOS booting up for troubleshooting an issue of dazzag24 at gitter.im
root@black-hole's password:
The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
HypriotOS: root@black-hole in ~
$ date

Keybase proof

I hereby claim:

  • I am govinda-fichtner on github.
  • I am govinda (https://keybase.io/govinda) on keybase.
  • I have a public key whose fingerprint is 8534 8CCA FED1 F20B 8142 0D9C 28C3 4FD2 DC4C EA6F

To claim this, I am signing this object:

2014-05-14 17:24:24,995 DEBUG: org.graylog2.inputs.syslog.SyslogProcessor - Adding received syslog message <d4dcd730-db7b-11e3-92be-005056a6384a> to process buffer: source: 192.168.102.33 | message: app2 apache2: app2.kb.production.qsc.bis: 192.168.102.25 - - [14/May/2014:17:24:24 +0200] "GET /_themes/paessler_theme/style.css HTTP/1.1"200 7079 "http://kb.paessler.com/en/topic/9293-monito (...)
2014-05-14 17:24:24,995 DEBUG: org.graylog2.buffers.processors.ProcessBufferProcessor - Starting to process message <d4dcd730-db7b-11e3-92be-005056a6384a>.
2014-05-14 17:24:24,995 DEBUG: org.graylog2.buffers.processors.ProcessBufferProcessor - Applying filter [Static field appender] on message <d4dcd730-db7b-11e3-92be-005056a6384a>.
2014-05-14 17:24:24,995 DEBUG: org.graylog2.buffers.processors.ProcessBufferProcessor - Applying filter [Extractor] on message <d4dcd730-db7b-11e3-92be-005056a6384a>.
2014-05-14 17:24:24,995 DEBUG: org.graylog2.indexer.Indexer - Deflector index: Bulk indexed 1 messages, took 0 ms, failures:
2014-05-14 16:59:07,614 INFO : org.graylog2.Main - Graylog2 0.20.1 starting up. (JRE: Oracle Corporation 1.7.0_51 on Linux 3.2.0-55-generic)
2014-05-14 16:59:07,699 INFO : org.graylog2.plugin.system.NodeId - Node ID: a8e0e707-afec-4db3-b259-93bf737dd319
2014-05-14 16:59:07,700 INFO : org.graylog2.Core - No rest_transport_uri set. Falling back to [http://10.0.22.4:12900].
2014-05-14 16:59:07,881 INFO : org.graylog2.buffers.ProcessBuffer - Initialized ProcessBuffer with ring size <1024> and wait strategy <BlockingWaitStrategy>.
2014-05-14 16:59:07,899 INFO : org.graylog2.buffers.OutputBuffer - Initialized OutputBuffer with ring size <1024> and wait strategy <BlockingWaitStrategy>.
2014-05-14 16:59:08,201 INFO : org.elasticsearch.node - [graylog2-server] version[0.90.10], pid[16595], build[0a5781f/2014-01-10T10:18:37Z]
2014-05-14 16:59:08,201 INFO : org.elasticsearch.node - [graylog2-server] initializing ...
2014-05-14 16:59:08,206 INFO : org.elasticsearch.plugins - [graylog2-server] loaded [], sites []
2014-05-
mport org.graylog2.plugin.Message
import java.util.regex.Matcher
import java.util.regex.Pattern
/*
Raw Syslog: app2 apache2: app2.kb.production.qsc.bis: 192.168.102.25 - - [13/May/2014:09:52:05 +0200] "GET /en/topic/743-where-can-i-find-mib-files-for-my-device HTTP/1.1"500 616 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/34.0.1847.131 Safari/537.36”
apache2: (.*): (\d+.\d+.\d+.\d+.) (\S*) (\S*) \[(.*)\] "([A-Z]{3,10}) (.*) (.*)"(\d\d\d) (\d*) "(.*)" "(.*)"
virtual host: app2.kb.production.qsc.bis
ip: 192.168.102.25
@Govinda-Fichtner
Govinda-Fichtner / gist:11370085
Created April 28, 2014 12:16
vsphere_guest with yaml dictionary and variables
- name: adjust vm hardware settings
connection: local
hosts:
- all:!virtual_cluster_ip*
user: root
serial: 1
gather_facts: False
tasks:
- vsphere_guest:
vcenter_hostname: 192.168.200.200
@Govinda-Fichtner
Govinda-Fichtner / example.yml playbook
Created February 24, 2014 14:54
behaviour of tags
---
- name: Setup common tasks on all servers
hosts: development
user: root
gather_facts: true
roles:
- { role: 'common', tags: 'common' }
@Govinda-Fichtner
Govinda-Fichtner / Berksfile.lock
Last active December 26, 2015 18:29
Failing "vagrant up" with VMWare Fusion 6.0.1 and Ubuntu 13.04 Guest on a Mac OS X 10.8.5 Host...
{
"sources": {
"apt": {
"locked_version": "1.8.0"
},
"git": {
"locked_version": "2.1.2"
},
"dmg": {
"locked_version": "1.1.0"
Stderr: 'RTNETLINK answers: Network is unreachable\n' execute /opt/stack/quantum/quantum/agent/linux/utils.py:59
2013-07-05 13:17:39.317 25993 ERROR quantum.agent.dhcp_agent [-] Unable to enable dhcp.
2013-07-05 13:17:39.317 25993 TRACE quantum.agent.dhcp_agent Traceback (most recent call last):
2013-07-05 13:17:39.317 25993 TRACE quantum.agent.dhcp_agent File "/opt/stack/quantum/quantum/agent/dhcp_agent.py", line 131, in call_driver
2013-07-05 13:17:39.317 25993 TRACE quantum.agent.dhcp_agent getattr(driver, action)()
2013-07-05 13:17:39.317 25993 TRACE quantum.agent.dhcp_agent File "/opt/stack/quantum/quantum/agent/linux/dhcp.py", line 121, in enable
2013-07-05 13:17:39.317 25993 TRACE quantum.agent.dhcp_agent reuse_existing=True)
2013-07-05 13:17:39.317 25993 TRACE quantum.agent.dhcp_agent File "/opt/stack/quantum/quantum/agent/dhcp_agent.py", line 637, in setup
2013-07-05 13:17:39.317 25993 TRACE quantum.agent.dhcp_agent self._set_default_route(network)
2013-07-05 13:17:39.317 25993 TRAC