Re: check_load documentation

Oliver Skibbe <[email protected]> Wed, 7 Aug 2019 08:05:03 +0200
Newsgroups gmane.network.nagios.plugins
Message-ID <CA+EV5HmMnUZbR+g6hPZ6H6hZx_Ss0e0X8biY9zf4E58pYuPyvQ__15283.021777735$1565157927$gmane$org@mail.gmail.com>
--00000000000094c7ba058f80b946
Content-Type: text/plain; charset="UTF-8"

Hello Alex,

are you using the plugins from the repository of debian? The usage text is
in the source code since 2017 (
https://github.com/monitoring-plugins/monitoring-plugins/commit/1410ffff281bc82d423459198cb4ea3f393b1e92#diff-8872986e9bed2ee708453d9c59aad9d0
)

Regards
Oliver

Am Di., 6. Aug. 2019 um 08:04 Uhr schrieb Alex Dahlman <
[email protected]>:

> Hi team,
>
> We are trying to use the check_load on our ubuntu server and receive this
> error ./check_load: unrecognized option '--procs-to-show=, it looks like
> version 2.2 doesn't support the -n --procs-to-show=NUMBER_OF_PROCS as
> outline in the docs here
> https://www.monitoring-plugins.org/doc/man/check_load.html. When using
> check_procs -H, it doesn't show up: Options:
>  -h, --help
>     Print detailed help screen
>  -V, --version
>     Print version information
>  --extra-opts=[section][@file]
>     Read options from an ini file. See
>     https://www.monitoring-plugins.org/doc/extra-opts.html
>     for usage and examples.
>  -w, --warning=WLOAD1,WLOAD5,WLOAD15
>     Exit with WARNING status if load average exceeds WLOADn
>  -c, --critical=CLOAD1,CLOAD5,CLOAD15
>     Exit with CRITICAL status if load average exceed CLOADn
>     the load average format is the same used by "uptime" and "w"
>  -r, --percpu
>     Divide the load averages by the number of CPUs (when possible)
>
>
> Not sure if this is a bug or just documentation, but wanted to flag it.
>
> Thanks alot.
> --
> *[image: Pinterest] <https://www.pinterest.com/cassiefabel/> **Alex
> Dahlman*
> Corp. SRE
> [email protected]
>
>

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

<div dir=3D"ltr"><div>Hello Alex,</div><div><br></div><div>are you using th=
e plugins from the repository of debian? The usage text is in the source co=
de since 2017 (=C2=A0 <a href=3D"https://github.com/monitoring-plugins/moni=
toring-plugins/commit/1410ffff281bc82d423459198cb4ea3f393b1e92#diff-8872986=
e9bed2ee708453d9c59aad9d0">https://github.com/monitoring-plugins/monitoring=
-plugins/commit/1410ffff281bc82d423459198cb4ea3f393b1e92#diff-8872986e9bed2=
ee708453d9c59aad9d0</a> ) <br></div><div><br></div><div>Regards<br></div><d=
iv>Oliver<br></div></div><br><div class=3D"gmail_quote"><div dir=3D"ltr" cl=
ass=3D"gmail_attr">Am Di., 6. Aug. 2019 um 08:04=C2=A0Uhr schrieb Alex Dahl=
man &lt;<a href=3D"mailto:[email protected]">[email protected]</a=
>&gt;:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0=
px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir=
=3D"ltr">Hi team,=C2=A0<br><br>We are trying to use the check_load on our u=
buntu server and receive this error ./check_load: unrecognized option &#39;=
--procs-to-show=3D, it looks like version 2.2 doesn&#39;t support the -n=C2=
=A0<span style=3D"font-family:&quot;Source Code Pro&quot;,monospace;color:r=
gb(0,0,0)">--procs-to-show=3DNUMBER_OF_PROCS as outline in the docs here=C2=
=A0</span><a href=3D"https://www.monitoring-plugins.org/doc/man/check_load.=
html" target=3D"_blank">https://www.monitoring-plugins.org/doc/man/check_lo=
ad.html</a><span style=3D"font-family:&quot;Source Code Pro&quot;,monospace=
;color:rgb(0,0,0)">. When using check_procs -H, it doesn&#39;t show up:=C2=
=A0</span>Options:<br>=C2=A0-h, --help<br>=C2=A0 =C2=A0 Print detailed help=
 screen<br>=C2=A0-V, --version<br>=C2=A0 =C2=A0 Print version information<b=
r>=C2=A0--extra-opts=3D[section][@file]<br>=C2=A0 =C2=A0 Read options from =
an ini file. See<br>=C2=A0 =C2=A0 <a href=3D"https://www.monitoring-plugins=
.org/doc/extra-opts.html" target=3D"_blank">https://www.monitoring-plugins.=
org/doc/extra-opts.html</a><br>=C2=A0 =C2=A0 for usage and examples.<br>=C2=
=A0-w, --warning=3DWLOAD1,WLOAD5,WLOAD15<br>=C2=A0 =C2=A0 Exit with WARNING=
 status if load average exceeds WLOADn<br>=C2=A0-c, --critical=3DCLOAD1,CLO=
AD5,CLOAD15<br>=C2=A0 =C2=A0 Exit with CRITICAL status if load average exce=
ed CLOADn<br>=C2=A0 =C2=A0 the load average format is the same used by &quo=
t;uptime&quot; and &quot;w&quot;<br>=C2=A0-r, --percpu<br>=C2=A0 =C2=A0 Div=
ide the load averages by the number of CPUs (when possible)<div><br></div><=
div><br></div><div>Not sure if this is a bug or just documentation, but wan=
ted to flag it.=C2=A0<br><br>Thanks alot.</div>-- <br><div dir=3D"ltr" clas=
s=3D"gmail-m_863404657413918028gmail_signature"><div dir=3D"ltr"><div style=
=3D"margin:0px;padding:0px 0px 20px;width:1264px;font-family:Roboto,RobotoD=
raft,Helvetica,Arial,sans-serif;font-size:medium"><div><div style=3D"margin=
:8px 0px 0px;padding:0px"><div><div dir=3D"ltr"><span><div dir=3D"ltr"><div=
 dir=3D"ltr"><div dir=3D"ltr"><div dir=3D"ltr"><div dir=3D"ltr"><div style=
=3D"color:rgb(136,136,136);font-size:12.8px"><strong style=3D"color:rgb(235=
,28,35);font-size:12px;text-transform:capitalize;font-family:Arial;outline:=
0px none rgb(235,28,35);border-spacing:2px;border:0px none rgb(235,28,35)">=
<a href=3D"https://www.pinterest.com/cassiefabel/" target=3D"_blank"><img a=
lt=3D"Pinterest" src=3D"https://s3.amazonaws.com/images.wisestamp.com/pinte=
rest.png" style=3D"padding: 0px 0px 5px; vertical-align: middle;" width=3D"=
16" height=3D"16" border=3D"0"></a>=C2=A0</strong><strong style=3D"font-siz=
e:12px;text-transform:capitalize;font-family:Arial;outline:0px none rgb(235=
,28,35);border-spacing:2px;border:0px none rgb(235,28,35)"><font color=3D"#=
444444">Alex Dahlman</font></strong></div><div style=3D"font-size:12.8px"><=
font color=3D"#444444">Corp. SRE<br></font><a href=3D"mailto:adahlman@pinte=
rest.com" style=3D"color:rgb(136,136,136);font-size:12.8px" target=3D"_blan=
k">[email protected]</a><br></div><div style=3D"color:rgb(136,136,136)=
;font-size:12.8px"><div><br></div></div></div></div></div></div></div></spa=
n></div><div></div></div></div><div></div></div></div></div></div></div>
</blockquote></div>

--00000000000094c7ba058f80b946--