M
M
Michael2019-01-11 20:30:24
MySQL
Michael, 2019-01-11 20:30:24

MRTG won't start?

According to the manual https://undoshutdown.blogspot.com/2017/03/mrtg-lin... I'm trying to make a small resource monitoring system - it's the one I whip up. But something doesn't work.
1) The index.html file is not generated - the script issues did not find any matching data in cfg file
In this file itself, apart from the line of the working directory where the files themselves are collected, there is nothing to display. Or some important step is missing in this manual
2) The cron task does not work */5 * * * * /bin/run-parts /etc/cron.mrtg 1> /dev/null - I correctly understand that mini scripts should be run in bulk sh /etc/cron.mrtg/disk and others? Where to register it?
Or does /bin/run-parts itself run scripts in the /etc/cron.mrtg directory? If so, then nothing is started from the /bin/run-parts /etc/cron.mrtg directory and no data files appear in the web server directory...
3) If the script files from the /etc/cron.mrtg directory are run one at a time, then the data in the specified directory is generated, and from the third time the data is read from the SNP daemon, not a very reliable solution or the norm? I have already broken my whole head with this simplest MRTG ...
There are 2 more questions, but they will be relevant if you start item 1 and item 2

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question