Skip to main content

zabbix app listen ports low-level discovery.

Project description

zabbix low-level discovery插件.

自动发现服务器上所有应用的监听端口,并使用APP名称标记应用以免重复及增加可读性.

#Usage:
```
Install:
pip install zabbix-app-ports-discovery
Add to you script:
import applistenports
getlistport = applistenports.GetListenPorts()
items = getlistport.process()
print(items)
输出格式为zabbix low-level discovery要求的json格式


{
"data": [
{
"{#APPNAME}": "sshd__/usr/sbin/sshd",
"{#APPPORT}": "22"
},
{
"{#APPNAME}": "master__/usr/libexec/postfix/master",
"{#APPPORT}": "25"
},
{
"{#APPNAME}": "zabbix_agentd__/usr/sbin/zabbix_agentd",
"{#APPPORT}": "10050"
},
{
"{#APPNAME}": "zabbix_server__/usr/sbin/zabbix_server_pgsql",
"{#APPPORT}": "10051"
}
]
}

```


Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

zabbix_app_ports_discovery-2019.2.22.4-py2.py3-none-any.whl (15.3 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file zabbix_app_ports_discovery-2019.2.22.4-py2.py3-none-any.whl.

File metadata

  • Download URL: zabbix_app_ports_discovery-2019.2.22.4-py2.py3-none-any.whl
  • Upload date:
  • Size: 15.3 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.5

File hashes

Hashes for zabbix_app_ports_discovery-2019.2.22.4-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 652d76bd69da73e392d39da869ac643b7f7e3647646fd78fa73bda278ebd6bf4
MD5 378d8ca0ac3a81221a5d7eb2808481e6
BLAKE2b-256 21496380591f5957eb8404e3f2bb5e12004b9907f598f6fb97ccc68a4bd750f9

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page