[mrtg] MRTG sysv init script

brunori at banconordeste.gov.br brunori at banconordeste.gov.br
Tue Nov 28 15:41:41 MET 2000


	I´m trying a Sys V init script for MRTG on a RedHat 6.2. I using the
"daemon" function this way:

	daemon $dir/mrtg $dir/cfgs/mrtg.cfg

	I saw that it causes the invocation of the folowing command:

	nice -n 0 initlog -q -c "/usr/local/mrtg-2.9.4/bin/mrtg
/usr/local/mrtg-2.9.4/bin/cfgs/mrtg.cfg"

	This command starts mrtg, but after a few seconds it dies ! When
starting "by hand", I saw there is a mistake in mrtg.cfg, what causes an
output to stdout like this:

	WARNING: Could not match host: ...

	I think this output is causing some signal to be sent to MRTG, and
that causes his death. So, every time that there is an out put, perhaps
caused by a turned off router, the mtrg process dies.
	What could be happening ?




--
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