[smokeping-users] Smokeping Master/Slave

Shawn Rose shawnjrose at gmail.com
Tue Mar 11 08:00:41 CET 2008


Hello,

Thanks Tobi and Niko. I have master/slave working with nomasterpoll.
Looks like the latest version is working well. However I'm also using
the DNS probe. Once again I have both slave a server set to debug. The
slave completes the DNS ping no problem. Results are sent back to the
master,  the master attempts to proccess the data but produces the
following error.

Mar 11 06:49:15 smokeping smokeping.dist[31484]: Calling
RRDs::update(/var/lib/smokeping/DataCenters/nj/nodes/d0org~njsmoke.rrd
--template uptime:loss:median:ping1:ping2:ping3:ping4:ping5:ping6:ping7:ping8:
ping9:ping10:ping11:ping12:ping13:ping14:ping15:ping16:ping17:ping18:ping19:ping20
1205218140:U:0:2.1000000000e-02:1.9000000000e-02:2.1000000000e-02:2.1000000000e-02:3.7000000000e-02:6.5000000000e-02)
Mar 11 06:49:15 smokeping smokeping.dist[31484]: RRDs::update ERROR:
expected 23 data source readings (got 8) from
1205218140:U:0:2.1000000000e-02:1.9000000000e-02:2.1000000000e-02:2.1000000000e-02:3.700000
0000e-02:6.5000000000e-02:...

To me it looks like the master is interpting the results as if it was
a fping instead of a DNS ping. Any ideas?

Cheers
Shawn Rose


On Mon, Mar 10, 2008 at 8:22 AM, Tobias Oetiker <tobi at oetiker.ch> wrote:
> Hi Niko,
>
>  we run things with suexec this solves the whole uid mess pretty
>  nicely ...
>
>  cheers
>  tobi
>
>
>  Today Niko Tyni wrote:
>
>  > On Mon, Mar 10, 2008 at 06:22:59AM -0400, Shawn Rose wrote:
>  >
>  > > I'm attempting to get Master/Slave working using the latest version
>  > > 2.003002, debian package.
>  >
>  > > The master, appears not to be picking up the slave data, even though
>  > > it is being sent to the master.
>  >
>  > Hi Shawn,
>  >
>  > glad to see someone trying out the new Debian way of configuring this.
>  >
>  > I now realize I should have tested it a bit better: the problem is
>  > probably that the httpd user/group (www-data.www-data) doesn't have
>  > write permissions to the RRD files and directories in /var/lib/smokeping,
>  > as they were never needed before the master/slave concept.
>  >
>  > I'll try to come up with a clean fix for the next version of the Debian
>  > package, but the workaround should be
>  >
>  > # chmod -R g+w /var/lib/smokeping.
>  >
>  > Cheers,
>  >
>
>  --
>
> Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten
>  http://it.oetiker.ch tobi at oetiker.ch ++41 62 213 9902
>
>
>
> _______________________________________________
>  smokeping-users mailing list
>  smokeping-users at lists.oetiker.ch
>  https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users
>



-- 
Check out

http://www.bulldoze.ca
http://www.dirkadirka.ca

Cheers
Shawn Rose



More information about the smokeping-users mailing list