Blogroll

Search

check_diskio 3.0.0

January 21st, 2009 by Matteo and tagged , , , ,

I just released check_diskio 3.0.0: a Nagios plugin to monitor disk I/O on Linux machines.

Changes from version 2.2.1:

  • supports the simultaneous check of multiple devices
  • maps logical devices to the corresponding physical ones
  • uses the standard Nagios::Plugin::Getopt module to process command line arguments
  • has a new option to specify a timeout

Posted in Software | No Comments »

Wedding pictures

January 19th, 2009 by Matteo and tagged , , ,

Our wedding pictures are online at: http://michela-e-matteo.ch/foto.html

http://michela-e-matteo.ch/pictures/candele.jpg

Posted in Personal | No Comments »

Pictures of New Year’s Eve

January 13th, 2009 by Matteo and tagged ,

The pictures of New Year’s Eve are online

Posted in Personal | No Comments »

shared ssh account with personalized settings

January 13th, 2009 by Matteo and tagged , ,

At work we have serveral Unix accounts occasionally used by more than user. To allow each user to log in using a personlized shell we use the following shell function (simplified):

pssh() {
  host=$1
  scp -q ${HOME}/.dir_colors ${host}:.dir_colors.${USER}
  cp ${HOME}/.bashrc ${HOME}/.bashrc.${USER}
  echo 'eval $(dircolors ${HOME}/.dir_colors'.${USER}) >> ${HOME}/.bashrc.${USER}
  scp -q ${HOME}/.bashrc.${USER} ${host}:.bashrc.${USER}
  # log in and execute a shell with the special .bashrc file
  ssh -t $host "bash --rcfile ~/.bashrc.${USER}"
}

In this way everyone can use his own .bashrc and terminal colors without interfering with other users of the shared account

Posted in Software | No Comments »

check_rbl 1.0.1

January 7th, 2009 by Matteo and tagged , , , ,

I just released  the first version of check_rbl a Nagios plugin to check if a mail server is blacklisted.

Example:

$ check_rbl -t 60 -H nagios.org
  -s dnsbl.ahbl.org \
  -s cbl.anti \
  -s spam.org.cn \
  -s cblplus.anti \
  -s cblless.anti \
  -s cdl.anti  -spam.org.cn \
  -s cbl.abuseat.org \
  -s dnsbl.cyberlogic.net \
  -s bl.deadbeef.com \
  -s t1.dnsbl.net.au \
  -s spamtrap.drbl.drand.net \
  -s list.dsbl.org \
  -s unconfirmed.dsbl.org \
  -s spamsources.fabel.dk \
  -s 0spam.fusionzero.com \
  -s dnsbl.isoc.bg \
  -s mail-abuse.blacklist.jippg.org \
  -s korea.services.net \
  -s karmasphere.email \
  -s sender.dnsbl.karmasphere.com \
  -s spamguard.leadmon.net \
  -s ix.dnsbl.manitu.net \
  -s relays.nether.net \
  -s dnsbl.njabl.org \
  -s bhnc.njabl.org \
  -s no-more-funn.moensted.dk \
  -s rbl.orbitrbl.com \
  -s psbl.surriel.com \
  -s dyna.spamrats.com \
  -s noptr.spamrats.com \
  -s spam.spamrats.com \
  -s dnsbl.sorbs.net \
  -s dul.dnsbl.sorbs.net \
  -s old.spam.dnsbl.sorbs.net \
  -s problems.dnsbl.sorbs.net \
  -s safe.dnsbl.sorbs.net \
  -s spam.dnsbl.sorbs.net \
  -s bl.spamcannibal.org \
  -s bl.spamcop.net \
  -s pbl.spamhaus.org \
  -s sbl.spamhaus.org \
  -s xbl.spamhaus.org \
  -s dnsbl.tqmcube.com \
  -s ubl.unsubscore.com \
  -s dnsbl-1.uceprotect.net \
  -s dnsbl-2.uceprotect.net \
  -s dnsbl-3.uceprotect.net \
  -s db.wpbl.info \
  -s spam.wytnij.to
CHECK_RBL CRITICAL - blacklisted on 0 servers | servers=0;0;0 time=1s;;

Posted in Software | No Comments »