Skip to content

Commit 9100f50

Browse files
committed
KNW-1727 ready for review
1 parent 9fa0590 commit 9100f50

File tree

6 files changed

+45
-30
lines changed

6 files changed

+45
-30
lines changed

src/common/de/cmc_differences.asciidoc

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// -*- coding: utf-8 -*-
22
// IGNORE % Linge lt site_name
3-
// SKIPCOMMITS 2025-07-17
3+
// SKIPCOMMITS 2025-08-21
44
include::global_attr.adoc[]
55
= Besonderheiten des CMC
66
:revdate: 2024-09-02
@@ -273,7 +273,10 @@ Die Vorteile:
273273
* Einfachere Implementierung mit deutlich mehr Stabilität.
274274

275275
ifdef::onprem[]
276-
Das Neuanlegen von RRDs erledigt der CMC mit einem weiteren Helper, der per `cmk --create-rrd` aufgerufen wird.
276+
// Das Neuanlegen von RRDs erledigt der CMC mit einem weiteren Helper, der per `cmk --create-rrd` aufgerufen wird. // alter Befehl
277+
Das Neuanlegen von RRDs erledigt der CMC mit einem weiteren Helper.
278+
// ES: Der Befehl selbst wird ja durch den CMC ausgeführt und nicht durch den Benutzer. Eigentlich braucht es hier keine Details zum Aufruf des Helpers, oder? Falls doch:
279+
// Das Neuanlegen von RRDs erledigt der CMC mit einem weiteren Helper, der per `cmk-create-rrd` aufgerufen wird. // neuer Befehl seit https://checkmk.com/de/werk/17387
277280
Dieser legt die Dateien wahlweise kompatibel zu PNP an oder alternativ im neuen {CMK}-Format (gilt nur für Neuinstallationen).
278281
Ein Wechsel von Nagios auf CMC hat daher keinen Einfluss auf bestehende RRD-Dateien.
279282
Diese werden nahtlos weiter gepflegt.

src/common/de/graphing.asciidoc

Lines changed: 15 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -524,18 +524,21 @@ dann nicht mehr Minuten bedeuten, sondern die in [.guihint]#Step (precision)# ei
524524
Zeitspanne.
525525

526526
Jede Änderung des RRD-Aufbaus hat zunächst nur Einfluss auf
527-
*neu angelegte* RRDs -- sprich wenn Sie neue Hosts oder Services in das
527+
*neu angelegte* RRDs -- sprich: wenn Sie neue Hosts oder Services in das
528528
Monitoring aufnehmen. Sie können aber die bestehenden RRDs von {CMK} umbauen
529-
lassen. Dazu dient der Befehl `cmk --convert-rrds`, bei welchem sich
529+
lassen. Dazu dient der Befehl `cmk-convert-rrds`, bei welchem sich
530530
immer die Option `-v` (verbose) anbietet. {CMK} kontrolliert dann
531531
alle vorhandenen RRDs und baut diese nach Bedarf in das eingestellte
532532
Zielformat um.
533533

534-
*Wichtig:* Um die Integrität der in den RRDs enthaltenen Daten sicherzustellen, stoppen Sie stets Ihre Instanz (mit `omd stop`) *bevor* Sie mit `cmk --convert-rrds` existierende RRDs konvertieren.
534+
[IMPORTANT]
535+
====
536+
Um die Integrität der in den RRDs enthaltenen Daten sicherzustellen, stoppen Sie stets Ihre Instanz (mit `omd stop`), *bevor* Sie mit `cmk-convert-rrds` existierende RRDs konvertieren.
537+
====
535538

536539
[{shell}]
537540
----
538-
{c-omd} cmk -v --convert-rrds
541+
{c-omd} cmk-convert-rrds -v
539542
myserver012:
540543
Uptime (CMC).....converted, 376 KB -> 159 KB
541544
Filesystem / (CMC).....converted, 1873 KB -> 792 KB
@@ -550,7 +553,7 @@ Der Befehl ist intelligent genug, um RRDs zu erkennen, die bereits den
550553
richtigen Aufbau haben:
551554
[{shell}]
552555
----
553-
{c-omd} cmk -v --convert-rrds
556+
{c-omd} cmk-convert-rrds -v
554557
myserver345:
555558
Uptime (CMC).....uptodate
556559
Filesystem / (CMC).....uptodate
@@ -592,20 +595,20 @@ Format konvertiert worden sind. Sollten die Daten noch im alten Format
592595
vorliegen, können Sie diese über das Anlegen einer Regel im oben gezeigten
593596
Regelsatz auf das {CMK}-Format umstellen.
594597

595-
Auch hier benötigen Sie anschließend den Befehl `cmk --convert-rrds`, und auch hier gilt: Stoppen Sie stets Ihre Instanz, bevor Sie existierende RRDs konvertieren.
598+
Auch hier benötigen Sie anschließend den Befehl `cmk-convert-rrds`, und auch hier gilt: Stoppen Sie stets Ihre Instanz, bevor Sie existierende RRDs konvertieren.
596599

597600
[{shell}]
598601
----
599-
{c-omd} cmk -v --convert-rrds
602+
{c-omd} cmk-convert-rrds -v
600603
myhost123:
601604
Uptime PNP -> CMC..converted.
602-
WARNING: Dupliate RRDs for stable/Uptime. Use --delete-rrds for cleanup.
605+
WARNING: Duplicate RRDs for stable/Uptime. Use --delete-rrds for cleanup.
603606
OMD mysite apache PNP -> CMC..converted.
604-
WARNING: Dupliate RRDs for stable/OMD mysite apache. Use --delete-rrds for cleanup.
607+
WARNING: Duplicate RRDs for stable/OMD mysite apache. Use --delete-rrds for cleanup.
605608
fs_/home/user PNP -> CMC..converted.
606-
WARNING: Dupliate RRDs for stable/fs_/home/user. Use --delete-rrds for cleanup.
609+
WARNING: Duplicate RRDs for stable/fs_/home/user. Use --delete-rrds for cleanup.
607610
OMD mysite apache PNP -> CMC..converted.
608-
WARNING: Dupliate RRDs for stable/OMD mysite apache. Use --delete-rrds for cleanup.
611+
WARNING: Duplicate RRDs for stable/OMD mysite apache. Use --delete-rrds for cleanup.
609612
Memory PNP -> CMC..converted.
610613
...
611614
----
@@ -619,7 +622,7 @@ bequem später mit einem weiteren Aufruf des Befehls erledigen:
619622

620623
[{shell}]
621624
----
622-
{c-omd} cmk -v --convert-rrds --delete-rrds
625+
{c-omd} cmk-convert-rrds -v --delete-rrds
623626
----
624627
endif::[]
625628

src/common/en/cmc_differences.asciidoc

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// -*- coding: utf-8 -*-
22
// IGNORE % Jörg Linge lt site_name
3-
// SKIPCOMMITS 2025-07-17
3+
// SKIPCOMMITS 2025-08-21
44
include::global_attr.adoc[]
55
= Special characteristics of the CMC
66
:revdate: 2024-09-02
@@ -269,7 +269,10 @@ The advantages:
269269
* Simpler implementation with markedly more stability
270270

271271
ifdef::onprem[]
272-
The installation of new RRDs is performed by the CMC with a further helper, activated by `cmk --create-rrd`.
272+
The installation of new RRDs is performed by the CMC with a further helper.
273+
// , activated by `cmk --create-rrd`. // old command
274+
// , activated by `cmk-create-rrd`. // new command since https://checkmk.com/de/werk/17387
275+
// ES: see my comments in the German version of this article
273276
This optionally creates files compatible with PNP, or with the new {CMK} format (only for new installations).
274277
A switch from Nagios to CMC has no effect on existing RRD files -- these will be seamlessly carried-over and will continue to be maintained.
275278

src/common/en/graphing.asciidoc

Lines changed: 15 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
// -*- coding: utf-8 -*-
22
// IGNORE % + 1m @
3+
// SKIPCOMMITS 2025-08-21
34
include::global_attr.adoc[]
45
= Measured values and graphing
56
:revdate: 2025-07-14
@@ -497,16 +498,19 @@ represent minutes, but instead the time interval set in [.guihint]#Step (precisi
497498
Every change to the RRD structure initially has an effect only on
498499
*newly created* RRDs -- that is to say, on hosts or services
499500
newly-incorporated into the monitoring. You can also allow {CMK} to
500-
restructure existing RRDs. This is performed by the `cmk --convert-rrds`
501+
restructure existing RRDs. This is performed by the `cmk-convert-rrds`
501502
command, for which the `-v` (verbose) option is always available.
502503
{CMK} will then inspect all existing RRDs and restructure them as needed
503504
into the defined target format.
504505

505-
*Important:* To ensure the integrity of the data contained in the RRDs, always stop your site (with `omd stop`) *before* converting existing RRDs with `cmk --convert-rrds`.
506+
[IMPORTANT]
507+
====
508+
To ensure the integrity of the data contained in the RRDs, always stop your site (with `omd stop`) *before* converting existing RRDs with `cmk-convert-rrds`.
509+
====
506510

507511
[{shell}]
508512
----
509-
{c-omd} cmk -v --convert-rrds
513+
{c-omd} cmk-convert-rrds -v
510514
myserver012:
511515
Uptime (CMC).....converted, 376 KB -> 159 KB
512516
Filesystem / (CMC).....converted, 1873 KB -> 792 KB
@@ -522,7 +526,7 @@ desired structure:
522526

523527
[{shell}]
524528
----
525-
{c-omd} cmk -v --convert-rrds
529+
{c-omd} cmk-convert-rrds -v
526530
myserver345:
527531
Uptime (CMC).....uptodate
528532
Filesystem / (CMC).....uptodate
@@ -562,20 +566,20 @@ data was ever converted to the current and much more efficient format. Should th
562566
data still be stored in PNP format you can convert it into the {CMK} format by
563567
applying a rule as shown in the rule set above.
564568

565-
Here, too, you will also require the `cmk --convert-rrds` command, and again, always stop your site before converting existing RRDs.
569+
Here, too, you will also require the `cmk-convert-rrds` command, and again, always stop your site before converting existing RRDs.
566570

567571
[{shell}]
568572
----
569-
{c-omd} cmk -v --convert-rrds
573+
{c-omd} cmk-convert-rrds -v
570574
myhost123:
571575
Uptime PNP -> CMC..converted.
572-
WARNING: Dupliate RRDs for stable/Uptime. Use --delete-rrds for cleanup.
576+
WARNING: Duplicate RRDs for stable/Uptime. Use --delete-rrds for cleanup.
573577
OMD mysite apache PNP -> CMC..converted.
574-
WARNING: Dupliate RRDs for stable/OMD mysite apache. Use --delete-rrds for cleanup.
578+
WARNING: Duplicate RRDs for stable/OMD mysite apache. Use --delete-rrds for cleanup.
575579
fs_/home/user PNP -> CMC..converted.
576-
WARNING: Dupliate RRDs for stable/fs_/home/user. Use --delete-rrds for cleanup.
580+
WARNING: Duplicate RRDs for stable/fs_/home/user. Use --delete-rrds for cleanup.
577581
OMD mysite apache PNP -> CMC..converted.
578-
WARNING: Dupliate RRDs for stable/OMD mysite apache. Use --delete-rrds for cleanup.
582+
WARNING: Duplicate RRDs for stable/OMD mysite apache. Use --delete-rrds for cleanup.
579583
Memory PNP -> CMC..converted.
580584
...
581585
----
@@ -589,7 +593,7 @@ command:
589593

590594
[{shell}]
591595
----
592-
{c-omd} cmk -v --convert-rrds --delete-rrds
596+
{c-omd} cmk-convert-rrds -v --delete-rrds
593597
----
594598
endif::[]
595599

