Package: spong-www
Version: 2.7.7-8
I get the following error when clicking on "Spong RRD Charts":
"Not Found
The requested URL /spong/rrd/index.html was not found on this server.
Apache/2.0.54 (Debian GNU/Linux) Server at localhost Port 80"
Reason: /etc/spong/spong.rrd has bugs. These lines must be changed:
# System folders
$SPONGDB = "/var/lib/spong/database";
$RRDDIR = "/var/lib/spong/rrd/database"; #Location to put generated RRD
databases
$RRDWWWDIR = "/var/lib/spong/rrd/www"; # Location to put generated pages
$IMAGE_DIR = "/var/lib/spong/rrd/www/images"; # Directory file for generated
correct values are:
# System folders
$SPONGDB = "/var/www/spong/database";
$RRDDIR = "/var/www/spong/rrd/database"; #Location to put generated RRD
databases
$RRDWWWDIR = "/var/www/spong/rrd"; # Location to put generated pages
$IMAGE_DIR = "/var/www/spong/rrd/images"; # Directory file for generated
Of course /var/lib/www/rrd must me created then, spong-server restarted and
spong-rrd run once to create the index.html. The only problem that is left
is that this index.html does not contain any servers, but I assume it is the
same problem that I see with the server groups: none of them are displayed
in http://localhost/cgi-bin/www-spong.cgi/bygroup/
my spong.hosts:
%HOSTS = ( # Leave this alone on this line
'ridcully.mediascape.de' => { services => 'smtp http',
contact => 'olaf',
ip_addr => [ '127.0.0.1' ],
},
'binky.tuxfriends.net' => { services => 'smtp http',
contact => 'olaf',
},
);
my spong.groups:
%GROUPS = (
'all' => { name => 'All Systems',
summary => "This groups contains all hosts monitored by spong" },
'Olafs servers' => {
name => 'Olafs servers',
members => [ 'ridcully.mediascape.de',
'binky.tuxfriends.net' ] },
);
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]