| Name | icinga-passify JSON |
| Version |
0.1
JSON |
| download |
| home_page | None |
| Summary | An icinga check_command wrapper to icinga api for submitting passive check results. |
| upload_time | 2025-01-06 10:08:43 |
| maintainer | None |
| docs_url | None |
| author | None |
| requires_python | >=3.2 |
| license | MIT License Copyright (c) 2024 Bona Fide IT GmbH Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
| keywords |
icinga
api
passive
check_command
|
| VCS |
 |
| bugtrack_url |
|
| requirements |
No requirements were recorded.
|
| Travis-CI |
No Travis.
|
| coveralls test coverage |
No coveralls.
|
# passify
An icinga check_command wrapper to icinga api for submitting passive check results.
Call any nagios/icinga compatible check executable to submit results as a passive result.
## usage
`usage: passify.py [-h] [--config CONFIG] [--timeout TIMEOUT] -s SERVICE NAME [--ttl TTL] ...`
Deploy passify.py on your server, this can be done locally or in your path. Call it with
`python3 passify.py -s "Example Service" check_example <check_arguments>`
or give it execution rights and call it like this:
`./passify.py -s "Example Service" check_example <check_arguments>`
Or in path like this:
`passify -s "Example Service" check_example <check_arguments>`
# installation
* copy passify.py to your server.
* Install to path for full convenience if you like, call as seen above:
`ln -s /usr/local/bin/passify /location/to/passify.py`
* Upon first run, you will be asked several configuration questions:
* the icinga master url **submissions are only possible through the currently active master**
* verify the fingerprint (hint: `openssl x509 -in /var/lib/icinga2/certs/<hostname>.crt -noout -fingerprint -sha256`)
* username and password for api submission (only basic-auth is currently supported)
* alternatively you can deploy a config file (default: config.ini) with the script:
```
[DEFAULT]
url = https://localhost:5665/v1/actions/process-check-result
check_source = example.com
user = <api_user>
password = <api_password>
[TLS]
fingerprint = d163f22c2021a498926ff8c30da0288ac20d1b9edaa80d1dbb14c0aebf85245b
```
Raw data
{
"_id": null,
"home_page": null,
"name": "icinga-passify",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.2",
"maintainer_email": null,
"keywords": "icinga, api, passive, check_command",
"author": null,
"author_email": "Bona Fide IT GmbH <github@bona-fide.it>, Olaf R\u00fchenbeck <oruehenbeck@bona-fide.it>",
"download_url": "https://files.pythonhosted.org/packages/de/24/c49dbdf376b3621ecf687064d84217a1f7be311b226b133c9237dd721f22/icinga_passify-0.1.tar.gz",
"platform": null,
"description": "# passify\n\nAn icinga check_command wrapper to icinga api for submitting passive check results.\nCall any nagios/icinga compatible check executable to submit results as a passive result.\n\n## usage\n\n`usage: passify.py [-h] [--config CONFIG] [--timeout TIMEOUT] -s SERVICE NAME [--ttl TTL] ...`\n\nDeploy passify.py on your server, this can be done locally or in your path. Call it with\n\n`python3 passify.py -s \"Example Service\" check_example <check_arguments>`\n\nor give it execution rights and call it like this:\n\n`./passify.py -s \"Example Service\" check_example <check_arguments>`\n\nOr in path like this:\n\n`passify -s \"Example Service\" check_example <check_arguments>`\n\n# installation\n\n* copy passify.py to your server.\n* Install to path for full convenience if you like, call as seen above:\n\n`ln -s /usr/local/bin/passify /location/to/passify.py`\n\n* Upon first run, you will be asked several configuration questions:\n\n * the icinga master url **submissions are only possible through the currently active master**\n * verify the fingerprint (hint: `openssl x509 -in /var/lib/icinga2/certs/<hostname>.crt -noout -fingerprint -sha256`)\n * username and password for api submission (only basic-auth is currently supported)\n\n* alternatively you can deploy a config file (default: config.ini) with the script:\n\n```\n[DEFAULT]\nurl = https://localhost:5665/v1/actions/process-check-result\ncheck_source = example.com\nuser = <api_user>\npassword = <api_password>\n\n[TLS]\nfingerprint = d163f22c2021a498926ff8c30da0288ac20d1b9edaa80d1dbb14c0aebf85245b\n```\n\n",
"bugtrack_url": null,
"license": "MIT License Copyright (c) 2024 Bona Fide IT GmbH Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ",
"summary": "An icinga check_command wrapper to icinga api for submitting passive check results.",
"version": "0.1",
"project_urls": {
"Homepage": "https://github.com/BonaFideIT/passify"
},
"split_keywords": [
"icinga",
" api",
" passive",
" check_command"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "7e9d044e03ad6bb9fa593f0b171e8390ac377d64d043ae62abec7efcc12fb6b4",
"md5": "82f0ff707d65539061ce41b9ac460071",
"sha256": "0360fb06aa66620f12802db2a28f53ec2c1c8cdcc645c65ead7590c6714bb6c0"
},
"downloads": -1,
"filename": "icinga_passify-0.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "82f0ff707d65539061ce41b9ac460071",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.2",
"size": 7694,
"upload_time": "2025-01-06T10:08:41",
"upload_time_iso_8601": "2025-01-06T10:08:41.628428Z",
"url": "https://files.pythonhosted.org/packages/7e/9d/044e03ad6bb9fa593f0b171e8390ac377d64d043ae62abec7efcc12fb6b4/icinga_passify-0.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "de24c49dbdf376b3621ecf687064d84217a1f7be311b226b133c9237dd721f22",
"md5": "150f93810d12da0d045bfc02c3664984",
"sha256": "e5f4dd740cfa0f62b2bc7d8b7b52efcddaabfa11cfb3e19e8c59dbeda4ff2c4d"
},
"downloads": -1,
"filename": "icinga_passify-0.1.tar.gz",
"has_sig": false,
"md5_digest": "150f93810d12da0d045bfc02c3664984",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.2",
"size": 6704,
"upload_time": "2025-01-06T10:08:43",
"upload_time_iso_8601": "2025-01-06T10:08:43.877077Z",
"url": "https://files.pythonhosted.org/packages/de/24/c49dbdf376b3621ecf687064d84217a1f7be311b226b133c9237dd721f22/icinga_passify-0.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-01-06 10:08:43",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "BonaFideIT",
"github_project": "passify",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "icinga-passify"
}