Archive for the ‘Work work’ Category

A NetXMS Howto

Today I decided to do a NetXMS test installation on my root server. Why am I doing this? There’s so much other monitoring software available to perfectly fulfill this purpose. Well, why not – maybe it’s just great.

The install procedure here is done on debian etch. There might be smallish quirks for other distributions. Just ping me for help or whatever.

As ever just grab the current sources and put them somewhere you like. I copied the core files’ source code to my server and I dare say you’ll get more bandwidth here. No offense meant. *scnr*

cd /usr/src/

wget http://uruz.org/files/netxms-0.2.22.tar.gz

Extract the file and change dir to the fresh and virginal source code.

tar xvzf netxms-0.2.22.tar.gz

cd netxms-0.2.22/

Now it’s time to perform a miracle and configure the coming build process. I prefer MySQL for myself while NetXMS should work with PostgreSQL, Oracle etc. And I’d like to have NetXMS resident in /opt/

./configure –with-server –with-agent –with-mysql=/usr –prefix=/opt/netxms

make

Get a cup of tea and maybe tell your girlfriend how much you’d like to _____ her and to _____ with her on the _____ all night long, but in fact you are still too busy and have to solve this first. There’s plenty of time to relax when it’s done.

make install

Lo and behold! The server is installed!

Now copy the default netxms daemon and agent configuration file to /etc/ and edit them afterwards.

cp ./contrib/netxmsd.conf-dist /etc/netxmsd.conf

cp ./contrib/nxagentd.conf-dist /etc/nxagentd.conf

nano /etc/netxmsd.conf && nano /etc/nxagentd.conf

Next simply create the database and initialize it with the sql/dbinit_mysql.sql script.

mysql -u root -h localhost -p

mysql> create database netxms;

mysql> GRANT all ON netxms.* TO ‘netxms’@'localhost’ IDENTIFIED BY ‘password’;

mysql> \q

/opt/netxms/bin/nxdbmgr init sql/dbinit_mysql.sql

The next step is to start the netxmsd and nxagentd.

/opt/netxms/bin/netxmsd -d && /opt/netxms/bin/nxagentd -d

So when that’s done run the admin console and connect to the server to change the default password of the admin user. And if you like you could add another unprivileged user for trivial monitoring. That’s all best described in the console docs. And of course have fun playing with it, it looks promising.

It is late now at my place and I am going to bed to be fit for work tomorrow. I promise to enhance this post asap and maybe going to build a .deb file, don’t expect it to happen until I woke up or so. I’ll sleep soundly knowing NetXMS is watching over my server.

P.S. I really would enjoy a linux console, but that’s not availbile yet. *poke around*

Let me entertain you (How to correctly choose a MMORPG)

Okay, in fact I really don’t know about your preferences. But if you enjoy browser and client based MMORPG (Massively Multiplayer Online Role-Playing Games) I’d like you to have a look at these:

Drachenkrieg is a fantasy MMORPG based in the world of Feo. Once in Feo you take part in the everlasting fight between good and evil on the sides of the humans or the monstrous magmars. There are regularly epic battles with 1000+ players organized by the team behind Drachenkrieg. Besides the PvP (Player versus Player) battles there is lots of good PvE (Player versus Environment) content in this game.

TimeZero is a tactical and at the same time action loaded MMORPG in a post apocalyptical world. You are given the ability to specialize your character by attributes, items and professions and form an individual habbitant of this nightmarish world. There is a great amount of PvE content throughout the whole game and when your character gets better it is so incredible thrilling to fight PvP against others. Come and get some. XD

And if you might wonder about me playing games again besides my family – it’s quite easy to explain. I sometimes play them at work. :รพ

I now enjoy to work as a sysadmin for Astrum Online Entertainment, the company running these games.

I’m gonna leave you

I’d like you to know I’ve quit my contract with my current employer. I’m gonna leave at the end of this month. I’ve been working there for 3 years now and I’ve been doing all the stuff that matters like server administration and embedded linux development. I guess I was pretty good somehow. No one was really amused when I announced my dismissal. I have had some helluva fun and some nice teammates there and the work was frequently challenging. But no regrets, it’s time to move on. I’d like to hereby thank the staff of Solcon Systemtechnik GmbH for the past 3 years of cooperation.