Package: hobbit-client
Severity: wishlist
we have many workstations with debian and use hobbit to monitor them. the all-non
green view is a bit full because of the libs dot, that's why we created this
cron.hourly script to stop the information overflow. maybe it's also useful
for others.
/etc/cron.hourly/hobbit-libs-clean
#!/bin/bash
(
links2 -dump
"https://omniculars.ethz.ch/hobbit-cgi/bb-hostsvc.sh?HOST=${HOSTNAME}&SERVICE=libs"
| grep ")" | while read a b; do
echo -n "$a "
case $a in
avahi-dae) /etc/init.d/avahi-daemon restart;;
gdomap) /etc/init.d/gdomap restart;;
cron) /etc/init.d/cron restart;;
ntpd) /etc/init.d/ntp restart;;
getty) killall -1 getty;;
klogd) /etc/init.d/klogd restart;;
rwhod) /etc/init.d/rwhod restart;;
portmap) /etc/init.d/portmap restart;;
syslogd) /etc/init.d/sysklogd restart;;
dbus-daem) /etc/init.d/dbus restart;;
*) echo not restarting $a;;
esac
done
/etc/init.d/hobbit-client restart
) > /dev/null
exit 0
yours,
guerkan
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]