Cactid bug and fix

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
Penfold
Posts: 1
Joined: Sun Aug 29, 2004 5:21 am
Location: Peterborough
Contact:

Cactid bug and fix

Post by Penfold »

Running Rolf's squidstats package under cactid (Debian testing - 0.8.5a_4), I get (in poll.log)

RRDCMD: update '/usr/share/cacti/rra/squid_test_server_squid_clienthttphit_61.rrd' --template squid_clientHttpHi:squid_clientHttpRe N:125384:126310
ERROR: unknown DS name 'squid_clientHttpHi'

A little investigation, thanks to heretic on NixHelp, suggests that in cactid/cactid.h there's a variable definition that needs to be bigger!

typedef struct multi_rrd_struct{
char rrd_name[19]; # too small!!!!!
char rrd_path[255];
char result[255];
} multi_rrd_t;
Mike Whitaker
System Architect
Wisden CricInfo Ltd
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest