[Check_mk (english)] timeout problem with printer plugin on windows host

Thomas Wittmann tom.teel at gmail.com
Thu Oct 1 12:22:49 CEST 2015


WinD'oh :-D
I have this settings in my ini File:
    execution win_printers.ps1 = async
    timeout win_printers.ps1 = 120
    cache_age win_printers.ps1 = 1800
    retry_count win_printers.ps1 = 3


regards
Tom



2015-10-01 12:04 GMT+02:00 Marcel Schulte <schulte.marcel at gmail.com>:

> Hi Tom,
>
> sorry, I don't know that m,uch about WinD'oh ;-)
>
> ...but could be related to the async/cache settings in agent ini.
>
> Regards,
> Marcel
>
>
>
> Thomas Wittmann <tom.teel at gmail.com> schrieb am Do., 1. Okt. 2015 um
> 11:56 Uhr:
>
>> Hi Marcel
>> so with the higher timoeout setting, the agent answers correctly, mostly
>> after about 63 seconds. Everything is displayed, except the printers: they
>> appear stale most of the time and CMK agent says: [image: Inline-Bild 1]
>>
>> As you can see, state is flapping, sometimes it says ok and printers are
>> shown, bit this is very rare.
>> Do i have some more options?
>>
>> Regards Tom
>>
>>
>> 2015-09-29 16:21 GMT+02:00 Thomas Wittmann <tom.teel at gmail.com>:
>>
>>> Yeah Marcel
>>> that worked! Agent now answers (it takes about 62-69 seconds)
>>> Thank you very much. But... the printers are stale (every other data
>>> works) ...
>>> Well lets see what it looks like tomorrow :-)
>>>
>>> Regards
>>>
>>> Tom
>>>
>>> 2015-09-29 12:51 GMT+02:00 Marcel Schulte <schulte.marcel at gmail.com>:
>>>
>>>> Hi Tom,
>>>>
>>>> the default service timeout in cmk is set to 60s. If you have services
>>>> lasting longer than this default you've to set service_check_timeout=120
>>>> (for example, if timeout should be 120s).
>>>>
>>>> Check file ~/etc/nagios/nagios.d/tuning.cfg for details.
>>>>
>>>> ...and don't forget to restart/reload core after changing config.
>>>>
>>>> Regards,
>>>> Marcel
>>>>
>>>> Thomas Wittmann <tom.teel at gmail.com> schrieb am Di., 29. Sep. 2015 um
>>>> 12:03 Uhr:
>>>>
>>>>> Hi Jakub
>>>>> sorry i already have this line too. My bad, copy&paste error ;-)
>>>>>
>>>>> Am 29. September 2015 um 11:46 schrieb Tusz, Jakub <
>>>>> Jakub.Tusz at kvv.karlsruhe.de>:
>>>>>
>>>>>> execution win_printers.ps1 = async
>>>>>>
>>>>>> in check_mk.ini should make it working again.
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> Mit freundlichen Grüßen
>>>>>>
>>>>>> i.A. Jakub Tusz
>>>>>> ---------------------------------------------------------------------------------------------------------------------------
>>>>>>
>>>>>> Jakub Tusz
>>>>>> Abt.: V5-IT - Verwaltung | Informationstechnologie
>>>>>>
>>>>>> VBK - Verkehrsbetriebe Karlsruhe GmbH
>>>>>> Tullastraße 71, D-76131 Karlsruhe
>>>>>> Postfach 1140, D-76001 Karlsruhe
>>>>>>
>>>>>>
>>>>>> Telefon:
>>>>>> Fax:
>>>>>> E-Mail:
>>>>>>
>>>>>>
>>>>>> +49(721)6107 5905
>>>>>> +49(721)6107 5909
>>>>>> jakub.tusz at vbk.karlsruhe.de
>>>>>>
>>>>>>
>>>>>> Kfm. Geschäftsführer: Dr. Alexander Pischon, Techn. Geschäftsführer:
>>>>>> Ascan Egerer
>>>>>> Vorsitzender des Aufsichtsrates: Oberbürgermeister Dr. Frank Mentrup
>>>>>> Amtsgericht Mannheim HRB 107847
>>>>>> ---------------------------------------------------------------------------------------------------------------------------
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> *Von:* checkmk-en-bounces at lists.mathias-kettner.de [mailto:
>>>>>> checkmk-en-bounces at lists.mathias-kettner.de] *Im Auftrag von *Thomas
>>>>>> Wittmann
>>>>>> *Gesendet:* Dienstag, 29. September 2015 10:58
>>>>>> *An:* checkmk-en at lists.mathias-kettner.de
>>>>>> *Betreff:* [Check_mk (english)] timeout problem with printer plugin
>>>>>> on windows host
>>>>>>
>>>>>>
>>>>>>
>>>>>> Hi
>>>>>>
>>>>>> i have a windows server (2k8r2) with approx. 310 installed printers.
>>>>>>
>>>>>> Until about 300 printers the agent runtime was about 54-58 seconds
>>>>>> but worked.
>>>>>>
>>>>>> Since printer amount went over 300, i constantly have time out in
>>>>>> Multisite.
>>>>>>
>>>>>> When i check via command line, i get output as expected. it takes a
>>>>>> while, but it works.
>>>>>>
>>>>>> This is what i tried in ini file but no luck:
>>>>>>     timeout win_printers.ps1 = 240
>>>>>>     cache_age win_printers.ps1 = 1800
>>>>>>     retry_count win_printers.ps1 = 1
>>>>>>
>>>>>> i use CMK 1.2.6p10. Remarkable: when i use the windows agent 1.2.6p10
>>>>>> i always get timeouts, when i use 1.2.7i1, i get results in WATO when i
>>>>>> configure sevices (i have to try 2 or 3 times) and sometimes at night (load
>>>>>> is not different then)
>>>>>>
>>>>>> Regards
>>>>>>
>>>>>> Tom
>>>>>>
>>>>>> ------------------------------
>>>>>> Diese E-Mail kann vertrauliche und/oder rechtlich geschützte
>>>>>> Informationen enthalten. Wenn Sie nicht der richtige Adressat sind, so
>>>>>> bitten wir Sie, sofort den Absender zu informieren und diese E-Mail
>>>>>> vollständig zu löschen. Das unerlaubte Kopieren, Weiterleiten, Verbreiten
>>>>>> oder Verwenden dieser E-Mail und deren Inhalte ist nicht gestattet.
>>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> checkmk-en mailing list
>>>>> checkmk-en at lists.mathias-kettner.de
>>>>> http://lists.mathias-kettner.de/mailman/listinfo/checkmk-en
>>>>>
>>>>> We’ll meet in Munich for the 2nd Check_MK Conference!
>>>>> Book your place now and be part of it.
>>>>> October 18th-20th, 2015
>>>>> http://mathias-kettner.com/conference
>>>>
>>>>
>>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mathias-kettner.de/pipermail/checkmk-en/attachments/20151001/e6b966a9/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 5889 bytes
Desc: not available
URL: <http://lists.mathias-kettner.de/pipermail/checkmk-en/attachments/20151001/e6b966a9/attachment-0001.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 6999 bytes
Desc: not available
URL: <http://lists.mathias-kettner.de/pipermail/checkmk-en/attachments/20151001/e6b966a9/attachment-0001.png>


More information about the checkmk-en mailing list