Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/glensc/nagios-notify
nagios-notify is a template-based notify script for Nagios. The templates can be easily edited in a text editor. You can change templates without restarting Nagios. With advanced templates, you can send richtext (even images) over jabber if you use nagios-notify-jabber. It depends only on basic Unix utilities.
https://github.com/glensc/nagios-notify
jabber nagios nagios-notify
Last synced: about 1 month ago
JSON representation
nagios-notify is a template-based notify script for Nagios. The templates can be easily edited in a text editor. You can change templates without restarting Nagios. With advanced templates, you can send richtext (even images) over jabber if you use nagios-notify-jabber. It depends only on basic Unix utilities.
- Host: GitHub
- URL: https://github.com/glensc/nagios-notify
- Owner: glensc
- License: gpl-2.0
- Created: 2021-08-13T22:19:36.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-08-21T17:15:45.000Z (about 1 year ago)
- Last Synced: 2024-04-14T07:29:49.255Z (7 months ago)
- Topics: jabber, nagios, nagios-notify
- Language: Shell
- Homepage:
- Size: 152 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: changelog.sh
- License: LICENSE
Awesome Lists containing this project
README
# Nagios Notify
The [nagios-notify] package is a template-based notify script for Nagios.
The templates can be easily edited in a text editor. You can change templates
without restarting Nagios. With advanced templates, you can send rich text
(even images) over jabber if you use nagios-notify-jabber. It depends only on
basic Unix utilities.[nagios-notify]: https://github.com/glensc/nagios-notify
You should use this package because:
- the templates are easily edited in a text editor
- you won't be worried if the command definition contains shell syntax errors
(which Nagios happily discards without any trace in logs :/)
- you can change templates without restarting Nagios
- with advanced templates, you can send rich-text (even images!) over jabber if
you use nagios-notify-jabber
- minimal dependency (just coreutils and awk that you most likely already have
installed)## Variables
All `NAGIOS_*` [environment variables][macrolist] exported by Naguis are
available as variables in templates without the `NAGIOS_` prefix.Additionally, this project adds few more variables:
- `DATADIR`: a path to `/usr/share/nagios`
- `TEMPLATEDIR`: a path to `/etc/nagios/templates`
- `SERVICECMDURL` points to `cmd.cgi`[macrolist]: https://assets.nagios.com/downloads/nagioscore/docs/nagioscore/3/en/macrolist.html
## Similar projects
- https://github.com/isi-usc-edu/NagiosNotify
- https://github.com/isaac-galvan/nagios-teams-notify
- https://github.com/obaarne/Nagios2Slack