Can anybody tell me how to reset icinga2 completely and start from scratch.

I don't care about history or anything, I just need it working again.

H

On Wed, Aug 5, 2015 at 12:43 PM, Henti Smith <he...@geekware.co.za> wrote:

> Hi Michael,
>
> It would appear that somebody did a reset on the monitoring master not the
> client. Now we have tons of services in pending state.
>
> I've tried to reset the clients for all affected, but it does not seem to
> fix the issue.
>
> For example: service ntp is in Soft 1/3 state. Last check 21/07, Next
> check is negative value. If I click "check now" Next check resets, but
> still in negative. Running debuglog on client shows command was run but
> results are not updating on the master. I can process check result, but
> that only changes the state and result, when I click on check results
> again, state is not updated, nor is results.
>
> Regards
> Henti
>
>
>
>
> On Tue, Aug 4, 2015 at 11:39 AM, Henti Smith <he...@geekware.co.za> wrote:
>
>> Sorry ...  there the MOM is the master of masters ..
>>
>> I think it's a process which I'm working out now ... some of the guys
>> here moved clients between the MOM and masters ... and thats messing things
>> up.
>>
>> I'll feedback once I have it all figured out ...
>>
>> H
>>
>> On Tue, Aug 4, 2015 at 11:29 AM, Michael Friedrich <
>> michael.friedr...@netways.de> wrote:
>>
>>> Am 04.08.2015 um 10:32 schrieb Henti Smith:
>>>
>>> Hi Michael,
>>>
>>> Sorry to bring this topic back again.
>>>
>>> I have a client -> master -> MOM setup, where the MOM. We're seeing
>>> hosts and services not updating state on MOM but working fine on master.
>>>
>>>
>>> Seems your sentence was cut. "where the MOM"?
>>>
>>> Kind regards,
>>> Michael
>>>
>>>
>>>
>>> Do I do the same process on the master to reset all statuses ?
>>>
>>> regards
>>> H
>>>
>>> On Fri, Jul 24, 2015 at 12:41 PM, Henti Smith <he...@geekware.co.za>
>>> wrote:
>>>
>>>> Hi Michael,
>>>>
>>>> Thank you, that worked perfectly :)
>>>>
>>>> Regards
>>>> Henti
>>>>
>>>> On Fri, Jul 24, 2015 at 10:59 AM, Michael Friedrich <
>>>> <michael.friedr...@netways.de>michael.friedr...@netways.de> wrote:
>>>>
>>>>> Am 24.07.2015 um 10:06 schrieb Henti Smith:
>>>>>
>>>>> Hi Michael,
>>>>>
>>>>> Would this be on the client, or server ?
>>>>>
>>>>>
>>>>> You were referring to "a host" which I consider a satellite or client.
>>>>> Purging the icinga2 state and possible cluster replay logs should be
>>>>> sufficient to reset it to null.
>>>>>
>>>>> Kind regards,
>>>>> Michael
>>>>>
>>>>>
>>>>>
>>>>> If this is on the server, would this not reset all my other hosts as
>>>>> well or is the state just being reflected in the web interface ?
>>>>>
>>>>> Regards
>>>>> Henti
>>>>>
>>>>>
>>>>>
>>>>> On Thu, Jul 23, 2015 at 9:41 PM, Michael Friedrich <
>>>>> michael.friedr...@gmail.com> wrote:
>>>>>
>>>>>>
>>>>>>
>>>>>> Am Donnerstag, 23. Juli 2015 schrieb Henti Smith :
>>>>>>
>>>>>>> I have an issue I'm hoping somebody can help shed light on how to
>>>>>>> resolve.
>>>>>>>
>>>>>>> One of the machine we monitor had a time change into the future for
>>>>>>> testing, now the monitoring is stuck for that host.
>>>>>>>
>>>>>>> I've tried stopping the client, removing the node from the master
>>>>>>> and re-adding, but that doesn't fix anything.
>>>>>>>
>>>>>>> Is there a way to purge or reset a host to start from scratch ?
>>>>>>>
>>>>>>
>>>>>> Stop the daemon, remove the icinga2.state file, purge
>>>>>> /var/lib/icinga2/api/log and start the daemon.
>>>>>>
>>>>>> Kind regards,
>>>>>> Mchael
>>>>>>
>>>>>>>
>>>>>>> Regards
>>>>>>> Henti
>>>>>>>
>>>>>>> --
>>>>>>> --
>>>>>>>
>>>>>>
>>>>>> _______________________________________________
>>>>>> icinga-users mailing list
>>>>>> icinga-users@lists.icinga.org
>>>>>> https://lists.icinga.org/mailman/listinfo/icinga-users
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> --
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> icinga-users mailing 
>>>>> listicinga-users@lists.icinga.orghttps://lists.icinga.org/mailman/listinfo/icinga-users
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Michael Friedrich, DI (FH)
>>>>> Application Developer
>>>>>
>>>>> NETWAYS GmbH | Deutschherrnstr. 15-19 | D-90429 Nuernberg
>>>>> Tel: +49 911 92885-0 | Fax: +49 911 92885-77
>>>>> GF: Julian Hein, Bernd Erk | AG Nuernberg HRB18461
>>>>> http://www.netways.de | michael.friedr...@netways.de
>>>>>
>>>>> ** OSBConf 2015 - September - osbconf.org **
>>>>> ** OSMC 2015 - November - netways.de/osmc **
>>>>>
>>>>> _______________________________________________
>>>>> icinga-users mailing list
>>>>> icinga-users@lists.icinga.org
>>>>> https://lists.icinga.org/mailman/listinfo/icinga-users
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> --
>>>>
>>>
>>>
>>>
>>> --
>>> --
>>>
>>>
>>> _______________________________________________
>>> icinga-users mailing 
>>> listicinga-users@lists.icinga.orghttps://lists.icinga.org/mailman/listinfo/icinga-users
>>>
>>>
>>>
>>> --
>>> Michael Friedrich, DI (FH)
>>> Application Developer
>>>
>>> NETWAYS GmbH | Deutschherrnstr. 15-19 | D-90429 Nuernberg
>>> Tel: +49 911 92885-0 | Fax: +49 911 92885-77
>>> GF: Julian Hein, Bernd Erk | AG Nuernberg HRB18461
>>> http://www.netways.de | michael.friedr...@netways.de
>>>
>>> ** OSBConf 2015 - September - osbconf.org **
>>> ** OSMC 2015 - November - netways.de/osmc **
>>>
>>> _______________________________________________
>>> icinga-users mailing list
>>> icinga-users@lists.icinga.org
>>> https://lists.icinga.org/mailman/listinfo/icinga-users
>>>
>>>
>>
>>
>> --
>> --
>>
>
>
>
> --
> --
>



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

Reply via email to