conn test fails / comes back
Hi,
I just upgraded to RC, and noticed a very strange thing. When I use fping OR hobbitping, the connection test goes red, then green, and cycles like that for all hosts.
I made sure I had no phantom process on the machine by killing everything owned by the hobbit user, then starting the server from scratch, and all tests are fine, except for the connection test.
Any idea where that might come from ?
Thanks, Stephane
--
Stephane Caminade Administrateur Systèmes et Réseaux \ <Stephane.Caminade at ias.u-psud.fr> Institut d'Astrophysique Spatiale / tel : (33) (1) 69 85 87 03 Batiment 121, Universite Paris XI \ fax : (33) (1) 69 85 86 75 F-91405 ORSAY Cedex / www : http://www.ias.u-psud.fr/
Bump.
Just ran ~/BETA/server/bin$ ./bbtest-net --ping --checkresponse --debug
All the servers have green status, however often i run this command.
I m at a loss as to the nature of the problem. Stephane
Stephane Caminade wrote:
Hi,
I just upgraded to RC, and noticed a very strange thing. When I use fping OR hobbitping, the connection test goes red, then green, and cycles like that for all hosts.
I made sure I had no phantom process on the machine by killing everything owned by the hobbit user, then starting the server from scratch, and all tests are fine, except for the connection test.
Any idea where that might come from ?
Thanks, Stephane
--
Stephane Caminade Administrateur Systèmes et Réseaux \ <Stephane.Caminade at ias.u-psud.fr> Institut d'Astrophysique Spatiale / tel : (33) (1) 69 85 87 03 Batiment 121, Universite Paris XI \ fax : (33) (1) 69 85 86 75 F-91405 ORSAY Cedex / www : http://www.ias.u-psud.fr/
Hi,
Os: FreeBSD 5.1 Server Hobbit: 4.2-RC-20060712 Client Hobbit: 4.2-RC-20060712
I m trying to configure trigger on msgs check but don't manage :(
here the configuration on server side, maybe there is a mistake :
Goal: report yellow/red alerts on some keyword in /var/log/messages
- hobbit-clients.cfg on server side
HOST=baldo.tou.nu [...] LOG %/var/log/messages kernel COLOR=yellow LOG %/var/log/messages %(I/O|read).error COLOR=red LOG %/var/log/messages diff-bkp-mx-dom COLOR=red
- client-local.cfg on server side
[freebsd] log:/var/log/maillog:10240 file:/usr/local/bin/bash:md5 log:/var/log/messages:10240
[baldo.tou.nu] file:/usr/local/bin/bash:md5 log:/var/log/messages:10240 trigger diff-bkp-mx-dom trigger kernel log:/var/log/maillog:10240 ignore spamd trigger deferred
- The [green] msgs column of the host reports this:
No entries in /var/log/messages
No entries in /var/log/maillog
Full log /var/log/messages Jul 25 11:19:36 baldo sudo: hobbit : TTY=unknown ; PWD=/usr/home/hobbit/client ; USER=root ; COMMAND=/usr/bin/netstat -i -b -n Jul 25 11:19:36 baldo sudo: hobbit : TTY=unknown ; PWD=/usr/home/hobbit/client ; USER=root ; COMMAND=/usr/bin/netstat -s Jul 25 11:19:36 baldo sudo: hobbit : TTY=unknown ; PWD=/usr/home/hobbit/client ; USER=root ; COMMAND=/usr/bin/netstat -na -f inet [...] Jul 25 11:49:43 baldo sudo: hobbit : TTY=unknown ; PWD=/usr/home/hobbit/client ; USER=root ; COMMAND=/bin/ps -ax -ww -o pid,ppid,user,start,state,pri,pcpu,cputime,pmem,rss,vsz,args Jul 25 11:49:43 baldo sudo: hobbit : TTY=unknown ; PWD=/usr/home/hobbit/client ; USER=root ; COMMAND=/usr/bin/top -n 20
Full log /var/log/maillog Cannot open logfile /var/log/maillog : Permission denied
I know there is a permission problem for maillog but i don 't care at this time, i d like to monitore /var/log/messages at first ;-)
Thanks in advance.
Regards, Nicolas
Nicolas wrote:
Hi,
Os: FreeBSD 5.1 Server Hobbit: 4.2-RC-20060712 Client Hobbit: 4.2-RC-20060712
I m trying to configure trigger on msgs check but don't manage :(
here the configuration on server side, maybe there is a mistake :
Goal: report yellow/red alerts on some keyword in /var/log/messages
- hobbit-clients.cfg on server side
HOST=baldo.tou.nu [...] LOG %/var/log/messages kernel COLOR=yellow LOG %/var/log/messages %(I/O|read).error COLOR=red LOG %/var/log/messages diff-bkp-mx-dom COLOR=red
- client-local.cfg on server side
[freebsd] log:/var/log/maillog:10240 file:/usr/local/bin/bash:md5 log:/var/log/messages:10240
[baldo.tou.nu] file:/usr/local/bin/bash:md5 log:/var/log/messages:10240 trigger diff-bkp-mx-dom trigger kernel log:/var/log/maillog:10240 ignore spamd trigger deferred
I am not sure you can have multiple triggers? How about something like this
trigger diff-bkp-mx-dom|kernel
- The [green] msgs column of the host reports this:
No entries in /var/log/messages
No entries in /var/log/maillog
Full log /var/log/messages Jul 25 11:19:36 baldo sudo: hobbit : TTY=unknown ; PWD=/usr/home/hobbit/client ; USER=root ; COMMAND=/usr/bin/netstat -i -b -n Jul 25 11:19:36 baldo sudo: hobbit : TTY=unknown ; PWD=/usr/home/hobbit/client ; USER=root ; COMMAND=/usr/bin/netstat -s Jul 25 11:19:36 baldo sudo: hobbit : TTY=unknown ; PWD=/usr/home/hobbit/client ; USER=root ; COMMAND=/usr/bin/netstat -na -f inet [...] Jul 25 11:49:43 baldo sudo: hobbit : TTY=unknown ; PWD=/usr/home/hobbit/client ; USER=root ; COMMAND=/bin/ps -ax -ww -o pid,ppid,user,start,state,pri,pcpu,cputime,pmem,rss,vsz,args Jul 25 11:49:43 baldo sudo: hobbit : TTY=unknown ; PWD=/usr/home/hobbit/client ; USER=root ; COMMAND=/usr/bin/top -n 20
Full log /var/log/maillog Cannot open logfile /var/log/maillog : Permission denied
I know there is a permission problem for maillog but i don 't care at this time, i d like to monitore /var/log/messages at first ;-)
Thanks in advance.
Regards, Nicolas
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
I am not sure you can have multiple triggers? How about something like this
trigger diff-bkp-mx-dom|kernel
i tried it:
[freebsd] log:/var/log/maillog:10240 file:/usr/local/bin/bash:md5 log:/var/log/messages:10240
[baldo.tou.nu] file:/usr/local/bin/bash:md5 log:/var/log/messages:10240 trigger kernel|diff-bkp-mx-dom log:/var/log/maillog:10240 ignore spamd trigger deferred
and
HOST=baldo.tou.nu LOG %/var/log/messages kernel COLOR=yellow LOG %/var/log/messages %(I/O|read).error COLOR=red
Unfortunately, there is the same result :
System logs at Tue Jul 25 20:18:36 CEST 2006
No entries in /var/log/messages
No entries in /var/log/maillog
Full log /var/log/messages Jul 25 19:48:32 baldo sudo: hobbit : TTY=unknown ; PWD=/usr/home/hobbit/client ; USER=root ; COMMAND=/usr/bin/netstat -i -b -n Jul 25 19:48:32 baldo sudo: hobbit : TTY=unknown ; PWD=/usr/home/hobbit/client ; USER=root ; COMMAND=/usr/bin/netstat -s [...]
Full log /var/log/maillog Cannot open logfile /var/log/maillog : Permission denied
Regards, nicolas
Just noticed on the bbtest page this little message :
Error output: Could not run the command 'fping -Ae' (exec failed)
Stephane Caminade wrote:
Bump.
Just ran ~/BETA/server/bin$ ./bbtest-net --ping --checkresponse --debug
All the servers have green status, however often i run this command.
I m at a loss as to the nature of the problem. Stephane
Stephane Caminade wrote:
Hi,
I just upgraded to RC, and noticed a very strange thing. When I use fping OR hobbitping, the connection test goes red, then green, and cycles like that for all hosts.
I made sure I had no phantom process on the machine by killing everything owned by the hobbit user, then starting the server from scratch, and all tests are fine, except for the connection test.
Any idea where that might come from ?
Thanks, Stephane
--
Stephane Caminade Administrateur Systèmes et Réseaux \ <Stephane.Caminade at ias.u-psud.fr> Institut d'Astrophysique Spatiale / tel : (33) (1) 69 85 87 03 Batiment 121, Universite Paris XI \ fax : (33) (1) 69 85 86 75 F-91405 ORSAY Cedex / www : http://www.ias.u-psud.fr/
participants (3)
-
David.Gore@verizonbusiness.com
-
nico@crysto.org
-
stephane.caminade@ias.u-psud.fr