Page 1 of 1

check tcp port negative / opposite / reverse

Posted: Mon Mar 02, 2015 5:32 pm
by gabrielsousa
i'm checking if a tcp port is close. and must be close

how i make OPEN = CRITICAL and CLOSE = OK ?

thanks

Re: check tcp port negative / opposite / reverse

Posted: Mon Mar 02, 2015 5:37 pm
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

Re: check tcp port negative / opposite / reverse

Posted: Tue Mar 03, 2015 4:28 am
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 ;)