Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
| Beide Seiten der vorigen Revision Vorhergehende Überarbeitung Nächste Überarbeitung | Vorhergehende Überarbeitung | ||
|
monitoringunipager [2018/02/27 11:37] dh3wr |
monitoringunipager [2019/09/26 16:37] (aktuell) dh3wr |
||
|---|---|---|---|
| Zeile 6: | Zeile 6: | ||
| * Websocket based with C++ programm | * Websocket based with C++ programm | ||
| * Websocket based with Python programm | * Websocket based with Python programm | ||
| + | |||
| + | Also Daniel Dibbets DL6FZ provided a Template for Zabbix. See below for more info. | ||
| If you have already Unipager V 1.0.0 or newer installed, the JSON output solution is highly recommended due to performance issues. | If you have already Unipager V 1.0.0 or newer installed, the JSON output solution is highly recommended due to performance issues. | ||
| - | ===== Up-to-date Solution with JOSN Output ===== | + | ===== Up-to-date Solution with JSON Output ===== |
| This approach uses the same ''check_http_json'' Nagios plugin as [[monitoringnagios|here]]. For further information on installation refere to this site. No ''nagios-nrpe-server'' is needed (although it makes sense to use it for temperature monitoring, disk space, etc.) | This approach uses the same ''check_http_json'' Nagios plugin as [[monitoringnagios|here]]. For further information on installation refere to this site. No ''nagios-nrpe-server'' is needed (although it makes sense to use it for temperature monitoring, disk space, etc.) | ||
| Zeile 54: | Zeile 56: | ||
| ===== Websocket Solution ===== | ===== Websocket Solution ===== | ||
| + | {{:icons:warning.png?direct |}}{{ :icons:warning.png?direct|}}The websocket methods are superseeded by the JSON method. Please use the new one. The following documentation is for historical reasons only. | ||
| + | |||
| Ein entsprechendes Plugin für die Websocket-Schnittstelle kann unter [[https://github.com/rwth-afu/UniPagerNagios|https://github.com/rwth-afu/UniPagerNagios]] heruntergeladen werden. Es gibt 2 Varianten: | Ein entsprechendes Plugin für die Websocket-Schnittstelle kann unter [[https://github.com/rwth-afu/UniPagerNagios|https://github.com/rwth-afu/UniPagerNagios]] heruntergeladen werden. Es gibt 2 Varianten: | ||
| * C++ Version (Viele Abhängigkeiten) | * C++ Version (Viele Abhängigkeiten) | ||
| Zeile 92: | Zeile 96: | ||
| <file>command[check_unipager]=/usr/lib/nagios/plugins/check_unipager -H localhost</file> | <file>command[check_unipager]=/usr/lib/nagios/plugins/check_unipager -H localhost</file> | ||
| - | ACHTUNG: Nur bei Zugriff von ''localhost' aus braucht man ab der Version 0.7.1 von [[unipager|UniPager]] kein Passwort. | + | ACHTUNG: Nur bei Zugriff von ''localhost'' aus braucht man ab der Version 0.7.1 von [[unipager|UniPager]] kein Passwort. |
| Dann den nagios-nrpe-server neu starten: | Dann den nagios-nrpe-server neu starten: | ||
| Zeile 120: | Zeile 124: | ||
| Die hostgroup, host_name, alias und IP müssen natürlich angepasst werden. Einmal nagios neustarten und schon wird der Status überwacht. | Die hostgroup, host_name, alias und IP müssen natürlich angepasst werden. Einmal nagios neustarten und schon wird der Status überwacht. | ||
| + | |||
| + | ===== Zabbix Template for Unipager ===== | ||
| + | Daniel Dibbets DL6FZ provided a template for Zabbix to monitor the unipager program. | ||
| + | |||
| + | {{ :monitoring:zbx_unipager_template.xml |Download Template here}} | ||
| + | |||
| + | 6 Items are observed: | ||
| + | * Connected | ||
| + | * Master | ||
| + | * Queue | ||
| + | * Version | ||
| + | * Calls RX | ||
| + | * Calls TX | ||
| + | |||
| + | 3 Triggers are integrated: | ||
| + | * Not Connected | ||
| + | * Queue > 500 | ||
| + | * Queue > 1000 | ||
| + | |||
| + | Data is gathered from Status JSON (http://{HOST.NAME}:8073/status) | ||
| + | |||
| + | Zabbix will build history and delta information concerning the numberical values. | ||