Weblogs for Nilshar

Posted by Nilshar on Fri 22 Jul 2011 at 09:18
Tags: none.
I'm trying to search this website for an article about mdadm/softraid, but when I use the quick site search, the 10 first answer are from weblogs, and not article.
Is there a way to search only articles ? maybe I'm blind, but can't find... :p

 

Posted by Nilshar on Wed 15 Jun 2011 at 11:48
Tags: none.
apt-get can use -o to setup additional dpkg options.
Syntax is not reall user friendly, I know it's possible since a long time, but often spend one hour searching how..
So here some exemple I use :

-o Dpkg::Options::="--force-confnew" => force the new configuration file to overwrite your modified ones
-o Dpkg::Options::="--force-confold" => keep your modified configuration files.

Of course there is a lot more (all dpkg options).

 

Posted by Nilshar on Mon 27 Apr 2009 at 08:50
Tags: none.
Hello,

I am looking for some knowledge about various system monitoring tools.
So far, I used cacti and nagios (both for differents things), and I've read a lot about munin (several articles/weblogs on this site), and collectd.

Soon I will have to choose one, and it will be a "no return" choice.

What I need is : rrd based tool, for local monitoring only, and it has to be easy to add/write plugins

During the few last years, I found cacti and nagios usefull, but not really flexible, and I don't have a good feeling about using it for what I need today.
Collectd and munin seems both very powerfull, easy to use, and easy to add custom scripts.. but I never used them..
And there is maybe (probably) some others tools I don't know yet.

So if you got some experience and knowledge to share, it will be welcome :)

 

Posted by Nilshar on Mon 16 Mar 2009 at 14:37
Tags: , , ,
I'm using vmware for virtualization.
Under Etch, when I wanted to clone a vmware, I had to remove the file /etc/udev/rules.d/z25-persistent-net.rules so this file can be recreated after a reboot whith the good MAC address.

I tried the same with Lenny and his new udev version using /etc/udev/rules.d/70-persistent-net.rules and sadly, the file were never recreated.

On a normal server, the file is recreated just fine, but not on a vmware, and I can't find why, or how to recreate the file.

The linux-hotplug mailing list is not a great help sadly, so if anyone here got a clue...


*Edit*
Problem solved, see Comment #3

 

Posted by Nilshar on Tue 15 Jul 2008 at 16:36
Tags: , , , ,
You are using tail -f <file> to monitor a log file ? I was too.
You are using less to read and scroll up/down, search, etc.. a file ? I was too.
Today someone showed me that "less" is able to do tail (maybe most of you know already..).

use your usual :
less <file> to read the file, and if you want to use it as a tail, simply shift+F !
you want to stop the "tail mode" ? ctrl-C and you back to usual less. shift-F again to tail again etc..

 

Posted by Nilshar on Wed 3 Oct 2007 at 12:40
Tags: none.
Hello,

I'm trying to create a small script to upgrade several identic machines from sarge to etch.
I use debconf-get-selections and debconf-set-selections and it works great.
Only problem I have, if it still ask me if I want to restart some daemon when upgrading libc6.
So far, I didn't found a way to automaticly answer these question.
If anyone know how to do that, it will help me a lot, thanks :)

Nilshar.

 

Posted by Nilshar on Wed 22 Nov 2006 at 09:44
Tags: none.
Is there a way to tell sudo to not resolve hostname ?
Actually, if hostname is not in /etc/hosts, sudo just don't work.. Ideally, hostname should always be in /etc/hosts, but if there is a solution to tell sudo to ignore that, it would be great...

 

Posted by Nilshar on Wed 9 Aug 2006 at 15:39
Tags: none.
Does anyone here use apt-build ?
I'm really curious to know how it is..
Please share any experience with this tool.