Archive for November, 2008

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 https://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*

I really miss my family

I feel so unhappy right now. The weather forecasts are all saying we are getting very bad weather this coming weekend. That means I possibly can’t go to fetch them. Life sometimes really sucks even worse than the day before. At least I am doing good progress in relocating things. And Sarah is so deliriously happy about the new apartment – I have shown her a video via the internet. Well, it’s not the time to give it up. Maybe the weather is going to surprisingly change at the weekend. I hope so.

Relocation Now!

This weekend I have been very busy with preparing our relocation to Bad Oldesloe. It feels good to know we are going to leave this way too small apartment behind. And I am so happy to finally see Sarah, Erik and Einar again.

Sad to say Sarah had a spinal disc herniation shortly after going to Nuremberg. This old apartment we are leaving behind is on the fourth floor without an elevator and so it was impossible for Sarah to come back. Thus I haven’t seen her and the boys since they left on the 18th of October. It frequently made me feel so downfallen not to have them around me.

I am relieved to know it’s almost overcome and for the next days I am going to move things from this place to our new apartment. And when that’s done I am going to pick up my family from Nuremberg and take them to our new home. And we are going to take good care of Sarah’s injury.