Dank eines Mailinglistenbeitrags konnte ich nach Stunden mein Problem mit den slave-secrets bei smokeping 2.3 lösen:
vzvps210:~# LANG=C /etc/init.d/smokeping start Starting latency logger daemon: smokepingWARNING: No secret found for slave probe-tm Sent data to Server. Server said WARNING: No secret found for slave probe-tm ERROR: we did not get config from the master. Maybe we are not configured as a slave for any of the targets on the master ? .
Grandiose Idee, die Ausgabe »Sent data to Server. Server said « wegzulassen, solange man nicht mit »–debug-daemon« startet und nur die Fehlermeldung »WARNING: No secret found for slave probe-tm« des Masters auszugeben.
Lösung:
root@smokeping-master:~ # id apache uid=48(apache) gid=48(apache) groups=48(apache) root@smokeping-master:~ # ls -la /etc/smokeping/smokeping_secrets -rw-r----- 1 root root 57 Jun 22 14:44 /etc/smokeping/smokeping_secrets root@smokeping-master:~ # chown apache:apache /etc/smokeping/smokeping_secrets
vzvps210:~# LANG=C /etc/init.d/smokeping start Starting latency logger daemon: smokepingSent data to Server and got new config in response. .
Immer wieder spannend …
