All Projects → zabbix-tools → zabbix-module-sockets

zabbix-tools / zabbix-module-sockets

Licence: MIT License
A Zabbix loadable module to monitor Linux Sockets

Programming Languages

c
50402 projects - #5 most used programming language
M4
1887 projects
Makefile
30231 projects
shell
77523 projects

Projects that are alternatives of or similar to zabbix-module-sockets

libzbxmodbus
Loadable module to integrate Modbus (RTU, TCP and encapsulated) into Zabbix. Bulk data collection included.
Stars: ✭ 44 (+175%)
Mutual labels:  zabbix, zabbix-loadable
zabbix-module-python
Embedded Python interpreter module for Zabbix
Stars: ✭ 32 (+100%)
Mutual labels:  zabbix, zabbix-loadable
libzbxpgsql
Monitor PostgreSQL with Zabbix
Stars: ✭ 150 (+837.5%)
Mutual labels:  zabbix, zabbix-loadable
effluence
Zabbix loadable module for real-time export of history to InfluxDB
Stars: ✭ 26 (+62.5%)
Mutual labels:  zabbix, zabbix-loadable
Graphical notifications Zabbix
No description or website provided.
Stars: ✭ 77 (+381.25%)
Mutual labels:  zabbix
zabbix-template-speedtest
Speedtest template for zabbix
Stars: ✭ 28 (+75%)
Mutual labels:  zabbix
Zabbigot
Bukkit plugin for Zabbix monitoring.
Stars: ✭ 18 (+12.5%)
Mutual labels:  zabbix
orabbix
zabbix oracle orabbix docker
Stars: ✭ 17 (+6.25%)
Mutual labels:  zabbix
zabbix-review-export-import
Clone of zabbix-review-export with added import object(s) feature
Stars: ✭ 36 (+125%)
Mutual labels:  zabbix
zabbixapi-php
Zabbix API client for PHP with session cache and SSL management
Stars: ✭ 32 (+100%)
Mutual labels:  zabbix
monitor system docs
No description or website provided.
Stars: ✭ 30 (+87.5%)
Mutual labels:  zabbix
zabbix-server-stress-test
How many new value per second can be handled by your Zabbix server?
Stars: ✭ 28 (+75%)
Mutual labels:  zabbix
zabbix-nvidia-smi-integration
The Zabbix template for monitoring Nvidia graphics cards.
Stars: ✭ 22 (+37.5%)
Mutual labels:  zabbix
zabbix-sender
java zabbix-sender
Stars: ✭ 70 (+337.5%)
Mutual labels:  zabbix
shell-scripts
my-scripts
Stars: ✭ 87 (+443.75%)
Mutual labels:  zabbix
zabbix-dynamic-pdf-report
No description or website provided.
Stars: ✭ 16 (+0%)
Mutual labels:  zabbix
zabbix-edgemax-template
Zabbix template for Ubiquiti EdgeMAX devices, monitored with SNMPv2.
Stars: ✭ 18 (+12.5%)
Mutual labels:  zabbix
unifiZabbix
Zabbix templates to monitor pretty much all Unifi devices
Stars: ✭ 66 (+312.5%)
Mutual labels:  zabbix
zabbix-smartmontools
Disk SMART monitoring for Linux, FreeBSD and Windows. LLD, trapper.
Stars: ✭ 41 (+156.25%)
Mutual labels:  zabbix
golang-zabbix-alter-to-dingding
zabbix报警到钉钉
Stars: ✭ 59 (+268.75%)
Mutual labels:  zabbix

zabbix-module-sockets

zabbix-module-sockets is a loadable Zabbix module and templates that enables Zabbix to query the state of sockets - including tcp, udp, unix, raw, etc.

Screenshot - TCP Sockets screen

Install

The following packages are available for download:

To install from source:

$ ./configure --with-zabbix=/usr/src/zabbix-3.2.5
$ make
$ sudo make install

If you are using a packaged version of Zabbix, you may with to redirect the installation directories as follows:

$ sudo make prefix=/usr sysconfdir=/etc libdir=/usr/lib64 install

The templates will be installed to /usr/share/doc/zabbix-module-sockets-1.1.0 and can be imported into Zabbix from Configuration > Templates > Import.

Keys

sockets.count[protocol,<state>] returns the number of sockets for the given
                                protocol

sockets.sendq[protocol,<state>] returns the sum of all buffers in the send queue
                                for sockets of the given protocol

sockets.recvq[protocol,<state>] returns the sum of all buffers in the receive
                                queue for sockets of the given protocol

sockets.modver                  version of the loaded module

Supported protocols

The following protocols are supported:

  • tcp
  • tcp6
  • udp
  • udp6
  • unix

TCP 4/6 states

You may use the <state> parameter to filter for sockets in the following valid TCP session states:

  • ESTABLISHED
  • SYN_SENT
  • SYN_RECV
  • FIN_WAIT1
  • FIN_WAIT2
  • TIME_WAIT
  • CLOSE
  • CLOSE_WAIT
  • LAST_ACK
  • LISTEN
  • CLOSING

If the state parameter is empty, the total number of sockets in any state is returned.

E.g.

$ zabbix_agentd -t sockets.count[tcp,listen]
sockets.count[tcp,listen]                     [u|2]

$ netstat -tl4
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State
tcp        0      0 0.0.0.0:ssh             0.0.0.0:*               LISTEN
tcp        0      0 0.0.0.0:zabbix-agent    0.0.0.0:*               LISTEN

For greater understanding, see the TCP/IP State Transition Diagram by Gordon McKinney, 2002.

Unix socket states

You may use the <state> parameter to filter for Unix sockets in the following valid states:

  • FREE
  • UNCONNECTED
  • CONNECTING
  • CONNECTED
  • DISCONNECTING
  • LISTEN

E.g.

$ zabbix_agentd -t sockets.count[unix,listen]
sockets.count[unix,listen]                    [u|33]

$ netstat -xl
Active UNIX domain sockets (only servers)
Proto RefCnt Flags       Type       State         I-Node   Path
unix  2      [ ACC ]     STREAM     LISTENING     17910    private/tlsmgr
unix  2      [ ACC ]     STREAM     LISTENING     17914    private/rewrite
unix  2      [ ACC ]     STREAM     LISTENING     17917    private/bounce
...
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].