Use wilcard on Filter -C in plugin Check_procs

"Alegre Duran, Tomas (ext)" <[email protected]> Wed, 12 Sep 2018 08:37:01 +0000
Newsgroups gmane.network.nagios.plugins,gmane.network.monitoring.plugins.user
Message-ID <AM0PR02MB3714A5F6D2FFD3A9811F40DBAF1B0@AM0PR02MB3714.eurprd02.prod.outlook.com>
--_000_AM0PR02MB3714A5F6D2FFD3A9811F40DBAF1B0AM0PR02MB3714eurp_
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable

Hi,

We need monitoring some process in Linux system with SAP. This system runs =
some process with similar names and we need monitoring the number of this p=
rocess runs at point of time.

It=E2=80=99s possible usr wilcards in the filter =E2=80=93C at plugin check=
_procs? For example ./check_procs =E2=80=93c 1:34 =E2=80=93C <STRING> when =
STRING is part of de command name.


Thanks in advance

Tomas Alegre
This e-mail and the documents attached are confidential and intended solely=
 for the addressee; it may also be privileged. If you receive this e-mail i=
n error, please notify the sender immediately and destroy it.
As its integrity cannot be secured on the Internet, the Atos group liabilit=
y cannot be triggered for the message content. Although the sender endeavor=
s to maintain a computer virus-free network, the sender does not warrant th=
at this transmission is virus-free and will not be liable for any damages r=
esulting from any virus transmitted.

Este mensaje y los ficheros adjuntos pueden contener informaci=C3=B3n confi=
dencial destinada solamente a la(s) persona(s) mencionadas anteriormente y =
pueden estar protegidos por secreto profesional.
Si usted recibe este correo electr=C3=B3nico por error, gracias por informa=
r inmediatamente al remitente y destruir el mensaje.
Al no estar asegurada la integridad de este mensaje sobre la red, Atos no s=
e hace responsable por su contenido. Su contenido no constituye ning=C3=BAn=
 compromiso para el grupo Atos, salvo ratificaci=C3=B3n escrita por ambas p=
artes.
Aunque se esfuerza al m=C3=A1ximo por mantener su red libre de virus, el em=
isor no puede garantizar nada al respecto y no ser=C3=A1 responsable de cua=
lesquiera da=C3=B1os que puedan resultar de una transmisi=C3=B3n de virus.

--_000_AM0PR02MB3714A5F6D2FFD3A9811F40DBAF1B0AM0PR02MB3714eurp_
Content-Type: text/html; charset="utf-8"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:=
//www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dutf-8">
<meta name=3D"Generator" content=3D"Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0cm;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";
	mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
span.EstiloCorreo17
	{mso-style-type:personal-compose;
	font-family:"Calibri","sans-serif";
	color:windowtext;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-family:"Calibri","sans-serif";
	mso-fareast-language:EN-US;}
@page WordSection1
	{size:612.0pt 792.0pt;
	margin:70.85pt 3.0cm 70.85pt 3.0cm;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=3D"ES" link=3D"blue" vlink=3D"purple">
<div class=3D"WordSection1">
<p class=3D"MsoNormal">Hi,<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US">We need monitoring some process=
 in Linux system with SAP. This system runs some process with similar names=
 and we need monitoring the number of this process runs at point of time.<o=
:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US"><o:p>&nbsp;</o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US">It=E2=80=99s possible usr wilca=
rds in the filter =E2=80=93C at plugin check_procs? For example ./check_pro=
cs =E2=80=93c 1:34 =E2=80=93C &lt;STRING&gt; when STRING is part of de comm=
and name.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US"><o:p>&nbsp;</o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US"><o:p>&nbsp;</o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US">Thanks in advance<o:p></o:p></s=
pan></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US"><o:p>&nbsp;</o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US">Tomas Alegre<o:p></o:p></span><=
/p>
</div>
This e-mail and the documents attached are confidential and intended solely=
 for the addressee; it may also be privileged. If you receive this e-mail i=
n error, please notify the sender immediately and destroy it.
<br>
As its integrity cannot be secured on the Internet, the Atos group liabilit=
y cannot be triggered for the message content. Although the sender endeavor=
s to maintain a computer virus-free network, the sender does not warrant th=
at this transmission is virus-free
 and will not be liable for any damages resulting from any virus transmitte=
d. <br>
<br>
Este mensaje y los ficheros adjuntos pueden contener informaci=C3=B3n confi=
dencial destinada solamente a la(s) persona(s) mencionadas anteriormente y =
pueden estar protegidos por secreto profesional.
<br>
Si usted recibe este correo electr=C3=B3nico por error, gracias por informa=
r inmediatamente al remitente y destruir el mensaje.
<br>
Al no estar asegurada la integridad de este mensaje sobre la red, Atos no s=
e hace responsable por su contenido. Su contenido no constituye ning=C3=BAn=
 compromiso para el grupo Atos, salvo ratificaci=C3=B3n escrita por ambas p=
artes.
<br>
Aunque se esfuerza al m=C3=A1ximo por mantener su red libre de virus, el em=
isor no puede garantizar nada al respecto y no ser=C3=A1 responsable de cua=
lesquiera da=C3=B1os que puedan resultar de una transmisi=C3=B3n de virus.
</body>
</html>

--_000_AM0PR02MB3714A5F6D2FFD3A9811F40DBAF1B0AM0PR02MB3714eurp_--