[Check_mk (english)] Warning on Discovery failed

Paul Dott pauldott at gmail.com
Wed Feb 27 04:26:39 CET 2019


No problem. Yes if you remove that extra white space it should work. But
like I said it seems redundant with all the cpu related data the agent
provides out the box.

On Tue, Feb 26, 2019 at 19:11 soohow.cheng <soohow.cheng at gmail.com> wrote:

> Hi Paul,
>
> Thank for checking and advice. This script was written and put there long
> ago.
>
> I  move it away and no more discovery error. I will test the script later
> on.
>
>
> Soo How,
>
>
>
> Sent from my Samsung Galaxy smartphone.
>
> -------- Original message --------
> From: Paul Dott <pauldott at gmail.com>
> Date: 27/02/2019 10:57 (GMT+08:00)
> To: "soohow.cheng" <soohow.cheng at gmail.com>
> Cc: "<checkmk-en at lists.mathias-kettner.de>" <
> checkmk-en at lists.mathias-kettner.de>
> Subject: Re: [Check_mk (english)] Warning on Discovery failed
>
> On the last line, it looks like an extra space might be causing the issue.
> It is after spike and before PERFDATA. Can you execute the script and paste
> output? That will confirm.
>
> Also, why not use the cpu data that comes with the agent? Seems this local
> check is overkill.
>
>
> On Tue, Feb 26, 2019 at 18:36 soohow.cheng <soohow.cheng at gmail.com> wrote:
>
>> Hi Paul,
>>
>> Please see the attached file.
>>
>>
>>
>> Soo How,
>>
>>
>>
>> Sent from my Samsung Galaxy smartphone.
>>
>> -------- Original message --------
>> From: Paul Dott <pauldott at gmail.com>
>> Date: 27/02/2019 09:41 (GMT+08:00)
>> To: "soohow.cheng" <soohow.cheng at gmail.com>
>> Cc: "<checkmk-en at lists.mathias-kettner.de>" <
>> checkmk-en at lists.mathias-kettner.de>
>> Subject: Re: [Check_mk (english)] Warning on Discovery failed
>>
>> Looks like there is a local check script on the failing hosts /local
>> directory that is throwing the error. Likely syntax related.
>>
>> Can you paste the output of the local script here?
>>
>>
>>
>> On Tue, Feb 26, 2019 at 17:38 soohow.cheng <soohow.cheng at gmail.com>
>> wrote:
>>
>>> Dear all,
>>>
>>> This is using a Check Mk Enterprise version 1.4.0p37. Most of Linux
>>> servers were already installed with check Mk version 1
>>> .2.6p2. Some of these clients when added in to the server would have the
>>> check Mk discovery warning as follows,
>>>
>>> Discovery failed: Exception in check plugin 'local': invalid line in
>>> agent section <<>>: x.xx.
>>>
>>> This x.xx number is changing, some got 1.74, or 1.03, and others.
>>>
>>> Could it be the client agent too old? Or other problems.
>>>
>>> Thanks in advance.
>>>
>>> Soon How,
>>>
>>>
>>>
>>> Sent from my Samsung Galaxy smartphone.
>>> _______________________________________________
>>> checkmk-en mailing list
>>> checkmk-en at lists.mathias-kettner.de
>>> Manage your subscription or unsubscribe
>>> https://lists.mathias-kettner.de/cgi-bin/mailman/listinfo/checkmk-en
>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.mathias-kettner.de/pipermail/checkmk-en/attachments/20190226/c43cccd5/attachment-0001.html>


More information about the checkmk-en mailing list