[smokeping-users] No data being displayed for slave machine
ged at jubileegroup.co.uk
Sun Jun 22 17:06:41 CEST 2008
On Mon, 23 Jun 2008, David Tomic wrote:
> My apologies ... I just realised that I must have been doing something
> I'd specified a different logfile using 'logfile=' when I launched the
> smokeping daemon...
Well that's not necessarily wrong, it depends what you want to do with
the logging output. I always prefer syslog (actually I use syslog-ng)
but it's just because that's what I'm familiar with. OTOH if you told
smokeping to write to a log file that it doesn't have permission to
write to, then that might be a problem. You might reasonably expect a
message somewhere telling you that it was a problem, but you'd be more
than a little foolish to bet money on it. :)
> and it seems like that was the problem [don't know why though?]
> I removed that option from the command, and here's what I get now in
> Jun 22 23:55:44 david-desktop smokeping: Calling
You mean that smokeping is actually updating the .rrd files now?!
> david at david-desktop:~$ ps axufw | grep smoke | grep 8414
> 114 8414 0.0 1.1 90764 23476 ? S Jun22 0:00 \_
> /usr/sbin/smokeping [FPing]
> > It's user id 116 here...
> I'm afraid that I don't actually know the command to lookup a username
> based on its user id, but if I use ''id -u smokeping" then it confirms
> that it's user id 114 ... so that should be fine, right?
Right. There's no reason that the numeric user id on your machine should
be the same as that on mine for the smokeping user. The simplest way to
look at that information is to list /etc/passwd. Type
man 5 passwd
for more infomation about that file.
More information about the smokeping-users