-
Notifications
You must be signed in to change notification settings - Fork 207
Open
Description
Icinga 2 network monitoring daemon (version: r2.15.0-1)
Director version 1.11.5
Icinga Web 2 Version 2.12.5
I have a simple installation of icinga+icingaweb+director, but im finding some sync (or i dont know how to name it) issues.
The only configurations that i have in /etc/icinga2/conf.d are these ones:
/etc/icinga2/conf.d# ls
api-users.conf commands.conf
/etc/icinga2/conf.d# cat * | egrep "^object"
object ApiUser "root" {
object NotificationCommand "mail-host-notification" {
object NotificationCommand "mail-service-notification"
The other conf files are "disabled":
/etc/icinga2/conf.d# ls /etc/icinga2/conf.d.disabled/
app.conf apt.conf downtimes.conf groups.conf hosts.conf notifications.conf services-localhost.conf services.conf templates.conf timeperiods.conf users.conf
So, for example lets focus on the hostgroups. As commented there are no hostgroups configured via conf files. There were but not now.
I have this configured via Icinga Director:
and this is what is shown:
In the databases:
MariaDB [icinga]> select * from icinga_hostgroups;
+--------------+-------------+-------------+---------------------+-----------------+-------+-----------+------------+------------------------------------------------------------------+
| hostgroup_id | instance_id | config_type | hostgroup_object_id | alias | notes | notes_url | action_url | config_hash |
+--------------+-------------+-------------+---------------------+-----------------+-------+-----------+------------+------------------------------------------------------------------+
| 1 | 1 | 1 | 253 | Linux Servers | | | | 02e0d2a422d6a2cfb95eb6b4b5dfe19a67577161ac2c115a88ab894b5ebde094 |
| 2 | 1 | 1 | 254 | Windows Servers | | | | 73e141c2706ddff0b19db38a7b385cc7f5af23fb10741709a4196640a29ccdcb |
| 3 | 1 | 1 | 286 | clin... | | | | c70b11d10fbed9ef64e0534b72b34a8db2fbceec0c2fa50b51b1053a2f8d709d |
| 4 | 1 | 1 | 287 | wvt-... | | | | c78ca396e58a4988dd127bca8e35b70babebb18690e20bb0499ac5464617d82b |
| 5 | 1 | 1 | 288 | ext-... | | | | 5d422ba3299913cd8324d3a27b1163e83c239a653d314e2f1e264e1cba242b61 |
| 6 | 1 | 1 | 289 | ext-... | | | | 0fc4b0e4bd95f0d7e35a2dc89e2705cc6dfb298eb962437d9e3651e36de4b7d4 |
| 7 | 1 | 1 | 290 | wvt... | | | | 4c1da392e625a67d7968654904333663fcf3ad36575900cb3874bfda23774dc5 |
| 8 | 1 | 1 | 291 | rigil... | | | | d4d18e9a4e815206d74efbd0849adc46b97cf7f55cb4ba0e73d72ed513d87d2d |
| 9 | 1 | 1 | 303 | test | | | | b60350c0e97467bede875ad495856a8afeede19616fbc585e1d3291602abf1a3 |
+--------------+-------------+-------------+---------------------+-----------------+-------+-----------+------------+------------------------------------------------------------------+
MariaDB [director]> select * from icinga_hostgroup;
+----+------------------+--------------+-------------+----------+--------------+---------------+
| id | uuid | object_name | object_type | disabled | display_name | assign_filter |
+----+------------------+--------------+-------------+----------+--------------+---------------+
| 1 | }`|K73\܌9 | wvt... | object | n | wvt... | NULL |
| 2 | qj#<BFaM | wvt... | object | n | wvt... | NULL |
| 4 | ?69CqV*;RZ | clin... | object | n | cli... | NULL |
| 5 | kCfް6! | ext-... | object | n | ext-... | NULL |
| 6 | 4COW c8 | ext-... | object | n | ext-... | NULL |
| 11 | lHuL/tzg | rigil... | object | n | rigil... | NULL |
+----+------------------+--------------+-------------+----------+--------------+---------------+
- "Linux Servers" and "Windows servers" are groups that were configured via .conf file but not now. They are not shown in icingaweb, correct. Dont know if its ok that they still are in the icinga ido database.
- "test" is a group that was configured via director, deleted, recreated, and deleted. Not shown in icingaweb, correct. Dont know if its ok that it is in the icinga ido database.
- "rigil..." is a group that was configured via director, deleted, recreated. Not shown in icinga web. INCORRECT.
So icinga + icingaweb + director is not working properly in my environment. How can i fix this?
Thanks!!
Metadata
Metadata
Assignees
Labels
No labels