Date: Wed, 14 Jul 2010 13:24:53 +0200 From: "Leif Neland" <leif@neland.dk> To: <FreeBSD-gnats-submit@freebsd.org>, <freebsd-ports-bugs@freebsd.org> Subject: Re: ports/138990: nagios-statd reports /dev full Message-ID: <79338723F65040C4932FCA99C4192146@udv2> References: <200909201540.n8KFe28r023436@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
17c17 < commandlist['FreeBSD'] = ("df -k","who | wc -l","ps ax","uptime","swapinfo | awk '$1!~/^Device/{print $5}'") --- > commandlist['FreeBSD'] = ("df -k -t nodevfs","who | > wc -l","ps ax","export LANG=C;uptime","swapinfo | awk '$1!~/^Device/{print > $5}'") Another patch, could be fixed in the same round: uptime in my locale (da_DK) uses commas, confusing nagios 1:23pm up 14 days, 23:07, 2 users, load averages: 0,03 0,01 0,00 Setting LANG=C gives commas: 1:24PM up 14 days, 23:07, 2 users, load averages: 0.07, 0.02, 0.00
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?79338723F65040C4932FCA99C4192146>