Mobile redirects using Varnish
Our loadbalancers TMM has gone up quite a bit lately, so I started looking into how to move some of the workload to Varnish instead. I came across this configexample and pulled out the mobile redirects...
View ArticleOur new dashboard
The old dashboard we used earlier had a couple of issues. It showed all SOFT nagios states and it also listed every service pr host that was down. Since it’s pretty obvious that a service is down on a...
View ArticleNvidia and invalid checksum for EDID (Xorg-issues)
Having troubles installing a DVI splitter through a HDMI converter on our Jira-dashboard i found that the splitter made the EDID(Extended display identification data) fancy automagically validation...
View Article307 Temporary Redirect, to myself. Lets hope the image is done next time around
Funny FAIL-bug in the drupal imagecache module. Last night we had some serious trouble with our sites and witnessed the requests on our loadbalancers going from 1k to 10k pr second. From our graphs we...
View ArticleTest your jumbo frame enabled network with ping
ping -Mdo -s If it works: $ ping -Mdo -s 8001 10.0.20.26 PING 10.0.20.26 (10.0.20.26) 8001(8029) bytes of data. 8009 bytes from 10.0.20.26: icmp_req=1 ttl=64 time=0.450 ms 8009 bytes from 10.0.20.26:...
View ArticleUse screen instead of !”¤#¤”&”# minicom
I didn’t know this until the other day, but how awesome is this – You can use screen to connect to your serial console screen /dev/ttyS0 9600 VOILA – you’re in
View ArticleMonitor Dell servers on Debian Squeeze with Nagios
Im just writing up this post because the dellomsa packages arent working with the new Debian Squeeze 6.0. I had problems with the omreport command not giving me info of ex memory/psu/cpu. (omreport...
View ArticleFun with sudo
Wanna have some fun with sudo? A couple of neat tricks: 1. Insults when you type wrong password: echo "Defaults insults" >> /etc/sudoers When your users type incorrect password they are insulted:...
View Articlegzip support in check_http
If you need gzip support in your nagios check_http plugin, here’s what you need to do. First of all, fetch the latest version (1.4.15) of the nagios-plugins :...
View ArticleHow a nerd monitors his wife’s weight
So I got myself a new bodyscale recently. Ofcourse it had to be something of a gadget so I went for this Withings BodyScale. Withings allready has a nice webpage with graphs and stuff and also a couple...
View ArticleRunning nagios-plugins via saltstack
I’m so sick of maintaining NRPE-config on my servers, and I dont really want root-sshkeys all over the place. Recently I discovered saltstack and started to play with it a bit. I came up with the idea...
View Articlerunning nagiosplugins via saltstacks peer communicationsystem
So …my previous post was similar to this, but you most likely dont want to run the salt-master and nagios on the same server, so I had to find a way to let the nagios-server execute its plugins on...
View ArticleRetrieving files from a broken harddrive on linux
We recently had some trouble with a software raid (raid1 in this case) that was set up with mdadm. Dmesg showed that the drive had errors and so we replaced it. After the disk was replaced the other...
View ArticlePlaying with SaltStack and external classifiers
We have been discussing this a lot lately. How do we structure our SaltStack-config in a way that lets us do changes without possibly breaking abseloutly everything. Finding a good hierarchy is not...
View Article