Discussion:
[Check_mk (english)] How to deploy inventory plugin easily
Mohammad Bazouie - NOAA Affiliate
2015-04-30 14:02:47 UTC
Permalink
Hi guys,

I have issue with inventory. Let say, when I deploy the check_mk_agent on
the servers. I receive very poor hardware report. And then, I have to go to
check_mk server and copy the inventory "/omd/
server.example.com/site/share/check_mk/agents/plugins/mk_inventory.linux"
plug-in to the server "/usr/lib/check_mk_agent/plugins".

Is there any way, put this plugin to the agent and deploy that through the
servers or machines ????
Marcel Schulte
2015-04-30 14:23:00 UTC
Permalink
Hi Mohammad,

You have to pack your own agent package including the plug-ins you need.
This cannot be done by the MK guys by default because nobody can know what
a cmk user needs in "his" agent package - one or the other plugin, or both?

Regards,
Marcel

Mohammad Bazouie - NOAA Affiliate <***@noaa.gov> schrieb am
Do., 30. Apr. 2015 16:11:

> Hi guys,
>
> I have issue with inventory. Let say, when I deploy the check_mk_agent on
> the servers. I receive very poor hardware report. And then, I have to go to
> check_mk server and copy the inventory "/omd/
> server.example.com/site/share/check_mk/agents/plugins/mk_inventory.linux"
> plug-in to the server "/usr/lib/check_mk_agent/plugins".
>
> Is there any way, put this plugin to the agent and deploy that through the
> servers or machines ????
> _______________________________________________
> checkmk-en mailing list
> checkmk-***@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.de/conference
Mohammad Bazouie - NOAA Affiliate
2015-04-30 14:40:59 UTC
Permalink
Thanks Marcel for the quick answer.
Should I apply "cmk" command on the check_mk server or check_mk agents
(servers or machines)?

Thank you,
Mohammad

On Thu, Apr 30, 2015 at 9:23 AM, Marcel Schulte <***@gmail.com>
wrote:

> Hi Mohammad,
>
> You have to pack your own agent package including the plug-ins you need.
> This cannot be done by the MK guys by default because nobody can know what
> a cmk user needs in "his" agent package - one or the other plugin, or both?
>
> Regards,
> Marcel
>
> Mohammad Bazouie - NOAA Affiliate <***@noaa.gov> schrieb am
> Do., 30. Apr. 2015 16:11:
>
>> Hi guys,
>>
>> I have issue with inventory. Let say, when I deploy the check_mk_agent on
>> the servers. I receive very poor hardware report. And then, I have to go to
>> check_mk server and copy the inventory "/omd/
>> server.example.com/site/share/check_mk/agents/plugins/mk_inventory.linux"
>> plug-in to the server "/usr/lib/check_mk_agent/plugins".
>>
>> Is there any way, put this plugin to the agent and deploy that through
>> the servers or machines ????
>> _______________________________________________
>> checkmk-en mailing list
>> checkmk-***@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.de/conference
>
>
Marcel Schulte
2015-04-30 15:08:48 UTC
Permalink
No, you have to build your own install package (rpm, deb, whatever) for the
agent including the plug-ins you need. This must be done with your Links
distribution's mechanism. Alternatively copy the plugin to the agents like
you initially mentioned.

Marcel

Mohammad Bazouie - NOAA Affiliate <***@noaa.gov> schrieb am
Do., 30. Apr. 2015 16:41:

