Discussion:
[Check_mk (english)] How to use "Automatic agent updates" on 1.2.8p4?
Radosław Bąk
2016-06-22 12:16:40 UTC
Permalink
Hi All,

I want try use "Automatic agent updates" option for few hosts, but i don't know how to "register agents"? I installed on host signed agent package with configured option "automatic agent updates". What to do to register host/agent?

State Edit Test Details

Signature keys You have created 1 signature keys for signing agents

Configuration of update plugin You have 1 rules for deploying the update plugin

Baked agents You have 5 baked agents containing the update plugin

Signed agents You have signed some or all agent packages
Registered agents Number of agents that have registered for updates: 0

Master switch Agent updates are enabled


Pozdrawiam,
Radosław Bąk
Robert Sander
2016-06-22 12:24:22 UTC
Permalink
Post by Radosław Bąk
Hi All,
What to do to
register host/agent?
You have to go to the host and run the cmk-update-agent plugin with the
argument "register".

e.g.

/usr/lib/check_mk_agent/plugins/3600/cmk-update-plugin register

if you have a 1 hour schedule for the updater plugin.

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
Marcel Schulte
2016-06-22 12:45:34 UTC
Permalink
Hi Radosław,

agent deployment is documented here (currently only in German but I think
translate.google.com will love doing the job for you):
http://mathias-kettner.de/cms_agent_deployment.html

HTH,
Marcel
Hi All,

I want try use "Automatic agent updates" option for few hosts, but i don't
know how to "register agents"? I installed on host signed agent package
with configured option "automatic agent updates". What to do to register
host/agent?

StateEditTestDetails
<http://192.168.89.38/waw1/check_mk/wato.py?mode=signature_keys>
Signature keys You have created 1 signature keys
<http://192.168.89.38/waw1/check_mk/wato.py?mode=signature_keys> for
signing agents
<http://192.168.89.38/waw1/check_mk/wato.py?mode=edit_ruleset&varname=agent_config:cmk_update_agent>
Configuration of update plugin You have 1 rules
<http://192.168.89.38/waw1/check_mk/wato.py?mode=edit_ruleset&varname=agent_config:cmk_update_agent>
for deploying the update plugin
<http://192.168.89.38/waw1/check_mk/wato.py?mode=agents>
Baked agents You have 5 baked agents containing the update plugin
<http://192.168.89.38/waw1/check_mk/wato.py?mode=agents&_sign=all>
Signed agents You have signed some or all agent packages
Registered agents Number of agents that have registered for updates: 0
<http://192.168.89.38/waw1/check_mk/wato.py?_action=toggle&_transid=1466597397/4283678010&folder=&mode=agent_deployment>
Master switch Agent updates are enabled


Pozdrawiam,
Radosław Bąk
Radosław Bąk
2016-06-22 13:08:17 UTC
Permalink
Hi Marcel,

Thanks a lot for this link. I done without any problems but i have an additional question, i registered few hosts and now i want unregister one of them - how to do this?

Pozdrawiam,
Radosław Bąk

----- Oryginalna wiadomość -----
Od: "Schulte Marcel" <***@gmail.com>
Do: "Radosław Bąk" <***@ipopema.pl>, checkmk-***@lists.mathias-kettner.de
Wysłane: środa, 22 czerwiec 2016 14:45:34
Temat: Re: [Check_mk (english)] How to use "Automatic agent updates" on 1.2.8p4?

Hi Radosław,

agent deployment is documented here (currently only in German but I think
translate.google.com will love doing the job for you):
http://mathias-kettner.de/cms_agent_deployment.html

HTH,
Marcel
Hi All,

I want try use "Automatic agent updates" option for few hosts, but i don't
know how to "register agents"? I installed on host signed agent package
with configured option "automatic agent updates". What to do to register
host/agent?

StateEditTestDetails
<http://192.168.89.38/waw1/check_mk/wato.py?mode=signature_keys>
Signature keys You have created 1 signature keys
<http://192.168.89.38/waw1/check_mk/wato.py?mode=signature_keys> for
signing agents
<http://192.168.89.38/waw1/check_mk/wato.py?mode=edit_ruleset&varname=agent_config:cmk_update_agent>
Configuration of update plugin You have 1 rules
<http://192.168.89.38/waw1/check_mk/wato.py?mode=edit_ruleset&varname=agent_config:cmk_update_agent>
for deploying the update plugin
<http://192.168.89.38/waw1/check_mk/wato.py?mode=agents>
Baked agents You have 5 baked agents containing the update plugin
<http://192.168.89.38/waw1/check_mk/wato.py?mode=agents&_sign=all>
Signed agents You have signed some or all agent packages
Registered agents Number of agents that have registered for updates: 0
<http://192.168.89.38/waw1/check_mk/wato.py?_action=toggle&_transid=1466597397/4283678010&folder=&mode=agent_deployment>
Master switch Agent updates are enabled


Pozdrawiam,
Radosław Bąk


_______________________________________________
checkmk-en mailing list
checkmk-***@lists.mathias-kettner.de
http://lists.mathias-kettner.de/mailman/listinfo/checkmk-en
Marcel Schulte
2016-06-22 14:24:54 UTC
Permalink
Sorry, I don't know that yet, have to learn some things first ;)

Marcel
Post by Radosław Bąk
Hi Marcel,
Thanks a lot for this link. I done without any problems but i have an
additional question, i registered few hosts and now i want unregister one
of them - how to do this?
Pozdrawiam,
Radosław Bąk
----- Oryginalna wiadomość -----
Wysłane: środa, 22 czerwiec 2016 14:45:34
Temat: Re: [Check_mk (english)] How to use "Automatic agent updates" on 1.2.8p4?
Hi Radosław,
agent deployment is documented here (currently only in German but I think
http://mathias-kettner.de/cms_agent_deployment.html
HTH,
Marcel
Hi All,
I want try use "Automatic agent updates" option for few hosts, but i don't
know how to "register agents"? I installed on host signed agent package
with configured option "automatic agent updates". What to do to register
host/agent?
StateEditTestDetails
<http://192.168.89.38/waw1/check_mk/wato.py?mode=signature_keys>
Signature keys You have created 1 signature keys
<http://192.168.89.38/waw1/check_mk/wato.py?mode=signature_keys> for
signing agents
<
http://192.168.89.38/waw1/check_mk/wato.py?mode=edit_ruleset&varname=agent_config:cmk_update_agent
Configuration of update plugin You have 1 rules
<
http://192.168.89.38/waw1/check_mk/wato.py?mode=edit_ruleset&varname=agent_config:cmk_update_agent
for deploying the update plugin
<http://192.168.89.38/waw1/check_mk/wato.py?mode=agents>
Baked agents You have 5 baked agents containing the update plugin
<http://192.168.89.38/waw1/check_mk/wato.py?mode=agents&_sign=all>
Signed agents You have signed some or all agent packages
Registered agents Number of agents that have registered for updates: 0
<
http://192.168.89.38/waw1/check_mk/wato.py?_action=toggle&_transid=1466597397/4283678010&folder=&mode=agent_deployment
Master switch Agent updates are enabled
Pozdrawiam,
Radosław Bąk
_______________________________________________
checkmk-en mailing list
http://lists.mathias-kettner.de/mailman/listinfo/checkmk-en
Loading...