EDIT 2021-05-14: Ive added a new post for TrueNAS 12 that can be found here: http://goran.tornqvist.ws/2021/05/14/rar2fs-on-truenas/ This is a quick guide on how I configured rar2fs on my FreeNAS-9.2.1.8 and shared a rar2fs directory using Samba. My disk is mounted on /mnt/vol1. Did some tests on my “a few years old hardware” and I got average file… Continue reading rar2fs on FreeNAS 9.2 embeded
Category: Uncategorized
Merlin Bigscreen – OP5 Monitor Unhandled Problems on big screen TV
A fork of Morten Bekkelunds nagios-dashboard based on the OP5 Monitor API. There is also another fork that uses livestatus that you may want to check out as well: https://kb.op5.com/display/LIVESTATUS/merlin-dashboard Note that in my fork, the html/css and fonts/colors may have changed a lot from the original due to lots of non developers playing around… Continue reading Merlin Bigscreen – OP5 Monitor Unhandled Problems on big screen TV
Internet streaming from your Dreambox using VLC transcoding
UPDATED: I rewritten my PHP scripts and released them on github as “Dreambox Transcoding Manager”: https://github.com/gorantornqvist/dreambox-transcoding-mgr Summary: A web based management tool written in PHP that allows you to start VLC transcoding processes on a linux box that streams the video from Enigma 1 and Enigma 2 dreamboxes in realtime to a quality of your… Continue reading Internet streaming from your Dreambox using VLC transcoding
tcpdump to file with auto-rotation hourly
Good example of a one liner to trace traffic using tcpdump command to log to a file, suitable for running in the background. The file can later be opened in Wireshark. It also rotates the file hourly which makes it quicker to download logs only for a specific time period. This example is listening for… Continue reading tcpdump to file with auto-rotation hourly
Dreambox2Popcorn
Dreambox2Popcorn / Dreambox To Popcorn Stream TV from a Dreambox to a Popcorn Hour. Tested using DM-500 and A-100. Simple script to generate a html file that can be browsed on the Popcorn Hour box to change channel on the Dreambox (installed with Pli Jade image) and to stream the current channel directly from it.… Continue reading Dreambox2Popcorn
Sending snmp traps from shell scripts
This is short post describing a simple way to send snmp traps from shell scripts using net-snmp snmptrap program on Linux systems. Create the below shell script. Make sure you have at least 1 trapsink section in your snmpd.conf #!/bin/sh SNMPCOMMUNITY=public snmptrap() { for traphost in $(cat /etc/snmp/snmpd.conf | grep trapsink | awk ‘{print $2}’)… Continue reading Sending snmp traps from shell scripts
Monitoring VMware Data Recovery using Nagios
This is a modification of some code I found on VMware forums. I´ve added some IF checks and nagios return codes + added a way to call the script from nagios nrpe. (Sorry but I don´t remember where I got the original code now so no contribution list available) The script checks the VMDR log… Continue reading Monitoring VMware Data Recovery using Nagios
Simple backup script for VMware ESX VMs
– UPDATE 2013-02-04 – This is a simple backup script for ESX that I use for backing up my virtual machines on my stand alone ESX server at home. For my data disks I use traditional backup in the OS so I only backup the vmdks containing the OS and exclude the data vmdks where… Continue reading Simple backup script for VMware ESX VMs
Video encoding for different purposes
This is a post for some ffmpeg/mencoder commands for encoding/extracting video/audio etc… Utilities used: ffmpeg: http://www.videohelp.com/tools/ffmpeg mencoder: http://www.videohelp.com/tools/MPlayer # Encoding to AVI/XVID (Also playable by CorePlayer for Windows Mobile) # br=92 means audio bitrate is 92 kb/s # -xy 800 means resolution width is 800 pixels # fixed_quant=5 is quality factor mencoder.exe “Movie.mkv” -oac mp3lame… Continue reading Video encoding for different purposes
uTorrent RSS Downloader and e-mail notification for completed downloads
I recently found the nice feature RSS Downloader in uTorrent where you can choose to download things automatically using RSS. This function lacks one thing – some kind of message or notification when it has started or finished a download. So I created the below Windows Power Shell script that runs every 10 minutes and… Continue reading uTorrent RSS Downloader and e-mail notification for completed downloads