> Thanks Marcel for the quick answer.
> Should I apply "cmk" command on the check_mk server or check_mk agents
> (servers or machines)?
>
> Thank you,
> Mohammad
>
> On Thu, Apr 30, 2015 at 9:23 AM, Marcel Schulte <***@gmail.com>
> wrote:
>
>> Hi Mohammad,
>>
>> You have to pack your own agent package including the plug-ins you need.
>> This cannot be done by the MK guys by default because nobody can know what
>> a cmk user needs in "his" agent package - one or the other plugin, or both?
>>
>> Regards,
>> Marcel
>>
>> Mohammad Bazouie - NOAA Affiliate <***@noaa.gov> schrieb am
>> Do., 30. Apr. 2015 16:11:
>>
>>> Hi guys,
>>>
>>> I have issue with inventory. Let say, when I deploy the check_mk_agent
>>> on the servers. I receive very poor hardware report. And then, I have to go
>>> to check_mk server and copy the inventory "/omd/
>>> server.example.com/site/share/check_mk/agents/plugins/mk_inventory.linux"
>>> plug-in to the server "/usr/lib/check_mk_agent/plugins".
>>>
>>> Is there any way, put this plugin to the agent and deploy that through
>>> the servers or machines ????
>>> _______________________________________________
>>> checkmk-en mailing list
>>> checkmk-***@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.de/conference
>>
>>
>
Robert Sander
2015-05-01 16:51:20 UTC
Permalink
Am 30.04.2015 um 16:40 schrieb Mohammad Bazouie - NOAA Affiliate:
> Thanks Marcel for the quick answer.
> Should I apply "cmk" command on the check_mk server or check_mk agents
> (servers or machines)?

As Marcel already answered you need to build the packages yourself.

Or buy the subscription and get the agent bakery with it.

Regards
--
Robert Sander
Heinlein Support GmbH
Schwedter Str. 8/9b, 10119 Berlin

http://www.heinlein-support.de

Tel: 030 / 405051-43
Fax: 030 / 405051-19

Zwangsangaben lt. §35a GmbHG:
HRB 93818 B / Amtsgericht Berlin-Charlottenburg,
Geschäftsführer: Peer Heinlein -- Sitz: Berlin
Lance Tost
2015-05-05 18:13:38 UTC
Permalink
But even with the agent bakery, it does not seem to support all plugins. Is there some way to add my own plugins so the bakery is aware of them?


Thank you,
Lance

________________________________________
From: checkmk-en-***@lists.mathias-kettner.de <checkmk-en-***@lists.mathias-kettner.de> on behalf of Robert Sander <***@heinlein-support.de>
Sent: Friday, May 1, 2015 12:51 PM
To: checkmk-***@lists.mathias-kettner.de
Subject: Re: [Check_mk (english)] How to deploy inventory plugin easily

Am 30.04.2015 um 16:40 schrieb Mohammad Bazouie - NOAA Affiliate:
> Thanks Marcel for the quick answer.
> Should I apply "cmk" command on the check_mk server or check_mk agents
> (servers or machines)?

As Marcel already answered you need to build the packages yourself.

Or buy the subscription and get the agent bakery with it.

Regards
--
Robert Sander
Heinlein Support GmbH
Schwedter Str. 8/9b, 10119 Berlin

https://urldefense.proofpoint.com/v2/url?u=http-3A__www.heinlein-2Dsupport.de&d=AwIF-g&c=rxuyg758I4Zd3CDHNny_Hw&r=IG1JnIFZjjAeb-dpz2SPNF_6BaSzaPzu56FYglLqpI0&m=RkVHTr2qj1BF6OxgV2b3Ep-_ItRMvQv3O-gttaVMUM0&s=GmKYShDY8_JgqnKO9_xX-PxlNq7svSeSTSqB6TIqAmw&e=

Tel: 030 / 405051-43
Fax: 030 / 405051-19

Zwangsangaben lt. §35a GmbHG:
HRB 93818 B / Amtsgericht Berlin-Charlottenburg,
Geschäftsführer: Peer Heinlein -- Sitz: Berlin

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

Well 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.de/conference
Marcel Schulte
2015-05-05 18:43:22 UTC
Permalink
Hi Lance,

There's a rule you can.deploy to do this - on the bakery rules' page search
for "plugin" and you should find it. It's too late for me to search for
myself ;-)

HTH,
Marcel

Lance Tost <***@key-stone.com> schrieb am Di., 5. Mai 2015 20:16:

