It-Slav.net is proud to announce as one of the temperature providers to temperatur.nu
It-slav.net provides temperature measurement for STHLM/Huddinge area in Sweden to the very popular site temperatur.nu
The measurment is done by a 1-wire temperature probe DS18S20.
Read the rest of this entry »
I’ve got a hint from a partner to take a peak at http://folk.uio.no/trondham/software/check_openmanage.html
It describes How-To monitor Dell hardware with Nagios, of course it works perfectly well with op5 Monitor aswell.
My firewall get alot of failed ssh logins.
This is a typical log message in /var/log/authlog
Feb 9 20:15:49 pedro sshd[30934]: Failed password for root from 67.205.85.119 port 35603 ssh2
Feb 9 20:15:49 pedro sshd[2656]: Received disconnect from 67.205.85.119: 11: Bye Bye
Feb 9 20:15:51 pedro sshd[15299]: Failed password for root from 67.205.85.119 port 35753 ssh2
Feb 9 20:15:51 pedro sshd[15791]: Received disconnect from 67.205.85.119: 11: Bye Bye
Feb 9 20:15:53 pedro sshd[9043]: Failed password for root from 67.205.85.119 port 35882 ssh2
Feb 9 20:15:53 pedro sshd[31484]: Received disconnect from 67.205.85.119: 11: Bye Bye
Feb 9 20:15:54 pedro sshd[27717]: Failed password for root from 67.205.85.119 port 36030 ssh2
Feb 9 20:15:55 pedro sshd[30185]: Received disconnect from 67.205.85.119: 11: Bye Bye
Feb 9 20:15:56 pedro sshd[27718]: Failed password for root from 67.205.85.119 port 36164 ssh2
Feb 9 20:15:56 pedro sshd[28005]: Received disconnect from 67.205.85.119: 11: Bye Bye
Feb 9 20:15:58 pedro sshd[30648]: Failed password for root from 67.205.85.119 port 36314 ssh2
Feb 9 20:15:58 pedro sshd[21087]: Received disconnect from 67.205.85.119: 11: Bye Bye
Of course this is a script kiddie that tries to break into my firewall just because it answers on port 22 and it is annoying. One way of make it a little harder to break in is by let the packetfilter drop all packages that comes from an ip-address that did this.
This one way of doing it.
Read the rest of this entry »
Today I had to do some electrical work at home. The consequence was that my internet connection was down for about 20 minutes because my ADSL modem did not have any power.
My Nagios based op5 Monitor system discovered this directly and reported to me. I forgot to schedule this as planed downtime so I have to work with my processes 😉 .

Screenshot from op5 Monitor alert history first router
This guide describe howto install and configure SNMP on Ubuntu.
In an earlier article I have described howto set it up on RHES or CentOS, it is slightly different in Ubuntu.
1.Installation
root@ibsen:~# sudo apt-get install snmpd
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libmpich1.0gf libdc1394-22 genisoimage linux-headers-2.6.27-7 libgfortran2 dvd+rw-tools linux-headers-2.6.27-7-generic libcarp-clan-perl libxml-xql-perl libparse-yapp-perl
rdate python-xml localechooser-data gcc-4.2-base libimage-size-perl libdebconfclient0 libvisual-0.4-0 libmyth-python perlmagick libvisual-0.4-plugins libavdevice52
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
libperl5.10 libsensors3 libsnmp-base libsnmp15
Suggested packages:
lm-sensors
The following NEW packages will be installed:
libperl5.10 libsensors3 libsnmp-base libsnmp15 snmpd
0 upgraded, 5 newly installed, 0 to remove and 3 not upgraded.
Need to get 2463kB of archives.
After this operation, 7987kB of additional disk space will be used.
Do you want to continue [Y/n]?
answer y
Read the rest of this entry »
Sometimes I ask myself why does not person X living in country Y not answer the phone or email. When I try the switchboard nobody answer.
Maybe they have a holiday in that part of the world. A tool to find that out is “Earth Calendar”
http://www.earthcalendar.net/
So mabe the reason that my blog dropped from approx 120 unique visitors/day down to 81 yesterday is because the people in the countrys below are celebrating. Or more likely, they have better things todo then read my blog 😉
Foundation of the Vietnamese Communist Party |
Vietnam |
Heroes’ Day |
Mozambique |
Liberty Heroes Day |
Sao Tome & Principe |
San Blaise |
Paraguay |
Setsubun |
Japan |
Patient Recognition Day |
United States of America |
At my home the most critical system is the MythTV system and a MythTV downtime will create a revolt at home. This article will describe howto make sure that a MythTV backend can be surveillanced with Nagios or op5 Monitor.
I have in earlier articles described howto install and configure both the backend and the frontend.
To monitor MythTV backend I have identified the following parts:
- MySQL database, contains data about TV records and program listings.
- Mythbackend, the process that controls the MythTV backend.
- Mythfilldatabase, runs XMLTV that puts programlistings in the MySQL database.
- Webserver.
- Internet access to grab TV show listings.
I created a service group called MythTV

A screenshot from op5 Monitor
Read the rest of this entry »
Background
In earlier articles I’ve described howto install mythbuntu and configure the backend
In this article I assume that you have a workin Xbox with a quit new version of XBMC.
Download xbmcmythtv
The xbmcmythtv is not being maintained anymore so the version downloadable from http://sourceforge.net/projects/xbmcmythtv/ does not work with newer versions of MythTV.
However, it is possible to grab a newer version by using CVS.
cvs -d:pserver:anonymous@xbmcmythtv.cvs.sourceforge.net :/cvsroot/xbmcmythtv login
cvs -z3 -d:pserver:anonymous@xbmcmythtv.cvs.sourceforge.net:/cvsroot/xbmcmythtv co -P xbmcmythtv
FTP it to your xbox according to the README instructions.
Configure MySQL
The MySQL client that xbmcmythtv is using is not using the latest version of MySQL protocol, so you must tell MySQL that you will use the old style of password hash.
CREATE USER 'xbox'@'%' IDENTIFIED BY 'xbox';
GRANT ALL ON mythconverg.* TO 'xbox'@'%';
set password for 'xbox'@'%' = OLD_PASSWORD('xbox');
Setup the Xbox
In the Myth TV menu:
Primary host <the ip of your backend host>
Protocol 40
In the MySQL menu:
User: xbox
Password: xbox
Configure Samba
xbmcmythtv uses a samba share to read the recorded TV-shows. I created a new samba share and used the default settings at the Xbox.
In /etc/samba.smb.conf
[mythtv]
comment = MythTV Recordings
path = /var/lib/mythtv/recordings
public = yes
writable = no
create mask = 0777
directory mask = 0777
force user = nobody
force group = nogroup
Congratultaions, now you should have a working MythTV setup 😆
Part1 can be found here.
Start
To configure the newly installed MythTV system run:
mythtv-setup
The settings will we be default if nothing else is mentioned.
Read the rest of this entry »
After my hard disk crash, I’ve been struggling a couple of nights to get my MythTV system with a Xbox frontend working.
Tonight I managed to get every piece together and it works. It has been frustrating and quite painful to get it working, Google has been my friend,
A MythTV installation consist of many parts that all must work i.e.:
- Tv record card with both driver and firmware, correctly configured in the MythTV backend
- MySQL database that allow access from the frontend (including OLD style passwords)
- XMLTV grabber to get a list of of the TV shows.
- A list of what channel is broadcasted on what frequency or channel number
- XBMC for the Xbox frontend
- Xbmcmythtv that was downloaded via CVS
- Correctly configured xbmcmythtv frontend
I will post how I did it during this week, stay tuned.