Package: serverstats
Version: 0.8.2-10
Severity: normal

Dear Maintainer,

the "ping" source does not work any more in jessie due to changed output
of the ping command.

The following patch ("icmp_req" => "icmp_seq") fixes the ping source:

diff -r serverstats/sources/ping.php serverstats_fix/sources/ping.php
60c61
<                       if
(preg_match('/^.*icmp_req=.+ttl=.+time=([0-9\.]+) ms$/', $line, $matches))
---
>                       if
(preg_match('/^.*icmp_seq=.+ttl=.+time=([0-9\.]+) ms$/', $line, $matches))

Ralf



-- System Information:
Distributor ID: Raspbian
Description:    Raspbian GNU/Linux 8.0 (jessie)
Release:        8.0
Codename:       jessie
Architecture: armv7l

Kernel: Linux 4.1.7-v7+ (SMP w/4 CPU cores; PREEMPT)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) (ignored:
LC_ALL set to de_DE.utf8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages serverstats depends on:
ii  nginx-full [httpd]  1.6.2-5
ii  php5                5.6.14+dfsg-0+deb8u1
ii  php5-cli            5.6.14+dfsg-0+deb8u1
ii  rrdtool             1.4.8-1.2

Versions of packages serverstats recommends:
ii  php5-gd      5.6.14+dfsg-0+deb8u1
ii  php5-imap    5.6.14+dfsg-0+deb8u1
ii  php5-mcrypt  5.6.14+dfsg-0+deb8u1
ii  php5-mysql   5.6.14+dfsg-0+deb8u1
ii  php5-snmp    5.6.14+dfsg-0+deb8u1

serverstats suggests no packages.

-- Configuration Files:
/etc/cron.d/serverstats changed [not included]
/etc/serverstats/graph.php changed [not included]
/etc/serverstats/log.php changed [not included]
/etc/serverstats/simple.php changed [not included]
/etc/serverstats/sources.php changed [not included]

-- no debconf information

Reply via email to