[Nagiosplug-help] Compile issue

Marc Belanger sun.jedi at gmail.com
Tue Mar 20 18:58:49 CET 2007


Hiya,

I tried exactly what you posted ... no go
I tried --with-PS_COMMAND=/usr/bin/ps
I tried editing the common.h;

MAX_INPUT_BUFFER 1024
to
MAX_INPUT_BUFFER 4096

...which I found by googling
http://article.gmane.org/gmane.network.nagios.plugins.devel/4629

No love.

I can say with absolute certainty I did not have this issue with earlier
versions of the plugins. There is something different on this box, I'm
guessing. UNless a change was made to the plugin itself.

-Marc

On 3/17/07, Esben Bach <esben at cs.aau.dk> wrote:
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi
>
>
> As i can't see if you had any errors with your compile on the
> check_procs i don't know if this will help.
> Anyway i compiled my plugin package with the following configure command:
>
> ./configure --with-openssl=/usr/sfw --without-mysql
> - --with-perl=/usr/bin/perl --with-ps_command="/usr/bin/ps -eo 's uid pid
> ppid vsz rss pcpu etime comm args'" --with-ps_format='%s %d %d %d %d %d
> %f %s %s %n' --with-ps_cols=10
> -
>
> --with-ps_varlist='procstat,&procuid,&procpid,&procppid,&procvsz,&procrss,&procpcpu,procetime,procprog,&pos'
>
> All the --with-ps should fix your check_procs problem (it did for me), i
> don't know where you have openssl installed or if this will even help
> on your http problem.
>
> - --
> Esben
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.2 (GNU/Linux)
> Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org
>
> iD8DBQFF+8WrqF3vTC9LTWIRAi+8AJ9E0dlD5M+9F4Jsr0QswNRjfSUwegCdHBxJ
> +QTCiCxsixlMcaTp2cAePyE=
> =0AcU
> -----END PGP SIGNATURE-----
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-plugins.org/archive/help/attachments/20070320/7698c7ce/attachment.html>


More information about the Help mailing list