check tcp port negative / opposite / reverse

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
gabrielsousa
Posts: 20
Joined: Mon Mar 02, 2015 5:06 am

check tcp port negative / opposite / reverse

Post by gabrielsousa »

i'm checking if a tcp port is close. and must be close

how i make OPEN = CRITICAL and CLOSE = OK ?

thanks
jdalrymple
Skynet Drone
Posts: 2620
Joined: Wed Feb 11, 2015 1:56 pm

Re: check tcp port negative / opposite / reverse

Post by jdalrymple »

Hi gabrielsousa,

The negate plugin is what your looking for. Check out this document:

http://assets.nagios.com/downloads/nagi ... ios-XI.pdf
gabrielsousa
Posts: 20
Joined: Mon Mar 02, 2015 5:06 am

Re: check tcp port negative / opposite / reverse

Post by gabrielsousa »

jdalrymple wrote:Hi gabrielsousa,

The negate plugin is what your looking for. Check out this document:

http://assets.nagios.com/downloads/nagi ... ios-XI.pdf
thanks ;)
Locked