This is an example of how to run openITCOCKPIT within a Docker Swarm cluster. To share the volumes between the swarm nodes, NFS is used.
apt-get install nfs-kernel-server
= Some yum usage for people who know "apt" = | |
If you are familiar with the apt package manager on Debian/Ubuntu this page should help you transfer your knowledge to working with yum on Fedora/RHEL/CentOS/etc. | |
Note that this page as currently written is by non-apt experts, so there may be some mistakes. | |
== General points == | |
* Speed: | |
* data/CPU: apt on Debian deals with roughly ~37,000 packages[1] and an extra 6,500 "provides"[2]. yum on Fedora deals with roughly 24,000 packages, 143,000 provides and 3,100,000 file provides. |
# !/usr/bin/python | |
import json | |
import traceback | |
import requests | |
import urllib3 | |
# Tested with Python 3 | |
# Run like: python3 umlauts.py |
#!/bin/bash | |
############ | |
# | |
# This script is nothing special! | |
# It is just copy&paste of the documentation !! | |
# | |
# Usage: | |
# chmod +x statusengine_development_setup.sh | |
# ./statusengine_development_setup.sh |
# openITCOCKPIT nginx default config for Ubuntu Xenial | |
# By Daniel Ziegler <daniel.ziegler@it-novum.com> | |
# Created: 11 Jan. 2017 | |
# | |
# Changelog | |
# + Added phpMyAdmin part | |
# + Added WebSocket Proxy | |
# - Removed unnecessary config parts | |
# + Added HTTP to HTTPS redirect | |
# + Modify for Bionic |
<?php | |
$a = [ | |
1 => ['' => 'Foobar'], | |
2 => ['Bar'], | |
3 => ['Foo'] | |
]; | |
$assertedOutput = [ | |
0 => ['Foo'], | |
1 => ['Bar'], |
# vim:ft=zsh ts=2 sw=2 sts=2 | |
# | |
# agnoster's Theme - https://gist.github.com/3712874 | |
# A Powerline-inspired theme for ZSH | |
# | |
# # README | |
# | |
# In order for this theme to render correctly, you will need a | |
# [Powerline-patched font](https://gist.github.com/1595572). | |
# |
host_name=24a404a5-f485-42d9-bab4-7884ad543436 | |
last_check=1477562797 => Thu Oct 27 12:06:37 CEST 2016 | |
next_check=1477931604 => Mon Oct 31 17:33:24 CET 2016 | |
check_options=0 | |
current_attempt=1 | |
max_attempts=3 | |
normal_check_interval=7200.000000 | |
retry_check_interval=7200.000000 | |