Hi Dominik,
                    
Can you run sudo icinga2 object list --name *hostname\!servicename*  on the 
agent and make sure the files listed are configured properly?
If they are not, can u push the configuration from the master and reload the 
agent.

Kind Regards,
Ivo Kidze

-----Original Message-----
From: icinga-users [mailto:icinga-users-boun...@lists.icinga.org] On Behalf Of 
Dominik George
Sent: Wednesday, August 8, 2018 10:53 AM
To: Icinga User's Corner <icinga-users@lists.icinga.org>
Subject: Re: [icinga-users] Service check not updated on agent (or so)

Hi,

On Wed, Aug 08, 2018 at 01:16:21PM +0200, Václav Mach wrote:
> My guess is, that your master node has new configuration while the 
> client does not. When you force run the check by "check now" the 
> client only gets the check command along with parameters. When running 
> by regular schedule, it is executed with local parameters which are 
> not the same as on the master node.
> 
> If this is the problem and you want to to automatically sync your 
> master node changes to the client, configure accept_config = true in 
> your client
> config:

Thanks for the advice.  Unfortunately, that's already set and does not help :/.


On Wed, Aug 08, 2018 at 01:36:19PM +0200, Peter Eckel wrote:
> Did you try to reload icinga2 on the agent after rolling out the new 
> configuration on the master?

Yes - not only reloaded, also restarted. It starts up successfully.

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

Reply via email to