On 03/19/2014 07:25 PM, Michael Friedrich wrote:

On 19.03.2014 03:43, Simon Walter wrote:

Hi,

Can someone point me in the right direction please. Are there any devs
on this mailing list?

You found one before, now another one. Don't panic. When we're not answering mailing lists, we're hacking, working, eating, sleeping, drinking beer.


I understand Icinga2 is still in development.

Yep. But the more we discuss the better it will get on its final release.


Where should I ask about Icinga2?

Here, or any other community support channel. But please don't stress it. This is not an enterprise support channel with response times.

Thank you Michael and Gunnar. I was just wondering if Icinga2 was discussed on another mailing list. Sorry to come off stressful.


I need to know what process controls
purging of the database. It seems that this is the problem I having, but
I could be wrong.

There is no process. That's a feature registering hooks to events on the icinga 2 process and dumping the config and state (history) to the IDOUtils 1.x schema - based on your configuration, this happens to be either IdoMysqlConnection or IdoPgsqlConnection.

IdoMysqlConnection


Given your previous explainations, it seems that the debian build system still got the git version wrong (most likely it's https://dev.icinga.org/issues/5410)

So, are you using the release or snapshot repository?

I'm using the release from the repository:
deb http://packages.icinga.org/debian icinga-wheezy main
deb-src http://packages.icinga.org/debian icinga-wheezy main

I suppose I should build a newer version?


How are you restarting/reloading Icinga 2? (console paste including full output)

root@monitor:~# service icinga2 restart
[ ok ] checking Icinga2 configuration.
[....] Restarting icinga2 monitoring daemon: icinga2[2014-03-20 09:15:18 +0900] <Main Thread> information/icinga-app: Icinga application loader (version: jenkins-DIST=wheezy-9) [2014-03-20 09:15:18 +0900] <Main Thread> information/icinga-app: Loading application type: icinga/IcingaApplication [2014-03-20 09:15:18 +0900] <Main Thread> information/base: Loading library 'libicinga.so' [2014-03-20 09:15:18 +0900] <Main Thread> information/config: Adding include search dir: /usr/share/icinga2
. ok
root@monitor:~# service icinga2 reload
[ ok ] checking Icinga2 configuration.
[ ok ] Reloading icinga2 monitoring daemon: icinga2.
root@monitor:~#

I'm not sure how the dependencies work out with this, but Icinga (1) was also installed when I installed Icinga2. So there is also:
root@monitor:~# service icinga restart
[....] Restarting icinga monitoring daemon: icinga
. ok
root@monitor:~# service icinga reload
[ ok ] Reloading icinga monitoring daemon configuration files: icinga.
root@monitor:~#

Which I'm not sure does anything useful for me. Or is there still parts of Icinga (1) necessary? I read the icinga-web package / UI works with Icinga (1). I'm not sure how it all connects.

What happens if you entirely remove the inline service definition, instead of commenting it?

delete from icinga_objects where object_id = 198; and the service is removed from the host definition, but there is still one critical service on the top overview area of the web UI.


Enable the debuglog, and paste the parts where this service is mentioned.

The service is not showing up. I suppose I should have enabled debugging and tested this before removing the serivce from the icinga_objects table.


Last but not least - enable the StatusDataWriter feature and check if the service is available within objects.cache/status.dat

As far as services are concerned, only localhost is showing up in this file.

I just upgraded and now my version is:
icinga2 - The Icinga 2 network monitoring daemon. (Version: v0.0.8)

However, I still see the same behaviour. I thought to add back the service definition in the host's config file. I used the same name (only uncommented it). Doing this does not cause it to reappear on the web-ui. It is also not in the DB.

Kind regards,

Simon

_______________________________________________
icinga-users mailing list
icinga-users@lists.icinga.org
https://lists.icinga.org/mailman/listinfo/icinga-users

Reply via email to