Actually, maybe not a bug fix but just doing the plugin tutorial...

> On Sep 16, 2016, at 12:16 PM, Patrick Gavin <patrick.ga...@humboldt.edu> 
> wrote:
> 
> Hi Marcel-
> 
> Haha! I totally forgot that I did a custom diskstat a long time ago to fix 
> some bug. That was it.
> 
> Thanks!
> 
> -P
> 
>> On Sep 15, 2016, at 10:33 PM, Marcel Schulte <schulte.mar...@gmail.com 
>> <mailto:schulte.mar...@gmail.com>> wrote:
>> 
>> Hi Patrick,
>> 
>> generally rediscovery ("cmk -II AFFECTEDHOSTNAME") and reload/restart 
>> afterwards ("cmk -O/-R") should work as long as you don't have custom 
>> diskstat and/or diskstat.include files in ~/local/share/check_mk/checks/...
>> 
>> Regards,
>> Marcel
>> 
>> 
>> Patrick Gavin <patrick.ga...@humboldt.edu 
>> <mailto:patrick.ga...@humboldt.edu>> schrieb am Do., 15. Sep. 2016 20:17:
>> FWIW-
>> 
>> A new omd site created from scratch does not exhibit this problem.
>> 
>> -Patrick
>>> On Sep 15, 2016, at 4:40 AM, Thomas Wittmann <tom.t...@gmail.com 
>>> <mailto:tom.t...@gmail.com>> wrote:
>>> 
>> 
>>> Just an idea....
>>> got an OMD installation? If so go to 
>>> /opt/omd/sites/sitename/var/check_mk/autochecks/hostname.mk 
>>> <http://hostname.mk/> , delete the specific hostname.mk 
>>> <http://hostname.mk/> and do omd restart
>>> 
>>> Tom
>>> 
>>> 2016-09-14 17:07 GMT+02:00 Patrick Gavin <patrick.ga...@humboldt.edu 
>>> <mailto:patrick.ga...@humboldt.edu>>:
>>> Hi Andreas-
>>> 
>>> Reinventory does not resolve the issue. I’ve even tried deleting a host and 
>>> then adding it again, but the problem persists.
>>> Patrick Gavin
>>> Systems Administrator
>>> Central IT Systems & Services
>>> Humboldt State University
>>> Email: patrick.ga...@humboldt.edu <mailto:patrick.ga...@humboldt.edu>
>>> Phone:(707)826-6058 <tel:%28707%29826-6058>
>>>> On Sep 13, 2016, at 9:16 PM, Andreas Döhler <andreas.doeh...@gmail.com 
>>>> <mailto:andreas.doeh...@gmail.com>> wrote:
>>>> 
>>>> Hi Patrick,
>>>> 
>>>> Make a reinventory of the affected hosts and the problem should be gone.
>>>> 
>>>> Best regards
>>>> Andreas
>>>> 
>>>> Patrick Gavin <patrick.ga...@humboldt.edu 
>>>> <mailto:patrick.ga...@humboldt.edu>> schrieb am Mi., 14. Sep. 2016 um 
>>>> 00:07:
>>>> Hi-
>>>> 
>>>> I just upgraded to 1.2.8p10 from 1.2.6p12 and it appears to be working 
>>>> except for esxi disk and datastore io checks. These crash on service 
>>>> discovery.
>>>> 
>>>> I get the following stack trace:
>>>> 
>>>> Traceback (most recent call last):
>>>>   File "/omd/sites/sysmon/share/check_mk/modules/check_mk.py", line 5290, 
>>>> in <module>
>>>>     exit_status = do_check(hostname, ipaddress, check_types)
>>>>   File "/omd/sites/sysmon/share/check_mk/modules/check_mk_base.py", line 
>>>> 1213, in do_check
>>>>     do_all_checks_on_host(hostname, ipaddress, only_check_types)
>>>>   File "/omd/sites/sysmon/share/check_mk/modules/check_mk_base.py", line 
>>>> 1476, in do_all_checks_on_host
>>>>     result = sanitize_check_result(check_function(item, params, info), 
>>>> check_uses_snmp(checkname))
>>>>   File "/omd/sites/sysmon/share/check_mk/checks/esx_vsphere_counters", 
>>>> line 185, in check_esx_vsphere_counters_datastoreio
>>>>     return check_diskstat_dict(item, params, datastores)
>>>> NameError: global name 'check_diskstat_dict' is not defined
>>>> 
>>>> Anyone else seeing this?
>>>> Patrick Gavin
>>>> Systems Administrator
>>>> Central IT Systems & Services
>>>> Humboldt State University
>>>> Email: patrick.ga...@humboldt.edu <mailto:patrick.ga...@humboldt.edu>
>>>> Phone:(707)826-6058 <tel:%28707%29826-6058>
>>>> _______________________________________________
>>>> checkmk-en mailing list
>>>> checkmk-en@lists.mathias-kettner.de 
>>>> <mailto:checkmk-en@lists.mathias-kettner.de>
>>>> http://lists.mathias-kettner.de/mailman/listinfo/checkmk-en 
>>>> <http://lists.mathias-kettner.de/mailman/listinfo/checkmk-en>
>>> 
>>> _______________________________________________
>>> checkmk-en mailing list
>>> checkmk-en@lists.mathias-kettner.de 
>>> <mailto:checkmk-en@lists.mathias-kettner.de>
>>> http://lists.mathias-kettner.de/mailman/listinfo/checkmk-en 
>>> <http://lists.mathias-kettner.de/mailman/listinfo/checkmk-en>
>>> 
>> _______________________________________________
>> checkmk-en mailing list
>> checkmk-en@lists.mathias-kettner.de 
>> <mailto:checkmk-en@lists.mathias-kettner.de>
>> http://lists.mathias-kettner.de/mailman/listinfo/checkmk-en 
>> <http://lists.mathias-kettner.de/mailman/listinfo/checkmk-en>

_______________________________________________
checkmk-en mailing list
checkmk-en@lists.mathias-kettner.de
http://lists.mathias-kettner.de/mailman/listinfo/checkmk-en

Reply via email to