Answer the question
In order to leave comments, you need to log in
Is it possible to remove (and add) services on nodes from the master in current versions of icinga2?
Hey!
Judging by the doc: docs.icinga.org/icinga2/latest/doc/module/icinga2/...
Icinga2 can manage nodes... However, this does not work in practice:
```
[email protected] d01mplacefe01]# icinga2 repository service remove = ping6 host name = all
information / cli the: Dumping items to the changelog file '/var/lib/icinga2/repository/changes/1470133975.6282029-Service-d7535967c0481dbeb28afe542a40e2f0687f4fc5b5fc5abafacbd4c24ff0d9cf.change'
[root @ D01mplaceAPI d01mplacefe01] # icinga2 the commit repository
Changes to the BE committed:
Removing service 'ping6'
host = "all"
warning/cli: Service 'ping6' does not exist.
```
And check:
```
[[email protected] d01mplacefe01]# icinga2 repository service list
...
Service 'ping6' (on Host 'd01mplacess01')
```
Why? What's wrong?
Answer the question
In order to leave comments, you need to log in
Good afternoon,
if I understand correctly, then this functionality will work, provided that the nodes work in the mode of receiving configuration from the master and executing commands. Those. the scheme of interaction Top => Down is realized
In other cases it does not work.
Upd. Corrected myself, the icinga node update-config command refers to the reverse option, the client's local configuration and passing the result to the master
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question