Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
| Beide Seiten der vorigen Revision Vorhergehende Überarbeitung Nächste Überarbeitung | Vorhergehende Überarbeitung | ||
|
nagiosnotification [2018/04/03 14:28] dh3wr [Define DAPNET Username and Password] |
nagiosnotification [2018/04/05 17:16] (aktuell) dh3wr [Notification to Pager from Nagios via DAPNET-Core] |
||
|---|---|---|---|
| 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 reveice 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 47: | Zeile 49: | ||
| email spam@myemail.cl | email spam@myemail.cl | ||
| pager dh3wr | pager dh3wr | ||
| - | address1 all | + | address1 dl-nw |
| } | } | ||
| </code> | </code> | ||
| The ''pager'' entry defines the subscriber on DAPNET, the ''address1'' defines the transmitter group. Remember to add the commands just created. | The ''pager'' entry defines the subscriber on DAPNET, the ''address1'' defines the transmitter group. Remember to add the commands just created. | ||
| + | |||
| + | {{:icons:warning.png?nolink |}}{{ :icons:warning.png?nolink|}}Attention: In order to minimize traffic on the DAPNET, please select a transmitter group just big enough to fulfill your requirements. Not whole Europe wants to be informed, that you disk space is below 10%. | ||
| ===== Assign the contact to the host or service ===== | ===== Assign the contact to the host or service ===== | ||
| Zeile 75: | Zeile 79: | ||
| </code> | </code> | ||
| + | ===== Example ===== | ||
| + | This is how the result looks like: | ||
| + | {{ :swissphone:swissphone2_300.jpg?direct |}} | ||