Sponsored Content
Top Forums UNIX for Beginners Questions & Answers Answers to Frequently Asked Questions Tips and Tutorials Welcome to Tips and Tutorials Post 67727 by Perderabo on Saturday 26th of March 2005 01:03:53 PM
Old 03-26-2005
Welcome to Tips and Tutorials

Tips and Tutorials was created partially as an overflow from our Answers to Frequently Asked Questions. We noticed that some of the info in that forum did not really answer a question that is frequently asked. We want to keep the FAQ forum small so that it is easily browsed. Also, a few users had expressed an interest in a forum like this.

You may post submissions in the Tips and Tutorials Submission Queue. These will be reviewed. To be accepted, the technical accuracy must be very high. Remember that we have a set of rules. We sometimes give a little slack in our other forums. The rules will be more strickly enforced here. This includes: "(9) Edit your posts if you see spelling or grammar errors (don't write in cyberchat or cyberpunk style). English only." Also, the level of the subject matter will be considered. We don't want anything like "Use the pwd command to see your current directory". We would rather have a few gems than a large number of poorer posts. We don't want those gems to get "lost".

Along these lines, there is no posting allowed directly in the Tips and Tutorials forum. Q and A about a tip or a tutorial can take place in one of our Q and A forums. But this is a work in progress. We may consider a Discussions of Tips and Tutorials forum if the demand is there.

Last edited by Perderabo; 07-22-2005 at 08:57 AM..
This User Gave Thanks to Perderabo For This Post:
 

7 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

tutorials

i just got used to some basic unix commands etc i wanted to learn shell programming i bought the book but it looks like full of command reference and doesn't teach how to do shell scripting any good ones in this site or over the web . thank you siva (1 Reply)
Discussion started by: siva_jm
1 Replies

2. Programming

gdb Tutorials

Can anyone give me the link to a website having gdb tutorials (for advanaced debugging & shortcuts) http://www.burneddowndays.com/talk/YaBBImages/rolleyes.gif (1 Reply)
Discussion started by: wojtyla
1 Replies

3. Windows & DOS: Issues & Discussions

Cygwin Tutorials

Hi.. I required Cygwin User Guide and Reference Materials.If anybody knows the related URL Kindly help me. Thanks & Regards :) Sanjay.Karthik (1 Reply)
Discussion started by: sanjay.karthik
1 Replies

4. Programming

Encryption Tutorials

Hi , I would like to know how to write encrytion functions in c++ in linux environment.so would like u get some tutorials on the topic. Can anyone help (1 Reply)
Discussion started by: wojtyla
1 Replies

5. Linux

RHCE tutorials

Does anyone here who is an RHCE already? Do you have tutorials for this? (0 Replies)
Discussion started by: invinzin21
0 Replies

6. UNIX for Advanced & Expert Users

AutoSys Tutorials

Hi, Where can I find a good AutoSys User Guide so that I can get all the details on those AutoSys commands like "sendevent" and "autorep"? Thanks a lot in advance. (6 Replies)
Discussion started by: cpm189
6 Replies

7. UNIX for Advanced & Expert Users

.NET Tutorials

Does anyone have any good .NET Tutorials? What are some good websites for .NET Tutorials? (0 Replies)
Discussion started by: cokedude
0 Replies
FAQ(1)								       mrtg								    FAQ(1)

NAME
help - How to get help if you have problems with MRTG SYNOPSIS
MRTG seems to raise a lot of questions. There are a number of resources apart from the documentation where you can find help for mrtg. FAQ
Alex van den Bogaerdt <alex@ergens.op.Het.Net> maintains the MRTG FAQ website on http://faq.mrtg.org In the following sections you find some additonal Frequently Asked Questions, with Answers. Why is there no "@#$%" (my native language) version of MRTG Nobody has contributed a @#$%.pmd file yet. Go into the mrtg-2.9.17/translate directory and create your own translation file. When you are happy with it send it to me for inclusion with the next mrtg release. I need a script to make mrtg work with my xyz device. Probably this has already been done. Check the stuff in the mrtg-2.9.17/contrib directory. There is a file called 00INDEX in that directory which tells what you can find in there. How does this SNMP thing work There are many resources on the net, explaining about SNMP. Take a look at this article from the Linux Journal by David Guerrero: http://www.develnet.es/~david/papers/snmp/ And at this rather long document from CISCO http://www.cisco.com/univercd/cc/td/doc/cisintwk/ito_doc/snmp.htm The Images created by MRTG look very strange. Remove the *-{week,day,month,year}.png files and start MRTG again. Using MRTG for the first time, you might have to do this twice. This will also help, when you introduce new routers into the cfg file. What is my Community Name? Ask the person in charge of your Router or try 'public', as this is the default Community Name. My graphs show a flat line during an outage. Why ? Well, the short answer is that when an SNMP query goes out and a response doesn't come back, MRTG has to assume something to put in the graph, and by default it assumes that the last answer we got back is probably closer to the truth than zero. This assumption is not per- fect (as you have noticed), it's a trade-off that happens to fail during a total outage. If this is an unacceptable trade-off,use the unknaszero option. You may want to know what you're trading off, so in the spirit of trade-offs, here's the long answer: The problem is that MRTG doesn't know *why* the data didn't come back, all it knows is that it didn't come back. It has to do something, and it assumes it's a stray lost packet rather than an outage. Why don't we always assume the circuit is down, and use zero, which will (we think) be more nearly right? Well, it turns out that you may be taking advantage of MRTG's "assume last" behaviour without being aware of it. MRTG uses SNMP (Simple Network Management Protocol) to collect data, and SNMP uses UDP (User Datagram Protocol) to ship packets around. UDP is connectionless (not guaranteed) - unlike TCP where packets are tracked and acknowledged and, if needed, re-transmitted, UDP just throws packets at the network and hopes they arrive. Sometimes they don't. One likely cause of lost SNMP data is congestion, another is busy routers. Other possibilities include transient telecommunications prob- lems, router buffer overflows (which may or may not be congestion-related), "dirty lines" (links with high error rates), and acts of God. These things happen all the time, we just don't notice because many interactive services are TCP-based and the lost packets get retransmit- ted automatically. In the above cases where some SNMP packets are lost but traffic is flowing, assuming zero is the wrong thing to do - you end up with a graph that looks like it's missing teeth whenever the link fills up. MRTG interpolates the lost data to produce a smoother graph which is more accurate in cases of intermittent packet loss. But with V2.8.4 and above, you can use the "unknaszero" option to produce whichever graph is best under the conditions typical of your network. AUTHOR
Tobias Oetiker <oetiker@ee.ethz.ch> 3rd Berkeley Distribution 2.9.17 FAQ(1)
All times are GMT -4. The time now is 11:16 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy