Robert, have the exact same issue. Feb change log shows smokeping improvements so I presumed something happened there. Just hadn't posted about it yet.
On Mar 8, 2014 2:49 AM, "Robert Williams" <Robert@custodiandc.com> wrote:_______________________________________________Hi – our Smokeping tab has vanished mysteriously. Not sure exactly when but definitely within the last week. The setting is still there:
$config['smokeping']['dir'] = "/var/lib/smokeping/";
Plus the script which auto-generates the Targets file with the correct formatting is still there also and running ok (extract below):
echo "*** Targets ***\n\nprobe = FPing\n\nmenu = Top\ntitle = Network Latency Grapher\nremark = Welcome to SmokePing\n\n";
$query = mysql_query("SELECT hostname FROM `devices` WHERE `ignore`=0 AND `disabled`=0 ORDER BY hostname");
while ($data = mysql_fetch_array($query)) {
$hostid = str_replace(".","_",$data['hostname']);
$hostname = $data['hostname'];
echo "+ $hostid\n\nhost = $hostname\n\n";
}
Making hosts that look like:
+ sw-msl-pab-52_mastv_local
host = sw-msl-pab-52.mastv.local
So the targets file itself looks good and the Smokeping site is running fine if you browse it directly. The RRDs are all in /var/lib/smokeping/ and we are SVN up’ing daily.
Host names are unchanged and it has been working fine for over a year so I’m lost as to why it would disappear now. It’s gone for all hosts as far as I can tell?
I have no idea how to debug it as it’s not a poller / discovery thing, so any pointers as to what might be broken please?
Cheers :)
Robert Williams
Custodian Data Centre
Email: Robert@CustodianDC.com
http://www.CustodianDC.com
observium mailing list
observium@observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium