Hi Marcel,

Thanks for your reply!
I got it working now ☺

Will sent such questions on the other lists in future.
My apologies

Kind regards,
Dennis

From: Marcel Schulte <[email protected]>
Date: 8-19-2016 at 09:18
To: Dennis Sweben <[email protected]>, "[email protected]" 
<[email protected]>
Subject: Re: [omd-users] Custom plugin not showing


Hi Dennis,

this is the OMD list, better ask CMK specific questions in the CMK list!

CMK does not know what to do with the reported section. Either write a CMK 
check at CMK server side or implement the plugin as local check.

Both is documented here: http://mathias-kettner.com/checkmk.html

Regards,
Marcel

Dennis Sweben <[email protected]<mailto:[email protected]>> schrieb am 
Fr., 19. Aug. 2016 09:05:
Hi all,

I’m trying to setup a custom plugin on a windows server.
The plugin is not running every minute, but actually there is a cronjob running 
it, and updating a txt file.
Path: C:\defragmentation.txt
This file contains:
you don't have to defrag c:|c_file_fragmentation=1%
you don't have to defrag d:|c_file_fragmentation=0%

And I put a .bat file in the plugin folder of the agent.
Containing:
@echo off
echo ^<^<^<disk_fragmentations^>^>^>
type c:\defragmentation.txt

Now when I open a telnet to the check_mk port on that server, I clearly see it 
in the output;
<<<win_fragmentations>>>
you don't have to defrag c:|c_file_fragmentation=1%
you don't have to defrag d:|c_file_fragmentation=0%
<<<local>>>
<<<mrpe>>>
<<<systemtime>>>
1471590108

Now my question is, why is check_mk not picking it up, and how should I fix 
this?
I tried some other things in the past, which did not work eiter…

I hope it’s something small ☺

Thanks in advance!
_______________________________________________
omd-users mailing list
[email protected]<mailto:[email protected]>
http://lists.mathias-kettner.de/mailman/listinfo/omd-users
_______________________________________________
omd-users mailing list
[email protected]
http://lists.mathias-kettner.de/mailman/listinfo/omd-users

Reply via email to