---
name: "gdnsd-plugin-tcp_connect"
section: "8"
platform: "linux"
package: "gdnsd"
version: "3.8.3-2"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/gdnsd-plugin-tcp_connect"
---

# gdnsd-plugin-tcp\_connect(8)

gdnsd TCP monitoring plugin

## NAME

gdnsd-plugin-tcp\_connect - gdnsd TCP monitoring plugin

## SYNOPSIS

Example tcp\_connect service\_types config:

```
  service_types => {
    tcp9000 => {
      plugin => tcp_connect,
      port => 9000, # required
      up_thresh => 20,
      ok_thresh => 10,
      down_thresh => 10,
      interval => 10,
      timeout => 3,
    }
  }
```

## DESCRIPTION

**gdnsd-plugin-tcp\_connect** is a monitoring plugin that checks basic TCP connectivity to a given port. It establishes a basic TCP connection and then immediately closes without sending or receiving any data on each monitoring check.

## PARAMETERS

- port

  The numeric port number to connect on, required.

## SEE ALSO

[**gdnsd.config**(5)](/gdnsd.config/5.md), [**gdnsd.zonefile**(5)](/gdnsd.zonefile/5.md), [**gdnsd**(8)](/gdnsd/8.md)

The gdnsd manual.

## COPYRIGHT AND LICENSE

Copyright (c) 2014 Brandon L Black \<blblack@gmail.com\>

This file is part of gdnsd.

gdnsd is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

gdnsd is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with gdnsd.  If not, see \<http://www.gnu.org/licenses/\>.