> But even with the agent bakery, it does not seem to support all plugins.
> Is there some way to add my own plugins so the bakery is aware of them?
>
>
> Thank you,
> Lance
>
> ________________________________________
> From: checkmk-en-***@lists.mathias-kettner.de <
> checkmk-en-***@lists.mathias-kettner.de> on behalf of Robert Sander <
> ***@heinlein-support.de>
> Sent: Friday, May 1, 2015 12:51 PM
> To: checkmk-***@lists.mathias-kettner.de
> Subject: Re: [Check_mk (english)] How to deploy inventory plugin easily
>
> Am 30.04.2015 um 16:40 schrieb Mohammad Bazouie - NOAA Affiliate:
> > Thanks Marcel for the quick answer.
> > Should I apply "cmk" command on the check_mk server or check_mk agents
> > (servers or machines)?
>
> As Marcel already answered you need to build the packages yourself.
>
> Or buy the subscription and get the agent bakery with it.
>
> Regards
> --
> Robert Sander
> Heinlein Support GmbH
> Schwedter Str. 8/9b, 10119 Berlin
>
>
> https://urldefense.proofpoint.com/v2/url?u=http-3A__www.heinlein-2Dsupport.de&d=AwIF-g&c=rxuyg758I4Zd3CDHNny_Hw&r=IG1JnIFZjjAeb-dpz2SPNF_6BaSzaPzu56FYglLqpI0&m=RkVHTr2qj1BF6OxgV2b3Ep-_ItRMvQv3O-gttaVMUM0&s=GmKYShDY8_JgqnKO9_xX-PxlNq7svSeSTSqB6TIqAmw&e=
>
> Tel: 030 / 405051-43
> Fax: 030 / 405051-19
>
> Zwangsangaben lt. §35a GmbHG:
> HRB 93818 B / Amtsgericht Berlin-Charlottenburg,
> GeschÀftsfÌhrer: Peer Heinlein -- Sitz: Berlin
>
> _______________________________________________
> checkmk-en mailing list
> checkmk-***@lists.mathias-kettner.de
> http://lists.mathias-kettner.de/mailman/listinfo/checkmk-en
>
> Well 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.de/conference
>
Lance Tost
2015-05-06 19:29:53 UTC
Permalink
Do you mean this section?

http://snag.gy/UZdFc.jpg


That still doesn't allow me to add my own plugins (ie., plugins I wrote or downloaded).


Thank you,
Lance
________________________________
From: Marcel Schulte <***@gmail.com>
Sent: Tuesday, May 5, 2015 2:43 PM
To: Lance Tost; Robert Sander; checkmk-***@lists.mathias-kettner.de
Subject: Re: [Check_mk (english)] How to deploy inventory plugin easily


Hi Lance,

There's a rule you can.deploy to do this - on the bakery rules' page search for "plugin" and you should find it. It's too late for me to search for myself ;-)

HTH,
Marcel

Lance Tost <***@key-stone.com<mailto:***@key-stone.com>> schrieb am Di., 5. Mai 2015 20:16:
But even with the agent bakery, it does not seem to support all plugins. Is there some way to add my own plugins so the bakery is aware of them?


Thank you,
Lance

________________________________________
From: checkmk-en-***@lists.mathias-kettner.de<mailto:checkmk-en-***@lists.mathias-kettner.de> <checkmk-en-***@lists.mathias-kettner.de<mailto:checkmk-en-***@lists.mathias-kettner.de>> on behalf of Robert Sander <***@heinlein-support.de<mailto:***@heinlein-support.de>>
Sent: Friday, May 1, 2015 12:51 PM
To: checkmk-***@lists.mathias-kettner.de<mailto:checkmk-***@lists.mathias-kettner.de>
Subject: Re: [Check_mk (english)] How to deploy inventory plugin easily

