nagiosnotification
Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
| Beide Seiten der vorigen RevisionVorhergehende ÜberarbeitungNächste Überarbeitung | Vorhergehende Überarbeitung | ||
| nagiosnotification [2018/04/03 12:27] – dh3wr | nagiosnotification [2026/01/30 13:11] (aktuell) – Fix urls dj7lc | ||
|---|---|---|---|
| Zeile 1: | Zeile 1: | ||
| - | ====== Notification to Pager from Nagios ====== | + | ====== Notification to Pager from Nagios |
| - | By default, Nagios can send emails to registered contact. Fortunately, | + | By default, Nagios can send emails to registered contact. Fortunately, |
| + | |||
| + | If you want to send the notifications directly via [[unipager|UniPager]], | ||
| ===== Define commands to send paging calls ===== | ===== Define commands to send paging calls ===== | ||
| Zeile 21: | Zeile 23: | ||
| </ | </ | ||
| - | ===== Define DAPNET | + | ===== Define DAPNET |
| - | As you see, there are macros '' | + | As you see, there are macros '' |
| < | < | ||
| - | $USER11$=http:// | + | $USER11$=http:// |
| $USER12$=dl1abc | $USER12$=dl1abc | ||
| $USER13$=VERYSCECRETPASSWORD | $USER13$=VERYSCECRETPASSWORD | ||
| </ | </ | ||
| - | If you don't have HAMNET access to dapnet.db0sda.ampr.org, use '' | + | If you don't have HAMNET access to dapnet.db0sda.hamnet.radio, use '' |
| ===== Setup contacts ===== | ===== Setup contacts ===== | ||
| Zeile 47: | Zeile 49: | ||
| email | email | ||
| pager dh3wr | pager dh3wr | ||
| - | address1 | + | address1 |
| } | } | ||
| </ | </ | ||
| The '' | The '' | ||
| + | |||
| + | {{: | ||
| ===== Assign the contact to the host or service ===== | ===== Assign the contact to the host or service ===== | ||
| Zeile 71: | Zeile 75: | ||
| notification_options | notification_options | ||
| contacts | contacts | ||
| - | register | + | register |
| } | } | ||
| </ | </ | ||
| + | ===== Example ===== | ||
| + | This is how the result looks like: | ||
| + | {{ : | ||
nagiosnotification.1522758438.txt.gz · Zuletzt geändert: 2018/04/03 12:27 von dh3wr