install nagios3 packages: ?View Code BASH1 2 3 $ sudo apt-get update $ sudo apt-get upgrade $ sudo apt-get install nagios3 nagios3-doc config files are located in /etc/nagios3 and /etc/nagios3/conf.d configure your contacts and hosts accordingly. what got me crazy was enabling external commands (needed to perform actions in the webinterface like sending alerts or …
Category Archive: Sysadmin
Dec
15
2010
Dec
09
2010
Using WordPress with SSL
Enable SSL for logins and admin pages in wordpress: http://codex.wordpress.org/Administration_Over_SSL enable SSL on your Apache server: http://osinside.blogspot.com/2007/08/how-to-centos-apache-server-with-ssl.html http://www.debian-administration.org/articles/349 install WordPress HTTPSÂ http://mvied.com/projects/wordpress-https/ check Internal HTTPS Elements check Disable Automatic HTTPS further steps (not tested by me): Enable complete support for SSL on WordPress
Nov
24
2010
Switching to Vim from TextMate
Based on Daniel Fischer’s article i document how i switched to Vim from TextMate after using TextMate for several years. Install MacVim download from https://github.com/b4winckler/macvim/ (use latest snapshot) copy MacVim.app to your /Applications directory copy mvim into your path, change into the unzipped downloaded MacVim-snapshot-xx folder in your Terminal and enter: ?View Code BASH1 $ …
Jun
22
2010
Getting SNMPD to work on Ubuntu
Setting up snmpd on ubuntu seems easy, but i never got it full working. It was working locally, but not for a cacti setup from another server. The problem was that the default install of snmpd on Ubuntu starts the demon on the loopback interface only, refusing connections from other computers. Edit /etc/default/snmpd to fix …
Apr
13
2010
Mar
23
2010
Enable your webserver to feed iPhone with MP4 videos
I’m using iPhone OS 3.x on my iPhone and recently i had problems to get my .mp4 files displayed in mobile Safari. I tried different settings for encoding the files but not a single one worked. When i clicked the link to the .mp4 file in mobile Safari, all i got was the “file can’t …
Feb
01
2010
Using CentOS 5.4 as a Webserver
The first troubles i ran into was SELinux. For the sake of securing your server, it’s a good idea to leave it enabled, but it’s a pain in the ass at the beginning. So start reading the SELinux Manual. rpmforge package repository A lot of useful tools can’t be found with the yum command, because …
Jul
21
2009
Mac OS X 10.5: Setting a custom umask
umask is a UNIX command to set the default permissions for newly created files and folders. Especially when you have to share your files with other users on your computer or on a network share the default umask of 022 which Mac OS X uses is not very handy, it would be better if all …
Jan
03
2009
Re-Flash LaFonera with original Firmware
After playing around with my LaFonera and ddWRT i decided to go back to the original LaFonera firmware. I liked ddWRT for it’s feature-richness, but as my requirements changed i don’t need the router to sit inside the LaFonera and thought it would be good to re-join the fon community
I found most of the commands to achieve this on Stefano Testi’s Blog in this article. I ran into some problems because i tried this on Mac OS X, so i added some steps to this procedure to succeed.
Jul
25
2008
Icecast2 listener statistics script for Cacti
I found a script for cacti to monitor the number of current listeners of an icecast2 server. The script was ok, but had a problem that sources where counted as listeners and it only showed the total number of listeners. I did some work on the script and it now has: – show all listeners …