[Graylog] Graylog sidecar collector ubuntu

Feb. 18, 2018 by

wget https://github.com/Graylog2/collector-sidecar/releases/download/0.1.4/collector-sidecar_0.1.4-1_amd64.deb sudo dpkg -i collector-sidecar_0.1.4-1_amd64.deb sudo graylog-collector-sidecar -service install   Config: lägg till tags… nano /etc/graylog/collector-sidecar/collector_sidecar.yml   server_url: update_interval: 10 tls_skip_verify: true send_status: true list_log_files: node_id: NAMN_PÅ_SERVER collector_id: file:/etc/graylog/collector-sidecar/collector-id cache_path:

Authenticate with Office365 Powershell without passwordprompt

Dec. 21, 2016 by

Start with generating the passwordfile using: read-host -prompt “Enter password” -assecurestring |convertfrom-securestring | out-file C:\MySecretFile.txt $pass = cat C:\MySecretFile.txt | convertto-securestring $mycred = new-object -typename System.Management.Automation.PSCredential -argumentlist “myusername@domain.com”,$pass $pso365sessionoption =

[WordPress] IP restriction for wp-admin and wp-login

Dec. 4, 2016 by

Make sure you have .htaccess enabled on the webserver for given vhost Edit or create .htaccess   <IfModule mod_rewrite.c> RewriteEngine on RewriteCond %{REQUEST_METHOD} POST RewriteCond %{HTTP_REFERER} !^http://(.*)?Example\.com [NC] RewriteCond %{REMOTE_ADDR}

[Windows] Telegram push notifications for PRTG

Dec. 2, 2016 by

Create the bot using Botfather and get the API Token 1. Add the Bot and start a chat 2. Get the chat_id by going to the https://api.telegram.org/bot<tokencode>/getUpdates for example: https://api.telegram.org/bot123456RANDOMLETTERS/getUpdates 3. The

Install CSGO Server on Ubuntu/Debian

Dec. 1, 2016 by

Runing Debian 8 and Ubuntu 14.04 64bit install dependencies apt-get install lib32gcc1 Get SteamCMD Login to steam using “login anonymous” Specify “install_dir” using force_install_dir. “force_install_dir /home/qhrizz/csgo/aim” app_update 740 (740 is csgo)