Zabbix Share

Zabbix templates, modules & more
Log in
Choose social to login:
Login With Google
Login With Github

Nav view search

Navigation

Advanced Search
  • Applications
    • 1C
    • Anti-Virus
    • Backup
    • Bug and issue tracking
    • Cluster
    • Clustered File Systems
    • DNS
    • Excel Export
    • Firewall
    • HelpDesk System
    • High Availability (HA)
    • Java Application
    • Mail servers
    • Misc
    • Monitoring System
    • NFS
    • NTP
    • Others
    • Process Managers
    • Queue managers
    • Security
    • SIEM
    • Skype
    • Ticketing System
    • Time synchronization
    • TV Broadcasting
    • Web-servers
  • Cloud
  • Databases
  • Network Appliances
  • Network Devices
  • Official Templates
  • Operating Systems
  • Power (UPS)
  • Printers
  • SCADA, IoT, Energy, Home Automation, Industrial monitoring
  • Server Hardware
  • Storage Devices
  • Telephony
  • Unsorted
  • Virtualization
  • Zabbix
  • Recently Added
  • Recently Updated
  • Popular
  • Most Rated
  • Top Rated
  • Most Reviewed

Template Listening Port Discovery Popular

This template is utilizing Zabbix Agent (Active) to discover TCP ports in Listening state.

You have to enter the ports that you want to be discovered in the macro {$TCP_DISCOVERY}.

If the port are not in listening state, it will not be discovered.

 

The ports have to be sepperated by a dot "." for example:

Macro: {$TCP_DISCOVERY} -> Value: 22.10050.80.8080

 

Installation:

Upload the script to /etc/zabbix/scripts/tcp_discovery.sh:

  • chown zabbix:zabbix tcp_discovery.sh

Add UserParameter to zabbix-agent configuration file:

  • UserParameter=tcp.discovery[*], /etc/zabbix/scripts/tcp_discovery.sh '$1'

Restart Zabbix agent:

  • systemctl restart zabbix-agent

Rating
501
1 vote

Listing Details

Type
Template
Min Zabbix version
4.0.x
Features
  • Zabbix Agent Active
Link
github.com/Titasmonk/Zabbix/tree/main/Template%20Listening%20Port%20Discovery
Created
2021-01-08
Modified
2021-01-08 13:18:33
Tags
tcp, discovery, lld, port, ports
Author
Titas Monkevičius
Owner
Titas
RecommendReportOwner's listing
All resources created by third parties; use at your own risk
© 2001-2018 by Zabbix SIA. All rights reserved. Trademark Policy · Contact us