Package: smokeping Version: 2.7.2-2 Severity: important Dear Maintainer,
after installing smokeping on a updated system i couldn't get it to print the graphs with multiple targets and a "step=10" and "pings=10" on /etc/smokeping/config.d/Database. got this log: "FPing: WARNING: smokeping took 27.0296120643616 seconds to complete 1 round of polling. It should complete polling in 10 seconds. You may have unresponsive devices in your setup." the fping process was run as this command "/usr/bin/fping -C 10 -q -B1 -r1 - -i10 localhost" as we an see, after the "-r1" argument and before the "-i10" there is a minus without an argument. that minus appears as well on the fping command on a default installation. on my system the command takes 27 seconds to be executed with that minus and with the error "-: Name or service not known". without the minus it takes only 9 seconds. thank you. best regards. Debian Release: buster/sid APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 4.17.0-3-amd64 (SMP w/8 CPU cores) Locale: LANG=pt_PT.UTF-8, LC_CTYPE=pt_PT.UTF-8 (charmap=UTF-8), LANGUAGE=pt:pt_BR:en (charmap=UTF-8) Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages smokeping depends on: ii adduser 3.117 ii debianutils 4.8.6 ii exim4-daemon-light [mail-transport-agent] 4.91-7 ii fping 4.0-6 ii libcgi-fast-perl 1:2.13-1 ii libconfig-grammar-perl 1.12-2 ii libdigest-hmac-perl 1.03+dfsg-2 ii libjs-cropper 1.2.2-1 ii libjs-prototype 1.7.1-3 ii libjs-scriptaculous 1.9.0-2 ii librrds-perl 1.7.0-1+b2 ii libsnmp-session-perl 1.14~git20130523.186a005-3 ii liburi-perl 1.74-1 ii libwww-perl 6.35-2 ii lsb-base 9.20170808 ii perl 5.26.2-7 ii ucf 3.0038 Versions of packages smokeping recommends: ii apache2 [httpd-cgi] 2.4.34-1 ii dnsutils 1:9.11.4+dfsg-4 ii echoping 6.0.2-10 ii libsocket6-perl 0.28-1 Versions of packages smokeping suggests: ii curl 7.61.0-1 ii exim4-daemon-light [mail-transport-agent] 4.91-7 pn libauthen-radius-perl <none> ii libio-socket-ssl-perl 2.059-1 pn libnet-dns-perl <none> pn libnet-ldap-perl <none> pn libnet-telnet-perl <none> ii openssh-client 1:7.8p1-1 -- Configuration Files: /etc/init.d/smokeping changed: set -e . /lib/lsb/init-functions DAEMON=/usr/sbin/smokeping NAME=smokeping DESC="latency logger daemon" CONFIG=/etc/smokeping/config PIDFILE=/var/run/smokeping/$NAME.pid DAEMON_USER=smokeping DEFAULTS=/etc/default/smokeping MODE=master DAEMON_ARGS="--config=$CONFIG --debug-daemon" unset LC_ALL test -f "$DAEMON" || exit 0 if [ -f "$DEFAULTS" ] then . "$DEFAULTS" fi check_slave() { if [ "$MODE" != "slave" ] then return fi if [ -z "$SHARED_SECRET" ] then log_progress_msg "(missing \$SHARED_SECRET setting)" log_end_msg 6 # program is not configured exit 6 fi if [ ! -r "$SHARED_SECRET" ] then log_progress_msg "(invalid \$SHARED_SECRET setting)" log_end_msg 2 # invalid or excess argument(s) exit 2 fi if [ -z "$MASTER_URL" ] then log_progress_msg "(missing \$MASTER_URL setting)" log_end_msg 6 # program is not configured exit 6 fi DAEMON_ARGS="$DAEMON_ARGS --master-url $MASTER_URL --shared-secret $SHARED_SECRET" if [ -n "$SLAVE_NAME" ] then DAEMON_ARGS="$DAEMON_ARGS --slave-name $SLAVE_NAME" fi DAEMON_ARGS="$DAEMON_ARGS --cache-dir /var/lib/smokeping" DAEMON_ARGS="$DAEMON_ARGS --pid-dir /var/run/smokeping" } check_config () { echo "Checking smokeping configuration file syntax..." # Check whether the configuration file is available if [ ! -r "$CONFIG" ] && [ "$MODE" = "master" ] then log_progress_msg "($CONFIG does not exist)" log_end_msg 6 # program is not configured exit 6 fi if [ ! -d /var/run/smokeping ]; then mkdir /var/run/smokeping chown ${DAEMON_USER}.root /var/run/smokeping chmod 0755 /var/run/smokeping fi ${DAEMON} --config=${CONFIG} --check || exit 6 } case "$1" in start) check_config log_daemon_msg "Starting $DESC" $NAME check_slave set +e pidofproc -p "$PIDFILE" "$DAEMON" > /dev/null STATUS=$? set -e if [ "$STATUS" = 0 ] then log_progress_msg "already running" log_end_msg $STATUS exit $STATUS fi set +e start-stop-daemon --start --quiet --exec $DAEMON --oknodo \ --chuid $DAEMON_USER --pidfile $PIDFILE \ -- $DAEMON_ARGS \ | logger -p daemon.notice -t $NAME STATUS=$? set -e log_end_msg $STATUS exit $STATUS ;; stop) log_daemon_msg "Shutting down $DESC" $NAME set +e start-stop-daemon --oknodo --stop --retry 3 --quiet --pidfile /var/run/smokeping/$NAME.pid --signal 15 STATUS=$? set -e log_end_msg $STATUS exit $STATUS ;; restart) # Restart service (if running) or start service $0 stop $0 start ;; reload|force-reload) check_config log_action_begin_msg "Reloading $DESC configuration" set +e $DAEMON --reload $DAEMON_ARGS | logger -p daemon.notice -t smokeping STATUS=$? set -e if [ "$STATUS" = 0 ] then log_action_end_msg 0 "If the CGI has problems reloading, see README.Debian." else log_action_end_msg $STATUS fi exit $STATUS ;; check) check_config ;; status) log_daemon_msg "Checking $DESC status" $NAME # Use pidofproc to check the status of the service, # pidofproc returns the exit status code of 0 when it the process is # running. # LSB defined exit status codes for status: # 0 program is running or service is OK # 1 program is dead and /var/run pid file exists # 2 program is dead and /var/lock lock file exists # 3 program is not running # 4 program or service status is unknown # 5-199 reserved (5-99 LSB, 100-149 distribution, 150-199 applications) set +e pidofproc -p "$PIDFILE" "$DAEMON" > /dev/null STATUS=$? log_progress_msg "(status $STATUS)" log_end_msg 0 set -e exit $STATUS ;; *) echo "Usage: $0 {start|stop|status|restart|force-reload|reload}" exit 1 ;; esac /etc/smokeping/smokeping_secrets [Errno 13] Permissão negada: '/etc/smokeping/smokeping_secrets' -- no debconf information