mrtg cron job
Posted: Wed Nov 29, 2017 10:41 am
We have a cron job on NagiosXI that is producing this error.
We're not using Nagios to monitor a network device using mrtg. Do we need this cron job?
Thanks!
Code: Select all
root@nagios-aws-us-qa /etc/cron.d$ /usr/bin/mrtg /etc/mrtg/mrtg.cfg --lock-file /var/lock/mrtg/mrtg_l --confcache-file /var/lib/mrtg/mrtg.ok
-----------------------------------------------------------------------
ERROR: Mrtg will most likely not work properly when the environment
variable LANG is set to UTF-8. Please run mrtg in an environment
where this is not the case. Try the following command to start:
env LANG=C /usr/bin/mrtg /etc/mrtg/mrtg.cfg --lock-file /var/lock/mrtg/mrtg_l --confcache-file /var/lib/mrtg/mrtg.ok Thanks!