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.

Files for zabbix-app-ports-discovery, version 2019.2.22.4
Filename, size File type Python version Upload date Hashes
Filename, size zabbix_app_ports_discovery-2019.2.22.4-py2.py3-none-any.whl (15.3 kB) File type Wheel Python version py2.py3 Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page