src/onprem/de/cmk_commandline.asciidoc

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// -*- coding: utf-8 -*-
22
// IGNORE % Benachrichtigungs WATO
33
// NONASCII ├ ─ └ │ …​ °
4-
// SKIPCOMMITS 2025-07-22
4+
// SKIPCOMMITS 2025-08-21
55
include::global_attr.adoc[]
66
= {CMK} auf der Kommandozeile
77
:revdate: 2024-03-06
@@ -588,7 +588,8 @@ Hier folgt die Übersicht der Optionen, die wir in diesem Kapitel, aber auch an
588588
|`cmk --update-dns-cache` |Löscht den DNS-Cache und erzeugt ihn neu. Details zum DNS-Cache finden Sie im xref:hosts_setup#dns[Artikel über die Hosts.] Dieser Befehl wird in einer {CMK}-Instanz standardmäßig einmal am Tag per Cronjob durchgeführt.
589589
|`cmk --cleanup-piggyback` |Löscht alle veralteten xref:piggyback#[Piggyback-Daten] im Verzeichnis `tmp/check_mk/piggyback/`. Dieser Befehl wird in einer {CMK}-Instanz standardmäßig einmal am Tag per Cronjob durchgeführt.
590590
|`cmk -P` |xref:mkps#commandline[MKPs verwalten]
591-
|`cmk --convert-rrds` |xref:graphing#customise_rrds[RRDs konvertieren]
591+
// |`cmk --convert-rrds` |xref:graphing#customise_rrds[RRDs konvertieren]
592+
// ES: Dieser Befehl heißt jetzt cmk-convert-rrds und passt damit nicht mehr sinnvoll in diese Tabelle. Vorschlag: Weiteren Abschnitt hiernach einfügen für Befehle, die cmk-<irgendwas> heißen (und ggf. früher mal als cmk --<irgendwas> aufgerufen wurden). Dorthin passt auch z.B. der mit https://checkmk.com/de/werk/17398 eingeführte commandline helper cmk-piggyback, cmk-passwd und ähnliche Skripte, die (teilweise oder ausschließlich) für die Nutzung durch den OMD-Benutzer gedacht sind.
592593
|`cmk --snmpwalk myswitch` |xref:snmp#simulation[SNMP-Walk ziehen] vom Host `myswitch`
593594
|`cmk --snmptranslate` |xref:devel_check_plugins_snmp#locating_oids[SNMP-Walk übersetzen]
594595
|`cmk --create-diagnostics-dump` |xref:support_diagnostics#commandline[Support Diagnostics Dump erstellen]

src/onprem/en/cmk_commandline.asciidoc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -558,7 +558,8 @@ Here follows the overview of the options we will present in this chapter, but al
558558
|`cmk --update-dns-cache` |Deletes the DNS cache and re-creates it. For details on the DNS cache, see the xref:hosts_setup#dns[article on hosts]. By default, this command is executed in a {CMK} site once a day via cronjob.
559559
|`cmk --cleanup-piggyback` |Deletes all obsolete xref:piggyback#[piggyback data] in the `tmp/check_mk/piggyback/` directory. By default, this command is executed in a {CMK} site once a day via cronjob.
560560
|`cmk -P` |xref:mkps#commandline[Managing MKPs]
561-
|`cmk --convert-rrds` |xref:graphing#customise_rrds[Converting RRDs]
561+
// |`cmk --convert-rrds` |xref:graphing#customise_rrds[Converting RRDs]
562+
// ES: See my comments in the German version of this article
562563
|`cmk --snmpwalk myswitch` |xref:snmp#simulation[Pulling an SNMP walk] from host `myswitch`
563564
|`cmk --snmptranslate` |xref:devel_check_plugins_snmp#locating_oids[Translating an SNMP walk]
564565
|`cmk --create-diagnostics-dump` |xref:support_diagnostics#commandline[Creating support diagnostics dump]

0 commit comments

Comments
 (0)