Could you please post a host declaration ? 

14.09.2015, 11:52, "Henti Smith" <he...@geekware.co.za>:
> Since this was a satellite, I added check_command = "hostalive" to 
> conf.d/satellite.conf. this didn't work, because it seems update-config adds 
> check_command = "cluster-zone" to the .conf in repository.d If I remove it, I 
> get a proper error, which is simple.
>
> check_ping: Invalid hostname/address -
>
> Usage:
> check_ping -H <host_address> -w <wrta>,<wpl>% -c <crta>,<cpl>% [-p packets] 
> [-t timeout] [-4
>
> The reason I found in icinga2 object list
>
> The address variable is empty. I cannot find a way to assign host.name to 
> address in this context.
>
> Any suggestions ?
>
> Regards
> Henti
>
> On Mon, Sep 14, 2015 at 9:20 AM, Henti Smith <he...@geekware.co.za> wrote:
>> Good morning all.
>>
>> My understanding is the the host states is determined from the agent 
>> connectivity. this is causing some issues on our installation as some of our 
>> sites can sit on some very dodgy networks.
>>
>> We've noticed that the agent does not reconnect and hosts show as off-line 
>> when they are reachable, needing only a restart of icinga on the client. 
>> (not really sure how to troubleshoot this and log a bug as running debug 
>> until this happens will fill up disk)
>>
>> i've tried changing the check_command to hostalive but this does not seem to 
>> work. How else can i achieve host status being monitored by ping and have a 
>> separate service check for the agent.
>>
>> Regards
>> Henti
>>
>> --
>> --
>
> --
> --
>
> ,
>
> _______________________________________________
> icinga-users mailing list
> icinga-users@lists.icinga.org
> https://lists.icinga.org/mailman/listinfo/icinga-users

------
 Романеев Василий
Мобильный: +7-987-636-62-67
skype romaneev
_______________________________________________
icinga-users mailing list
icinga-users@lists.icinga.org
https://lists.icinga.org/mailman/listinfo/icinga-users

Reply via email to