[mrtg] scripts randomly not running on startup
Raymond Norton
ray at lctn.k12.mn.us
Fri Jun 15 20:24:18 MEST 2001
I have a number of routers I monitor. In the past I did everything by NT, but have just now set up mrtg on Linux. At start up 1-3 scripts will not run. I can delete the .pid, and run it by the command line (perl mrtg *.cfg). All scripts are set up to run as a daemon. Below is what I am using in /etc/rc.d/init.d/mrtg . Any ideas what the problem is? Is there a better way to do this?
#! /bin/sh
cd /usr/local/mrtg/bin && ./mrtg \
/usr/local/mrtg/bin/mrtg.cfg \
/usr/local/mrtg/bin && ./mrtg \
/usr/local/mrtg/bin/clara.cfg \
/usr/local/mrtg/bin && ./mrtg \
/usr/local/mrtg/bin/brownton.cfg \
/usr/local/mrtg/bin && ./mrtg \
/usr/local/mrtg/bin/acgc.cfg \
/usr/local/mrtg/bin && ./mrtg \
/usr/local/mrtg/bin/bbe.cfg \
/usr/local/mrtg/bin && ./mrtg \
/usr/local/mrtg/bin/gsl.cfg \
/usr/local/mrtg/bin && ./mrtg \
/usr/local/mrtg/bin/lp.cfg \
/usr/local/mrtg/bin && ./mrtg \
/usr/local/mrtg/bin/orto.cfg \
/usr/local/mrtg/bin && ./mrtg \
/usr/local/mrtg/bin/benson.cfg \
/usr/local/mrtg/bin && ./mrtg \
/usr/local/mrtg/bin/dawson.cfg \
/usr/local/mrtg/bin && ./mrtg \
/usr/local/mrtg/bin/willmar.cfg \
/usr/local/mrtg/bin && ./mrtg \
/usr/local/mrtg/bin/blh.cfg \
/usr/local/mrtg/bin && ./mrtg \
/usr/local/mrtg/bin/granite.cfg \
/usr/local/mrtg/bin && ./mrtg \
/usr/local/mrtg/bin/montevideo.cfg \
/usr/local/mrtg/bin && ./mrtg \
/usr/local/mrtg/bin/kms.cfg \
/usr/local/mrtg/bin && ./mrtg \
/usr/local/mrtg/bin/clar.cfg \
/usr/local/mrtg/bin && ./mrtg \
/usr/local/mrtg/bin/lacq.cfg \
/usr/local/mrtg/bin && ./mrtg \
/usr/local/mrtg/bin/nl.cfg \
/usr/local/mrtg/bin && ./mrtg \
/usr/local/mrtg/bin/bold.cfg -- logging/var/log/mrtg.log
Thanks for any help
Raymond
--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive http://www.ee.ethz.ch/~slist/mrtg
FAQ http://faq.mrtg.org Homepage http://www.mrtg.org
WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
More information about the mrtg
mailing list