Am 30.04.2015 um 16:40 schrieb Mohammad Bazouie - NOAA Affiliate:
> Thanks Marcel for the quick answer.
> Should I apply "cmk" command on the check_mk server or check_mk agents
> (servers or machines)?

As Marcel already answered you need to build the packages yourself.

Or buy the subscription and get the agent bakery with it.

Regards
--
Robert Sander
Heinlein Support GmbH
Schwedter Str. 8/9b, 10119 Berlin

https://urldefense.proofpoint.com/v2/url?u=http-3A__www.heinlein-2Dsupport.de&d=AwIF-g&c=rxuyg758I4Zd3CDHNny_Hw&r=IG1JnIFZjjAeb-dpz2SPNF_6BaSzaPzu56FYglLqpI0&m=RkVHTr2qj1BF6OxgV2b3Ep-_ItRMvQv3O-gttaVMUM0&s=GmKYShDY8_JgqnKO9_xX-PxlNq7svSeSTSqB6TIqAmw&e=

Tel: 030 / 405051-43
Fax: 030 / 405051-19

Zwangsangaben lt. ?35a GmbHG:
HRB 93818 B / Amtsgericht Berlin-Charlottenburg,
Gesch?ftsf?hrer: Peer Heinlein -- Sitz: Berlin

_______________________________________________
checkmk-en mailing list
checkmk-***@lists.mathias-kettner.de<mailto:checkmk-***@lists.mathias-kettner.de>
http://lists.mathias-kettner.de/mailman/listinfo/checkmk-en<https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.mathias-2Dkettner.de_mailman_listinfo_checkmk-2Den&d=AwMFaQ&c=rxuyg758I4Zd3CDHNny_Hw&r=IG1JnIFZjjAeb-dpz2SPNF_6BaSzaPzu56FYglLqpI0&m=UbCRAQIFI9-8fm4h6botaIacqOlo4nY7tBXeWnjHriU&s=c_7Enh-cxjjFU8rcoSdm8IXLoVwXar3X7k4MAAIY6jw&e=>

Well 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.de/conference<https://urldefense.proofpoint.com/v2/url?u=http-3A__mathias-2Dkettner.de_conference&d=AwMFaQ&c=rxuyg758I4Zd3CDHNny_Hw&r=IG1JnIFZjjAeb-dpz2SPNF_6BaSzaPzu56FYglLqpI0&m=UbCRAQIFI9-8fm4h6botaIacqOlo4nY7tBXeWnjHriU&s=9S8p-xfYA2S0tJuqMJvwSbhGDvJ14dKb9kss1zQpwxQ&e=>
Marcel Schulte
2015-05-06 19:48:29 UTC
Permalink
Hi Lance,

No, I meant 'rules -> section "linux agent" -> Plugins, local checks and
MRPE for non-root users'.

...but I just saw this is only to configure extra paths to plugins, not to
include those plugin files themselves.

Did not test it myself yet but it could be possible to create your own
rules like for your own checktypes: create a file syntactically like
~/share/check_mk/web/plugins/wato/agent_bakery.py in
~/local/share/check_mk/web/plugins/wato/ and configure your plugins' rules.
You may have to implement a file in ~/local/share/check_mk/agents/bakery/,
too, just watch the files in ~/share/check_mk/agents/bakery/ for examples.

Regards,
Marcel


Lance Tost <***@key-stone.com> schrieb am Mi., 6. Mai 2015 um
21:29 Uhr:

