Hi again,
While adding hosts to Nagios using NagRestConf, I have encountered a tricky problem.
Setting the host to disable:1 using the API gives me the following error:
ERROR: Status (400):
["NAGCTL ERROR: Host has one or more enabled services. Will not
disable."]
But to make it more tricky; I am able to disable and enable the remote in the WebInterface of NagRestConf.
And I have made sure that the services attached to the remote are "disable friendly" or so to say
The command used:
Am I using the wrong command or are there other ways to disable the host?
Cheers
Kristian