Home Home Archive Archive



FEB 1ST, 2010
munin plugin multi_http_responsetime doesn't recognize dead servers

Here’s a patch: # diff -u multi_http_responsetime.orig multi_http_responsetime --- multi_http_responsetime.orig 2010-02-01 10:13:22.000000000 +0100 +++ multi_http_responsetime 2010-02-01 10:30:23.000000000 +0100 @@ -16,6 +16,9 @@ use Time::HiRes qw( time ); use IO::Socket; +$FAILED=0; +$INFINITE=999999; + # ----- config ----- push(@url_array, "http://www.google.de"); push(@url_array, "http://www.t-online.de"); @@ -34,7 +37,7 @@ PeerPort => 80, Proto => 'tcp' ); - return(0) unless ($sock); + return($FAILED) unless ($sock); print $sock "GET $baseurl HTTP/1.1\nHost: $vhost\nConnection: close\n\n"; while (<$sock>) { $data . Read on


JAN 23RD, 2010
Chopped up SIP

Since upgrading to Karmic I had the problem under Ubuntu that SIP calls under Twinkle would start get all chopped up every few minutes. Turns out it’s NetworkManager that scans the wireless spectrum every two minutes for networks even if you are allready connected to some AP. While people seem to be fixing the problem in the proper way, by making scanning interfere less with an active connection, there’s a good soul that provides patched versions of NetworkManager that gives up scanning while there’s an active connection to an AP. Read on


JAN 19TH, 2010
Rack::Monitor

It can be integrated in any Rack based appication. Sample configuration for Ruby on Rails: config.middleware.use Rack::Monitor, :url => '/rack_status', :watch => ['/', '/ping'] The collected statistical values can be accessed at /rack_status. It is recommended to limit access to this path with our contributed middleware Rack::Access from rack-contrib. Sample munin output: Read on


JAN 19TH, 2010
removing gnome-screensaver

In https://bugs.launchpad.net/bugs/509411 I had the problem, that locking the screen would just not work any more. It turned out that gnome-screensaver must be perpetualy runnung in the background in order to be able to lock the screen. Also this would affect the computer not locking the screen when suspending. It might be that Gnome/Ubuntu are user-friendly, however the bloat is starting to annoy me. Why do I need to be running 214 processes, when the only thing that is actually being used is firefox and a terminal? Read on


JAN 15TH, 2010
osgEarth for Ubuntu

osgviewer sample call: OSG_FILE_PATH=/usr/share/osgearth osgviewer --window 50 50 900 700 /usr/share/osgearth/maps/srtm.earth Press ‘h’ for help. See also OSG Wiki osgearth_simple sample call: OSG_FILE_PATH=/usr/share/osgearth osgearth_simple --window 50 50 900 700 /usr/share/osgearth/maps/geopole.earth Press ‘1’-‘5’ for predefined viewpoints. Drag mouse with left+right click for tilt. Read on
← Older Blog Archives Newer →

    Recent Posts

  • Gedanken zur Zukunft von Interlis
  • FOSS4G Europe 2025 Mostar
  • Qgiscloud Db Connection Error
  • How to configure unattended-upgrades of packages from third party deb package repos

    Archive

  • 2025 7
  • 2024 5
  • 2023 7
  • 2022 6
  • 2021 8
  • 2020 6
  • 2019 10
  • 2018 3
  • 2017 3
  • 2016 4
  • 2015 7
  • 2014 9
  • 2013 17
  • 2012 13
  • 2011 29
  • 2010 26
  • 2009 17
  • 2008 9
  • 2007 4
  • 2006 18
  • 2005 2
  • 2004 8
  • 2003 22
  • 2002 5
  • 2001 6

    Categories

  • geo 107
  • linux 74
  • postgis 2
  • programming 36
  • qgis 70
  • qgiscloud 15

Copyright © 2001-2025 Sourcepole AG