A nagios-notification-jabber documentation
nagios-notification-jabber is a Nagios-plugin that send Nagios notifications via jabber
Installation
Obtain your copy of source code from the git repository: $ git clone https://github.com/vint21h/nagios-notification-jabber.git. Or download the latest release from https://github.com/vint21h/nagios-notification-jabber/tags/.
Run $ python ./setup.py install from the repository source tree or unpacked archive. Or use pip: $ pip install nagios-notification-jabber.
Configuration
Read and understand Nagios documentation.
Create Nagios commands definitions like this:
# "host-notify-by-jabber" command
define command
{
command_name host-notify-by-jabber
command_line /usr/bin/notification_jabber.py -r $CONTACTPAGER$ -m "Host '$HOSTALIAS$' is $HOSTSTATE$ - Info: $HOSTOUTPUT$"
}
# "service-notify-by-jabber" command
define command
{
command_name service-notify-by-jabber
command_line /usr/bin/notification_jabber.py -r $CONTACTPAGER$ -m "$NOTIFICATIONTYPE$ $HOSTNAME$ $SERVICEDESC$ $SERVICESTATE$ $SERVICEOUTPUT$ $LONGDATETIME$"
}
Add to your contact definition option pager with your Jabber ID value and add to service_notification_commands and host_notification_commands contact definition options service-notify-by-jabber and host-notify-by-jabber values respectively.
Copy /usr/share/doc/nagios-notification-jabber/notification_jabber.ini to /etc/nagios with your nagios bot credentials. Attention: nagios user must have notification_jabber.ini read permissions.
nagios-notification-jabber is able to send message to MUC rooms without any additional configuration, just specify MUC room ID as a notification recipient. Also yu can specify notification resource just by adding it to JID in the config file: jid = nagios@example.com/bot
Licensing
nagios-notification-jabber is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. For complete license text see COPYING file.
Contacts
Project Website: https://github.com/vint21h/nagios-notification-jabber/
Author: Alexei Andrushievich <vint21h@vint21h.pp.ua>
For other authors list see AUTHORS file.
Metadata
Release files for nagios-notification-jabber 1.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| nagios-notification-jabber-1.1.0.zip | 27.4 kB | Without provenance | Details for nagios-notification-jabber-1.1.0.zip |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| nagios_notification_jabber-1.1.0-py3-none-any.whl | Python 3 | none | any | Details for nagios_notification_jabber-1.1.0-py3-none-any.whl |
Total release size: 60.4 kB
Release files / nagios-notification-jabber-1.1.0.zip
| Download URL | nagios-notification-jabber-1.1.0.zip |
|---|---|
| Size | 27.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
291d98a3de780279765098d792370ed8dfb1189fd3b3ad1adbcea2f4e5b26a62
|
|
BLAKE2b-256 checksum How to use checksums |
224955c5bbb6c60cad783326274090ba761a88458dd0dedd332366fcd2905ee0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.9.5
|
Release files / nagios_notification_jabber-1.1.0-py3-none-any.whl
| Download URL | nagios_notification_jabber-1.1.0-py3-none-any.whl |
|---|---|
| Size | 33.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f1ffe1ddf75353f9f8ba9b5c7c3b506239fc95421299fb95608b22d3f97e5534
|
|
BLAKE2b-256 checksum How to use checksums |
5f2e47f3d650e72fac7513a81d59f5e2578a1b9a3961cca3946234d2cfc7b5ae
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.9.5
|
Security for nagios-notification-jabber 1.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.