You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/onprem/de/custom_notes.asciidoc
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -60,7 +60,7 @@ image::custom_notes_first_host_note.png[alt="Eine Anmerkung in der Ansicht 'Stat
60
60
61
61
Wenn Sie möchten, dass sich eine einzelne solche Datei gleich auf mehrere Hosts bezieht und dort angezeigt wird, können Sie mit Suchmuster für Dateinamen (_shell patterns_) wie dem Stern, dem Fragezeichen und auch Zeichenklassen arbeiten.
62
62
Dazu muss dann tatsächlich der Dateiname im jeweiligen Verzeichnis diese Zeichen enthalten.
63
-
Eine Datei namens `pass:['*']` im Verzeichnis `~/etc/check_notes/hosts/` würde sich also auf alle Hosts beziehen.
63
+
Eine Datei namens `pass:['*']` im Verzeichnis `~/etc/check_mk/notes/hosts/` würde sich also auf alle Hosts beziehen.
64
64
Der Inhalt der Datei `pass:['*']` würde folgerichtig bei jedem einzelnen Host Ihrer Instanz angezeigt.
65
65
66
66
*Wichtig:* Die Namen solcher Dateien *müssen* in einfache Anführungsstriche eingefasst werden.
@@ -73,7 +73,7 @@ Möchten Sie -- aus Gründen -- bei allen Hosts, deren Name auf `t` endet, eine
73
73
----
74
74
75
75
Sollten mehrere Dateien zum Namen eines Hosts passen, werden im Feld [.guihint]#Custom host notes# auch alle passenden Anmerkungen angezeigt.
76
-
Die verschiedenen Anmerkungen werden dabei von einer horizontale Linie von einander getrennt:
76
+
Die verschiedenen Anmerkungen werden dabei durch eine horizontale Linie voneinander getrennt:
77
77
78
78
image::custom_notes_notes_from_different_sources.png[alt="Anmerkungen aus unterschiedlichen Quell-Dateien werden durch eine horizontale Linie getrennt."]
79
79
@@ -127,7 +127,7 @@ Möchten Sie Anmerkungen für Services bei allen Hosts erstellen, die mit `my` b
127
127
128
128
Achten Sie auch hier wieder darauf, die Verzeichnisnamen in einfache Anführungsstriche einzufassen.
129
129
130
-
Sobald Sie jetzt die Host-Ebene nach Ihren Wünschen erstellt haben, können Sie -- analog zu den Host-Anmerkungen -- wieder Dateien anlegen, die diesmal der gewünschten [.guihint]#Service description# entsprechen muss.
130
+
Sobald Sie jetzt die Host-Ebene nach Ihren Wünschen erstellt haben, können Sie -- analog zu den Host-Anmerkungen -- wieder Dateien anlegen, deren Name diesmal der gewünschten [.guihint]#Service description# entsprechen muss.
131
131
Auch hier können Sie wieder mit Sternen, Fragezeichen und Zeichenklassen arbeiten.
132
132
133
133
Das folgende Beispiel erzeugt eine Anmerkung für den Service [.guihint]#Check_MK# auf jedem Host Ihrer Instanz.
Copy file name to clipboardExpand all lines: src/onprem/en/custom_notes.asciidoc
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -57,12 +57,12 @@ image::custom_notes_first_host_note.png[alt="A note in the 'Status of Host' view
57
57
58
58
If you want a single such file to refer to and be displayed on multiple hosts at once, you can work with shell patterns such as the asterisk, the question mark, and also character classes.
59
59
To do this, the file name in the respective directory must actually contain these characters.
60
-
So a file named `pass:['*']` in the directory `~/etc/check_notes/hosts/` would refer to all hosts.
60
+
So a file named `pass:['*']` in the directory `~/etc/check_mk/notes/hosts/` would refer to all hosts.
61
61
The contents of the `pass:['*']` file would consequently be displayed at each individual host in your site.
62
62
63
63
*Important:* The names of such files *must* be enclosed in single quotes.
64
64
65
-
If--for some reason--you want to display a specific note on all hosts whose name ends in `t`, then create a file named `'*t'`.
65
+
If--for some reason--you want to display a specific note on all hosts whose name ends in `t`, then create a file named `'*t'`.
66
66
67
67
[{shell}]
68
68
----
@@ -88,7 +88,7 @@ To be able to create such notes for services as well, you will need the `service
88
88
In contrast to the hosts, you cannot start right away in this directory with the files for your notes.
89
89
Here you need another directory level, which defines, for which hosts a service note should be displayed.
90
90
91
-
So next, create a directory that designates one host--or following the patterns shown xref:host_notes[above]--multiple hosts.
91
+
So next, create a directory that designates one host—or following the patterns shown xref:host_notes[above]—multiple hosts.
92
92
93
93
So a directory named `pass:['*']` would again refer to all hosts.
94
94
@@ -113,7 +113,7 @@ So if you want to create notes for the services on all hosts that start with `my
113
113
114
114
Again, make sure to enclose the directory names in single quotes.
115
115
116
-
Once you have created the host level according to your requirements, you can--analogous to the host notes--again create files, which this time must correspond to the desired [.guihint]#Service description#.
116
+
Once you have created the host level according to your requirements, you can--analogous to the host notes--again create files, whose name this time must correspond to the desired [.guihint]#Service description#.
117
117
Likewise, you can work with asterisks, question marks, and character classes.
118
118
119
119
The following example creates a note for the [.guihint]#Check_MK# service on each of the hosts in your site.
0 commit comments