Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Beide Seiten der vorigen Revision Vorhergehende Überarbeitung Nächste Überarbeitung | Vorhergehende Überarbeitung Nächste Überarbeitung Beide Seiten der Revision | ||
nagiosnotification [2018/04/03 14:27] dh3wr [Assign the contact to the host or service] |
nagiosnotification [2018/04/03 14:35] dh3wr [Example] |
||
---|---|---|---|
Zeile 21: | Zeile 21: | ||
</code> | </code> | ||
- | ===== Define DAPNET Username and Password ===== | + | ===== Define DAPNET API-URL, username and password ===== |
- | As you see, there are macros ''$USER11$'' to ''$USER13$'' used. They should contain 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.ampr.org:8080 | ||
Zeile 47: | Zeile 47: | ||
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 74: | Zeile 76: | ||
} | } | ||
</code> | </code> | ||
+ | |||
+ | ===== Example ===== | ||