make use of etime when calling ps via check_proc

This commit is contained in:
Jan Wagner 2009-08-05 22:22:43 +00:00
parent 526d4e67f5
commit 450865202e
2 changed files with 7 additions and 5 deletions

4
debian/changelog vendored
View file

@ -2,8 +2,10 @@ nagios-plugins (1.4.13+git200906171200-2) UNRELEASED; urgency=low
* added libmysqlclient16-dev to build-deps and moved libmysqlclient-dev to * added libmysqlclient16-dev to build-deps and moved libmysqlclient-dev to
the first position (Closes: #538487) the first position (Closes: #538487)
* configure ps to use also etime with check_proc, thanks to
Justin T Pryzby (Closes: #540107)
-- Jan Wagner <waja@cyconet.org> Tue, 07 Jul 2009 11:12:50 +0200 -- Jan Wagner <waja@cyconet.org> Thu, 06 Aug 2009 00:11:51 +0200
nagios-plugins (1.4.13+git200906171200-1) unstable; urgency=low nagios-plugins (1.4.13+git200906171200-1) unstable; urgency=low

8
debian/rules vendored
View file

@ -77,10 +77,10 @@ config.status: configure
--with-pgsql=/usr \ --with-pgsql=/usr \
--with-mysql=/usr \ --with-mysql=/usr \
--with-proc-loadavg=/proc/loadavg \ --with-proc-loadavg=/proc/loadavg \
--with-ps-command="/bin/ps axwo 'stat uid pid ppid vsz rss pcpu comm args'" \ --with-ps-command="/bin/ps axwo 'stat uid pid ppid vsz rss pcpu etime comm args'" \
--with-ps-format="%s %d %d %d %d %d %f %s %n" \ --with-ps-format="%s %d %d %d %d %d %f %s %s %n" \
--with-ps-cols=9 \ --with-ps-cols=10 \
--with-ps-varlist="procstat,&procuid,&procpid,&procppid,&procvsz,&procrss,&procpcpu,procprog,&pos" \ --with-ps-varlist="procstat,&procuid,&procpid,&procppid,&procvsz,&procrss,&procpcpu,procetime,procprog,&pos" \
--with-ping-command="/bin/ping -n -U -w %d -c %d %s" \ --with-ping-command="/bin/ping -n -U -w %d -c %d %s" \
--with-ping6-command="/bin/ping6 -n -U -w %d -c %d %s" \ --with-ping6-command="/bin/ping6 -n -U -w %d -c %d %s" \
--with-nslookup-command="/usr/bin/nslookup -sil" \ --with-nslookup-command="/usr/bin/nslookup -sil" \