[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#486109: spong-client: Wrong sort option in spong.conf --> no load graphs

Package: spong-client
Version: 2.7.7-21
Severity: normal

after a fresh install of spong-client I missed the Load, Users and Jobs graphs and gotfalse alarms red about not running cron- and syslog-daemons.

It turned out to be a wrong option of "sort" in /etc/spong/spong.conf:
$PS         = "/bin/ps ax -O'%C ' | /usr/bin/sort +1 -r";

where "+1" is deprecated and has to be replaced by "-k1".

$PS         = "/bin/ps ax -O'%C ' | /usr/bin/sort -k1 -r";

This is the case with
# sort --version
sort (GNU coreutils) 6.10

kind regards

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.24-1-686 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages spong-client depends on:
ii  adduser                       3.107      add and remove users and groups
ii  debconf [debconf-2.0]         1.5.22     Debian configuration management sy
ii  perl                          5.10.0-10  Larry Wall's Practical Extraction
ii  spong-common                  2.7.7-21   A systems and network monitoring s

spong-client recommends no packages.

-- no debconf information

Reply to: