netstat -an -p TCP | findstr "CLOSE_WAIT" | find /c /v ""

Un saludo
Eusebio Castillo Navarro
Área de Explotación y Sistemas
Tel: 93 4033711  M: +34 629131105
C/ Pallars 99 - 08018 - Barcelona
email : 
ecasti...@osiatis.es<https://correu.edau.ub.edu/owa/redir.aspx?SURL=ET6i_Mn324AcXqGVQb6FxSyLxPE9OtAJO0j6lEEnqPe1qNZmC6DTCG0AYQBpAGwAdABvADoAYwBhAHIAbABvAHMALgBnAGEAbABsAGUAZwBvAEAAZQBjAG8AbgBvAGMAbwBtAC4AYwBvAG4A&URL=mailto%3acarlos.gallego%40econocom.con>
 ― web: 
www.econocom.com<https://correu.edau.ub.edu/owa/redir.aspx?SURL=QEcVtem0UuDA5N3_8eb4HwZhpWG_F7LYgHjVNQkyEQu1qNZmC6DTCGgAdAB0AHAAOgAvAC8AdwB3AHcALgBlAGMAbwBuAG8AYwBvAG0ALgBjAG8AbQAvAA..&URL=http%3a%2f%2fwww.econocom.com%2f>
________________________________
De: Help [help-bounces+ecastillo=osiatis...@monitoring-plugins.org] en nom de 
Sabir Alvi [sa...@gomoxie.com]
Enviat el: divendres, 2 / setembre / 2016 20:53
Per a: help@monitoring-plugins.org
Tema: Nagios check for NetStat

Hi There,

Looking to set up a Nagios alert for below netstat command, any ideas?

netstat -an -p TCP | findstr "CLOSE_WAIT"

I want to monitor the number of TCP connections in that particular state, every 
five minutes count.

Thank You,
Sabir Alvi
Moxie Cloud Services

Advertencia legal: La información que figura en la presente comunicación y que 
la acompaña puede ser de naturaleza confidencial o bien estar sujeta a normas 
de confidencialidad legal o a protecciones relativas a su divulgación. Tiene 
por único objeto su utilización por parte del receptor a quien está destinada. 
Si usted no es el destinatario de la presente comunicación, rogamos eliminar y 
destruir todos los ejemplares de ésta que se encuentren en su poder, avisándole 
al remitente que la recibió por error. Queda expresamente prohibido examinar o 
difundir la presente comunicación o ejecutar actos en base a la misma.

Disclaimer: The information contained in and accompanying this communication 
may be confidential, subject to legal privilege, or otherwise protected from 
disclosure, and is intended solely for the use of the intended recipient(s). If 
you are not the intended recipient of this communication, please delete and 
destroy all copies in your possession, notify the sender that you have received 
this communication in error, and note that any review or dissemination of, or 
the taking of any action in reliance on, this communication is expressly 
prohibited.

Reply via email to