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
Falls gar nichts ausgegeben wird, überprüfen Sie bitte noch einmal die Voraussetzungen, insbesondere, dass die Bash unter `/usr/local/bin` installiert ist.
@@ -219,9 +219,9 @@ Den Anfang macht xref:agent_linux.html#mrpe[MRPE].
219
219
220
220
=== MRPE
221
221
222
-
Erstellen Sie eine Konfigurationsdatei `/etc/check_mk/mrpe.cfg` mit folgendem Inhalt:
222
+
Erstellen Sie eine Konfigurationsdatei `/usr/local/etc/check_mk/mrpe.cfg` mit folgendem Inhalt:
223
223
224
-
./etc/check_mk/mrpe.cfg
224
+
./usr/local/etc/check_mk/mrpe.cfg
225
225
[{file}]
226
226
----
227
227
Flux_Comp /bin/echo 'OK - Flux compensator up and running'
@@ -285,13 +285,7 @@ image::agent_freebsd_local.png[alt="Liste mit dem neu erkannten Service Hello Be
285
285
|`/usr/local/lib/check_mk_agent` |Basisverzeichnis für Erweiterungen des Agenten.
286
286
|`/usr/local/lib/check_mk_agent/plugins` |Plugins, welche den Agenten um zusätzliche Überwachungsdaten erweitern. Plugins können in jeder verfügbaren Programmiersprache geschrieben werden.
287
287
|`/usr/local/lib/check_mk_agent/local` |Ablageort für eigene xref:localchecks#[lokale Checks].
288
-
|`/var/spool/check_mk_agent` |Enthält Daten, die z.B. von Cronjobs erstellt werden und eine eigene Sektion beinhalten. Diese werden ebenfalls der Agentenausgabe angehängt.
289
-
|`/etc/check_mk` |Ablage von Konfigurationsdateien für den Agenten.
290
-
|`/etc/check_mk/mrpe.cfg` |Konfigurationsdatei für xref:agent_linux#mrpe[MRPE] -- für die Ausführung von klassischen Nagios-kompatiblen Check-Plugins.
288
+
|`/var/db/check_mk_agent/spool` |Enthält Daten, die z.B. von Cronjobs erstellt werden und eine eigene Sektion beinhalten. Diese werden ebenfalls der Agentenausgabe angehängt.
289
+
|`/usr/local/etc/check_mk` |Ablage von Konfigurationsdateien für den Agenten.
290
+
|`/usr/local/etc/check_mk/mrpe.cfg` |Konfigurationsdatei für xref:agent_linux#mrpe[MRPE] -- für die Ausführung von klassischen Nagios-kompatiblen Check-Plugins.
291
291
|===
292
-
293
-
[TIP]
294
-
====
295
-
Für FreeBSD sind keine Standardpfade hinterlegt, wie für Linux unterhalb von `/var/lib/check_mk_agent`.
296
-
Wählen Sie einen passenden Ablageort und tragen Sie diesen im Agentenskript ein.
If no output at all is produced, please check the prerequisites again, in particular that Bash is installed under `/usr/local/bin`.
@@ -222,9 +222,9 @@ This is started using xref:agent_linux.html#mrpe[MRPE].
222
222
223
223
=== MRPE
224
224
225
-
Create a configuration file `/etc/check_mk/mrpe.cfg` with the following content:
225
+
Create a configuration file `/usr/local/etc/check_mk/mrpe.cfg` with the following content:
226
226
227
-
./etc/check_mk/mrpe.cfg
227
+
./usr/local/etc/check_mk/mrpe.cfg
228
228
[{file}]
229
229
----
230
230
Flux_Comp /bin/echo 'OK - Flux compensator up and running'
@@ -249,7 +249,7 @@ image::agent_freebsd_mrpe.png[alt="List with the newly detected service Flux_Com
249
249
250
250
The installation of the agent plug-ins is the same as described in the xref:agent_linux#manualplugins[Linux agent article].
251
251
Be sure to use the correct Shebang when installing any plug-ins.
252
-
Perl and Python are installed in `/usr/local/bin` on FreeBSD, and many a shell script that works with `/bin/sh` on Linux actually requires the Bourne Again shell installed in `/usr/local/bin/bash` on FreeBSD.
252
+
Perl and Python are installed in `/usr/local/bin` on FreeBSD, and many times a shell script that works with `/bin/sh` on Linux actually requires the Bourne Again Shell installed as `/usr/local/bin/bash` on FreeBSD.
253
253
254
254
For testing, a simple xref:localchecks#[local check] is suitable, with which the evaluation of whether the monitored service is {OK}, {WARN} or {CRIT} is done directly on the monitored host.
255
255
While we're at it, let's use a two-liner to test the Python interpreter.
@@ -288,13 +288,7 @@ image::agent_freebsd_local.png[alt="List with the newly detected service Hello B
288
288
|`/usr/local/lib/check_mk_agent` |Base directory for agent extensions.
289
289
|`/usr/local/lib/check_mk_agent/plugins` |Plug-ins, which extend the agent with additional monitoring data. Plug-ins can be written in any available programming language.
290
290
|`/usr/local/lib/check_mk_agent/local` |Storage location for custom xref:localchecks#[local checks].
291
-
|`/var/spool/check_mk_agent` |Contains data that is created by cronjobs, for example, and includes its own section. These are also appended to the agent output.
292
-
|`/etc/check_mk` |Storage location for the agent's configuration files.
293
-
|`/etc/check_mk/mrpe.cfg` |Configuration file for xref:agent_linux#mrpe[MRPE] -- for running classic Nagios compatible check plug-ins.
291
+
|`/var/db/check_mk_agent/spool` |Contains data that is created by cronjobs, for example, and includes its own section. These are also appended to the agent output.
292
+
|`/usr/local/etc/check_mk` |Storage location for the agent's configuration files.
293
+
|`/usr/local/etc/check_mk/mrpe.cfg` |Configuration file for xref:agent_linux#mrpe[MRPE] -- for running classic Nagios compatible check plug-ins.
294
294
|===
295
-
296
-
[TIP]
297
-
====
298
-
There are no default file paths defined for FreeBSD, as there are for Linux below `/var/lib/check_mk_agent`.
299
-
Choose a suitable location and enter this in the agent's script.
0 commit comments