question on check_procs

Bruno Brossoit <[email protected]> Tue, 12 Sep 2017 09:30:06 -0400
Newsgroups gmane.network.nagios.plugins,gmane.network.monitoring.plugins.user
Message-ID <CAB==r_mn6kMe9zQoSGUdJZdYLPCKDOUgpUehGxdr=LKK0ii3AQ@mail.gmail.com>
--001a113bc880a783cb0558fe0a12
Content-Type: text/plain; charset="UTF-8"

Hi,

i am looking to implement check_procs on RSS and i have a question for the
output:
i ran this command:

./check_procs -w 34000 -c 2000000 --metric=RSS -v

RSS WARNING: 11 warn out of 121 processes [httpd, mysqld, httpd, httpd,
httpd, httpd, httpd, httpd, httpd, httpd, httpd] | procs=121;;;0;
procs_warn=11;;;0; procs_crit=0;;;0;


i see 11 procs in warning but i do not see the PID , only the name. is it
possible to see the PID in the output ?

Thanks

Bruno

--001a113bc880a783cb0558fe0a12
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Hi,<div><br></div><div>i am looking to implement check_pro=
cs on RSS and i have a question for the output:</div><div>i ran this comman=
d:</div><div><br></div><div><p style=3D"margin:0px;font-size:18px;line-heig=
ht:normal;font-family:Menlo;color:rgb(0,0,0)"><span style=3D"font-variant-l=
igatures:no-common-ligatures">./check_procs -w 34000 -c 2000000 --metric=3D=
RSS -v</span></p>
<p style=3D"margin:0px;font-size:18px;line-height:normal;font-family:Menlo;=
color:rgb(0,0,0)"><span style=3D"font-variant-ligatures:no-common-ligatures=
">RSS WARNING: 11 warn out of 121 processes [httpd, mysqld, httpd, httpd, h=
ttpd, httpd, httpd, httpd, httpd, httpd, httpd] | procs=3D121;;;0; procs_wa=
rn=3D11;;;0; procs_crit=3D0;;;0;</span></p></div><div><span style=3D"font-v=
ariant-ligatures:no-common-ligatures"><br></span></div><div><span style=3D"=
font-variant-ligatures:no-common-ligatures"><br></span></div><div><span sty=
le=3D"font-variant-ligatures:no-common-ligatures">i see 11 procs in warning=
 but i do not see the PID , only the name. is it possible to see the PID in=
 the output ?</span></div><div><span style=3D"font-variant-ligatures:no-com=
mon-ligatures"><br></span></div><div><span style=3D"font-variant-ligatures:=
no-common-ligatures">Thanks</span></div><div><span style=3D"font-variant-li=
gatures:no-common-ligatures"><br></span></div><div><span style=3D"font-vari=
ant-ligatures:no-common-ligatures">Bruno</span></div></div>

--001a113bc880a783cb0558fe0a12--