Home > error mrtg > error mrtg will most likely not work properly

Error Mrtg Will Most Likely Not Work Properly

instructions: Windows Mac Red Hat Linux Ubuntu Click URL instructions: Right-click on ad, choose "Copy Link", then paste here → (This may not be possible with some types of ads) More information about our ad policies X You seem to have CSS turned off. Please don't fill out this field. You seem to have CSS turned off. Please don't fill out this field. Briefly describe the problem (required): Upload screenshot of ad (required): Select a file, or drag & drop file here. ✔ ✘ Please provide the ad click URL, if possible: Home Browse Webmin Mailing Lists Webmin A web-based interface for system administration of UNIX Brought to you by: jcameron Summary Files Reviews Support Wiki Mailing Lists Tickets ▾ Feature Requests Patches Support Requests Bugs Usermin Bugs Discussion Donate webadmin-announce webadmin-devel webadmin-japanese webadmin-list [webmin-l] MRTG On CentOS 6.5 [webmin-l] MRTG On CentOS 6.5 From: John Hinton - 2013-12-20 02:59:59 Hi Jamie, Since updating to CentOS 6.5, MRTG has this error message after each cron run. ----------------------------------------------------------------------- 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/webmin.cfg ----------------------------------------------------------------------- I am running MRTG via cron. And in fact after the upgrade MRTG did not create proper output. So, I changed the command in my cronjob to the line above. MRTG then started to work again as expected. However, I'm still getting the above error message every 5 minutes which is the cron run timing. So, I very much liked getting this error which was great in fixing the problem. But, now how to make it stop when the right command is run. Thanks, John Hinton Thread view [webmin-l] MRTG On CentOS 6.5 From: John Hinton - 2013-12-20 02:59:59 Hi Jamie, Since updating to CentOS 6.5, MRTG has this error message after each cron run. ----------------------------------------------------------------------- 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/webmin.cfg ----------------------------------------------------------------------- I am running MRTG via cron. And in fact after the upgrade MRTG did not create proper output.

Format For Printing -XML -Clone This Bug -Last Comment First Last Prev Next This bug is not in your last search results. Bug167530 - mrtg cron job not working in UTF-8 enabled environment Summary: mrtg cron job not working in UTF-8 enabled environment Status: CLOSED RAWHIDE Aliases: None Product: Fedora Classification: Fedora Component: mrtg (Show other bugs) Sub Component: --- Version: 4 Hardware: All Linux Priority medium https://sourceforge.net/p/webadmin/mailman/message/31770695/ Severity medium TargetMilestone: --- TargetRelease: --- Assigned To: Miloslav Trmač QA Contact: Docs Contact: URL: Whiteboard: Keywords: Depends On: Blocks: Show dependency tree /graph Reported: 2005-09-04 04:06 EDT by Peter Bieringer Modified: 2007-11-30 17:11 EST (History) CC List: 0 users See Also: Fixed In Version: 2.12.2-2 Doc Type: Bug Fix Doc Text: Story https://bugzilla.redhat.com/show_bug.cgi?id=167530 Points: --- Clone Of: Environment: Last Closed: 2005-09-11 20:43:59 EDT Type: --- Regression: --- Mount Type: --- Documentation: --- CRM: Verified Versions: Category: --- oVirt Team: --- RHEL 7.3 requirements from Atomic Host: Cloudforms Team: --- Attachments (Terms of Use) Add an attachment (proposed patch, testcase, etc.) Groups: None (edit) Description Peter Bieringer 2005-09-04 04:06:43 EDT From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; de-DE; rv:1.7.10) Gecko/20050720 Fedora/1.0.6-1.1.fc4 Firefox/1.0.6 Description of problem: mrtg claim about UTF-8 environment and cronjob won't run Version-Release number of selected component (if applicable): mrtg-2.11.1-3 How reproducible: Always Steps to Reproduce: 1. install mrtg 2. configure mrtg 3. run cron script manually for tests Actual Results: # /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 ---------------

Resources | Infrastructure Security | Cloud Security Network Software Linux for Networking WAN andLAN WAN Optimization | WLAN Deployment DataCenter Data Center Blog | Cloud | Software Defined Networking Network Management Network Management Systems | Concepts and Tools | Networking 101 | http://www.enterprisenetworkingplanet.com/netos/article.php/3663941/Make-Sense-of-SNMPMRTG-Alphabet-Soup.htm IPv6 Migration Networking Hardware Ethernet Switch Buyer's Guide | Wireless LAN Controller Buyer's Guide | Wi-Fi Unified Communications Slideshows Home Network OS Make Sense of SNMP/MRTG Alphabet Soup Best of ENP: Using MRTG, you can capture and display the SNMP data on your network. Here's how. ByCarla Schroder | Posted Aug 12, 2008 Page of |Back to Page 1 In SNMP for Everybody we got the high-level view of what SNMP is, and a error mrtg quick introduction on how to use it. Today we're going to learn how to find MIB and OID values, which will be handy when you have to do a bit of manual configuration on various network monitoring applications. We'll also take a quick look at using MTRG (Multi-router Traffic Grapher) with SNMP. MRTG can capture and display any SNMP data, once you figure out how to find the OIDs you need. Related Articles SNMP for error mrtg will Everybody Better Wi-Fi on the Linux Horizon Measure Network Performance: iperf and ntop Measure Network Performance: iperf and ntop OIDs Something that can be a bit difficult to understand are OIDs, or Object IDs. These are numerical hierarchies assigned to devices and functions. The OID for the Internet is 1.3.6.1. Where do these numbers come from? They come from MIBs (Management Information Bases). Each MIB contains wads of OIDs. This lovely ASCII illustration shows the main MIBs you need to know about: root | ITU-T(0) -- ISO(1) -- Joint-ISO-ITU-T(2) | ORG(3) | DOD(6) | Internet(1) ____|_____ | Management(2) DOD means Department of Defense, which is where the Internet was born. Another view of this is at the OID repository. This contains all the officially-assigned OIDs in a searchable database, and in nice friendly tree views. Or as friendly as a 77,000-object database can be. Preparing SNMP Before you try to make MRTG pick up on SNMP-fu, you need to make a couple of configuration tweaks in /etc/snmp/snmpd.conf. The example file is big and confusing, so shove it out of the way, but not too far because it's a good reference: root@xena:/etc/snmp# mv snmpd.conf snmpd.conf-old root@xena:/etc/snmp# chmod 0666 snmpd.conf-old This makes it world-readable because it's not your real configuration file, so there's no reason to protect it. The very minimum snmpd.conf file yo

 

Related content

No related pages.