Skip to content

Icinga Director and disk checks for fuse mountpoints

When I rolled out my new Icinga2 installation, and added disk checks for all laptops, I ran into a small problem: there is a fuse mountpoint for logged in users which only the user can read. Apparently it has something to do with Flatpack.

cat /proc/mounts | grep doc
/dev/fuse /run/user/1000/doc fuse rw,nosuid,nodev,relatime,user_id=1000,group_id=1000 0 0

By default, the Icinga2 ITL has a number of file system types excluded for the "check_disk" check, even some special fuse types, but plain "fuse" is not among them. Kind of makes sense, a fuse mountpoint can be anything, and you don't want to exclude all of them by default.

This results in the following error message when the check is rolled out on our laptops:

Plugin Output
DISK CRITICAL - /run/user/1000/doc is not accessible: Permission denied

Fortunately the fix is rather easy:

 

 

Continue reading "Icinga Director and disk checks for fuse mountpoints"
  • Twitter
  • Bookmark Icinga Director and disk checks for fuse mountpoints at del.icio.us
  • Facebook
  • Google Bookmarks
  • FriendFeed
  • Digg Icinga Director and disk checks for fuse mountpoints
  • Bloglines Icinga Director and disk checks for fuse mountpoints
  • Technorati Icinga Director and disk checks for fuse mountpoints
  • Fark this: Icinga Director and disk checks for fuse mountpoints
  • Bookmark Icinga Director and disk checks for fuse mountpoints at YahooMyWeb
  • Bookmark Icinga Director and disk checks for fuse mountpoints at Furl.net
  • Bookmark Icinga Director and disk checks for fuse mountpoints at reddit.com
  • Bookmark Icinga Director and disk checks for fuse mountpoints at blinklist.com
  • Bookmark Icinga Director and disk checks for fuse mountpoints at Spurl.net
  • Bookmark Icinga Director and disk checks for fuse mountpoints at Simpy.com
  • Bookmark Icinga Director and disk checks for fuse mountpoints at blogmarks
  • Bookmark Icinga Director and disk checks for fuse mountpoints with wists
  • wong it!
  • Bookmark using any bookmark manager!
  • Stumble It!
  • Identi.ca

Enable and disable window dimming in KDE

When I make changes in OpenStreetMap, I often need to extract the object colour from a picture or a video, as example for a building, bench or a roof. This collides with a feature in KDE which I really like: Dim Inactive Windows.

The setting is in the KDE settings, under Desktop Effects -> Dim Inactive. As the name implies, it dims (makes them a bit more dark) all non-active windows - which makes it visually clear which window is currently active. Quite useful.

For picking a colour from a picture/video I'm using KColorChooser, which provides the colour in Hex code - exactly what I need in OSM.

However when KColorChooser is the active window, and all other windows are dimmed, it extracts the wrong colour from the picture/video - the colour which is already dimmed. Not what I need. Therefore when I do OSM edits, I temporarily disable this feature.

At first I went into the KDE settings, twice, but this is too many clicks. Then I figured out the commandline arguments to disable and enable this feature.

Disable "Dim Inactive":

kwriteconfig5 --file kwinrc --group Plugins --key diminactiveEnabled false
qdbus org.kde.KWin /KWin reconfigure

Enable "Dim Inactive":

kwriteconfig5 --file kwinrc --group Plugins --key diminactiveEnabled false
qdbus org.kde.KWin /KWin reconfigure

Now all I need to do is execute a small script which is in my personal ~/bin directory. Let the edits continue.

Note: I wish JOSM would have an integrated video player which also allows to pick colours. But so far I haven't found any such plugin.

  • Twitter
  • Bookmark Enable and disable window dimming in KDE at del.icio.us
  • Facebook
  • Google Bookmarks
  • FriendFeed
  • Digg Enable and disable window dimming in KDE
  • Bloglines Enable and disable window dimming in KDE
  • Technorati Enable and disable window dimming in KDE
  • Fark this: Enable and disable window dimming in KDE
  • Bookmark Enable and disable window dimming in KDE at YahooMyWeb
  • Bookmark Enable and disable window dimming in KDE at Furl.net
  • Bookmark Enable and disable window dimming in KDE at reddit.com
  • Bookmark Enable and disable window dimming in KDE at blinklist.com
  • Bookmark Enable and disable window dimming in KDE at Spurl.net
  • Bookmark Enable and disable window dimming in KDE at Simpy.com
  • Bookmark Enable and disable window dimming in KDE at blogmarks
  • Bookmark Enable and disable window dimming in KDE with wists
  • wong it!
  • Bookmark using any bookmark manager!
  • Stumble It!
  • Identi.ca

How to configure notifications in Icinga2 Director

I'm using Icinga2 for a long time, but recently installed a new system and using Director for the first time. I know how to configure notifications in Icinga2 config files, but getting them working in Director (with Director options only) is a bit of a challenge.

Here is a step-by-step to get simple mail notifications working. From there it should be easier to configure more advanced notifications.

 

Continue reading "How to configure notifications in Icinga2 Director"
  • Twitter
  • Bookmark How to configure notifications in Icinga2 Director at del.icio.us
  • Facebook
  • Google Bookmarks
  • FriendFeed
  • Digg How to configure notifications in Icinga2 Director
  • Bloglines How to configure notifications in Icinga2 Director
  • Technorati How to configure notifications in Icinga2 Director
  • Fark this: How to configure notifications in Icinga2 Director
  • Bookmark How to configure notifications in Icinga2 Director at YahooMyWeb
  • Bookmark How to configure notifications in Icinga2 Director at Furl.net
  • Bookmark How to configure notifications in Icinga2 Director at reddit.com
  • Bookmark How to configure notifications in Icinga2 Director at blinklist.com
  • Bookmark How to configure notifications in Icinga2 Director at Spurl.net
  • Bookmark How to configure notifications in Icinga2 Director at Simpy.com
  • Bookmark How to configure notifications in Icinga2 Director at blogmarks
  • Bookmark How to configure notifications in Icinga2 Director with wists
  • wong it!
  • Bookmark using any bookmark manager!
  • Stumble It!
  • Identi.ca