Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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