Hello Silvio! > > Schon mal ins Log geschaut. Ich weiß, das es problematisch war. Die > > Rechnernamen sind problematisch > Das ist das Problem, kein Logeintrag. Im Verzeichniss > /var/log/spong ist nichts vorhanden. In die syslog und > messages schreibt er auch nicht. Dann schalte es ein: [EMAIL PROTECTED]:/etc/spong$ grep log * [..] spong.conf:$SPONG_LOG_FILE = 1; # Log output to log file for spong-program in $SPONGTMP spong.conf:$SPONG_LOG_SYSLOG = 0; # Log output to syslog [..]
217-20-114-249:/etc/spong# hostname
217-20-114-249.internetserviceteam.com
> /etc/spong/spong.hosts
> %HOSTS = (
> 'mail.hserver.info' => { services => 'ping: smtp imap http pop3',
> ip_addr => ['85.10.198.16', ],
> },
%HOSTS = ( # Leave this alone on this line
'217-20-114-249.internetserviceteam.com' => {
services => 'ping http smtp dns ssh imap pop mysql',
ip_addr => '217.20.114.249',
contact => 'zolnott',
},
);
>
> Denn entsprechenden Eintrag in der
> /etc/spong/spong.groups
> %GROUPS = (
> 'all' => { name => 'All Systems',
> summary => "This groups contains all hosts monitored by spong",
> },
>
> 'mailserver' => { name => 'Mailservers',
> summary => 'Hetzner Online AG',
> members => [ 'mail.hserver.info',
> 'mail.siefke-internet.net',
> 'mail.silviosiefke.de',
> 'mail.silviosiefke.net',
> ],
> display => 1,
> },
%HOSTS = ( # Leave this alone on this line
'217-20-114-249.internetserviceteam.com' => {
services => 'ping http smtp dns ssh imap pop mysql',
ip_addr => '217.20.114.249',
contact => 'zolnott',
},
);
Ich habe eine spong.conf.s20 (s20 ist einer meiner Rechnernamen) und da
steht folgendes drin:
217-20-114-249:/etc/spong# cat spong.conf.s20
# This file is automatically created by debconf, yet all modifications
# will be preserved.
$SPONGSERVER="217-20-114-249.internetserviceteam.com";
$SPONGSERVER="localhost";
1;
Wie gesagt, es hatte lange gedauert, bis ich das geschafft habe. Aber
ich weiß, das der Hostname immer der gleiche sein muß, sonst geht es
nicht.
CU
Michael
--
Michael Ott, e-mail: [EMAIL PROTECTED], www.zolnott.de
I am registered as user #275453 with the Linux Counter, http://counter.li.org.
pgpJqS4ZY5CDG.pgp
Description: PGP signature

