nagios-sentry
Plugin for Nagios, which check a count of messages in Sentry.
Installation
Install nagios-sentry to Sentry venv:
source /var/www/sentry/bin/activate pip install nagios-sentry
Add to INSTALLED_APPS in config file /etc/sentry.conf:
INSTALLED_APPS += ('nagios_sentry', )
Copy the file check_sentry_messages.py to the Nagios plugins directory.
How to use
Go to the Nagios plugins directory and run this example:
./check_sentry_messages.py -w 10 -c 20 \
--sentry /var/www/sentry/bin/sentry --config /etc/sentry.conf --seconds=300
Where:
-w 10 - Number of messages in Sentry for --seconds as WARNING;
-c 20 - Number of messages in Sentry for --seconds as CRITICAL;
--sentry /var/www/sentry/bin/sentry - Path to binary file of Sentry;
--config /etc/sentry.conf - Path to config file of Sentry;
--seconds=300 - Number of seconds offset.
Available additional options:
--project - Number of project. Example --project=1;
--level - Number of level. 10=DEBUG, 20=INFO, 25=SUCCESS, 30=WARNING, 40=ERROR;
--logger - Name of logger. Example --logger=SocialAuth.
Metadata
Release files for nagios-sentry 0.3.1
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-sentry-0.3.1.tar.gz | 3.3 kB | Without provenance | Details for nagios-sentry-0.3.1.tar.gz |
Release files / nagios-sentry-0.3.1.tar.gz
| Download URL | nagios-sentry-0.3.1.tar.gz |
|---|---|
| Size | 3.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ce32fb24253759ecc5068294adfdd6ba3daf972aff1f5df9c8f4fcd8c7084c03
|
|
BLAKE2b-256 checksum How to use checksums |
5ed0fcf83d3d867592068713383e06f34570bf2d7481dc311b385d425064a3d2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for nagios-sentry 0.3.1
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.