Benutzer-Werkzeuge

Webseiten-Werkzeuge


nagiosnotification

Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Beide Seiten der vorigen Revision Vorhergehende Überarbeitung
Nächste Überarbeitung
Vorhergehende Überarbeitung
nagiosnotification [2018/04/03 14:37]
dh3wr [Notification to Pager from Nagios]
nagiosnotification [2026/01/30 14:11] (aktuell)
dj7lc Fix urls
Zeile 1: Zeile 1:
-====== Notification to Pager from Nagios ======+====== Notification to Pager from Nagios ​via DAPNET-Core ​======
  
 By default, Nagios can send emails to registered contact. Fortunately,​ there is also a contact property names ''​pager''​ which can be used very conveniently. Two things have to be added to your nagios config in order to receive the Nagios notifications via DAPNET. By default, Nagios can send emails to registered contact. Fortunately,​ there is also a contact property names ''​pager''​ which can be used very conveniently. Two things have to be added to your nagios config in order to receive the Nagios notifications via DAPNET.
 +
 +If you want to send the notifications directly via [[unipager|UniPager]],​ use this solution: [[nagiosnotificationunipager|Notification to Pager from Nagios via UniPager]].
  
 ===== Define commands to send paging calls ===== ===== Define commands to send paging calls =====
Zeile 24: Zeile 26:
 As you see, there are macros ''​$USER11$''​ to ''​$USER13$''​ used. They should contain the API-URL, your DAPNET username and password. Define them in the ''​resource.cfg'':​ As you see, there are macros ''​$USER11$''​ to ''​$USER13$''​ used. They should contain the API-URL, your DAPNET username and password. Define them in the ''​resource.cfg'':​
 <​code>​ <​code>​
-$USER11$=http://​dapnet.db0sda.ampr.org:8080+$USER11$=http://​dapnet.db0sda.hamnet.radio:8080
 $USER12$=dl1abc $USER12$=dl1abc
 $USER13$=VERYSCECRETPASSWORD $USER13$=VERYSCECRETPASSWORD
 </​code>​ </​code>​
  
-If you don't have HAMNET access to dapnet.db0sda.ampr.org, use ''​http://​hampager.de/​api''​ without port (default 80 is right) or use your own DAPNET Core's API.+If you don't have HAMNET access to dapnet.db0sda.hamnet.radio, use ''​http://​hampager.de/​api''​ without port (default 80 is right) or use your own DAPNET Core's API.
  
 ===== Setup contacts ===== ===== Setup contacts =====
nagiosnotification.1522759055.txt.gz · Zuletzt geändert: 2018/04/03 14:37 von dh3wr