Stop MRTG Emails
Hi, I got MRTG working nicely but when I turn off my PC, mrtg is unable to poll to it and emails to root account to complain about it. I just want to disable the emailing. Thanks.
|
Re: Stop MRTG Emails
Quote:
mrtg yada yada mrtg.cfg .... >/dev/null 2>&1 NOTE: If you have all monitored hosts in one file (like all targets in one mrtg.cfg) then all error output is suppressed for every device. So if MRTG is having problems with any of the 7x24 hosts, you will never know. A better approach would be to list all monitored devices in separate .cfg files and redirect stdout/stderr only for the host/device you are turning off. Example: mrtg .... host1.cfg mrtg ... host2.cfg mrtg ... host3.cfg >/dev/null 2>&1 |
wrong entry
Ups, got here by mistake. Sorry.
|
All times are GMT -5. The time now is 09:31 AM. |