> Do you mean this section?
>
> http://snag.gy/UZdFc.jpg
>
>
> That still doesn't allow me to add my own plugins (ie., plugins I wrote
> or downloaded).
>
>
>
> Thank you,
> Lance
> ------------------------------
> *From:* Marcel Schulte <***@gmail.com>
> *Sent:* Tuesday, May 5, 2015 2:43 PM
> *To:* Lance Tost; Robert Sander; checkmk-***@lists.mathias-kettner.de
>
> *Subject:* Re: [Check_mk (english)] How to deploy inventory plugin easily
>
> Hi Lance,
>
> There's a rule you can.deploy to do this - on the bakery rules' page
> search for "plugin" and you should find it. It's too late for me to search
> for myself ;-)
>
> HTH,
> Marcel
>
> Lance Tost <***@key-stone.com> schrieb am Di., 5. Mai 2015 20:16:
>
>> But even with the agent bakery, it does not seem to support all plugins.
>> Is there some way to add my own plugins so the bakery is aware of them?
>>
>>
>> Thank you,
>> Lance
>>
>> ________________________________________
>> From: checkmk-en-***@lists.mathias-kettner.de <
>> checkmk-en-***@lists.mathias-kettner.de> on behalf of Robert Sander <
>> ***@heinlein-support.de>
>> Sent: Friday, May 1, 2015 12:51 PM
>> To: checkmk-***@lists.mathias-kettner.de
>> Subject: Re: [Check_mk (english)] How to deploy inventory plugin easily
>>
>> Am 30.04.2015 um 16:40 schrieb Mohammad Bazouie - NOAA Affiliate:
>> > Thanks Marcel for the quick answer.
>> > Should I apply "cmk" command on the check_mk server or check_mk agents
>> > (servers or machines)?
>>
>> As Marcel already answered you need to build the packages yourself.
>>
>> Or buy the subscription and get the agent bakery with it.
>>
>> Regards
>> --
>> Robert Sander
>> Heinlein Support GmbH
>> Schwedter Str. 8/9b, 10119 Berlin
>>
>>
>> https://urldefense.proofpoint.com/v2/url?u=http-3A__www.heinlein-2Dsupport.de&d=AwIF-g&c=rxuyg758I4Zd3CDHNny_Hw&r=IG1JnIFZjjAeb-dpz2SPNF_6BaSzaPzu56FYglLqpI0&m=RkVHTr2qj1BF6OxgV2b3Ep-_ItRMvQv3O-gttaVMUM0&s=GmKYShDY8_JgqnKO9_xX-PxlNq7svSeSTSqB6TIqAmw&e=
>>
>> Tel: 030 / 405051-43
>> Fax: 030 / 405051-19
>>
>> Zwangsangaben lt. §35a GmbHG:
>> HRB 93818 B / Amtsgericht Berlin-Charlottenburg,
>> GeschÀftsfÌhrer: Peer Heinlein -- Sitz: Berlin
>>
>> _______________________________________________
>> checkmk-en mailing list
>> checkmk-***@lists.mathias-kettner.de
>> http://lists.mathias-kettner.de/mailman/listinfo/checkmk-en
>> <https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.mathias-2Dkettner.de_mailman_listinfo_checkmk-2Den&d=AwMFaQ&c=rxuyg758I4Zd3CDHNny_Hw&r=IG1JnIFZjjAeb-dpz2SPNF_6BaSzaPzu56FYglLqpI0&m=UbCRAQIFI9-8fm4h6botaIacqOlo4nY7tBXeWnjHriU&s=c_7Enh-cxjjFU8rcoSdm8IXLoVwXar3X7k4MAAIY6jw&e=>
>>
>> Well 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.de/conference
>> <https://urldefense.proofpoint.com/v2/url?u=http-3A__mathias-2Dkettner.de_conference&d=AwMFaQ&c=rxuyg758I4Zd3CDHNny_Hw&r=IG1JnIFZjjAeb-dpz2SPNF_6BaSzaPzu56FYglLqpI0&m=UbCRAQIFI9-8fm4h6botaIacqOlo4nY7tBXeWnjHriU&s=9S8p-xfYA2S0tJuqMJvwSbhGDvJ14dKb9kss1zQpwxQ&e=>
>>
>
Continue reading on narkive:
Search results for '[Check_mk (english)] How to deploy inventory plugin easily' (Questions and Answers)
3
replies
what is Drupal? Please explain?
started 2011-12-08 21:26:56 UTC
programming & design
Loading...