LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 07-07-2016, 02:25 PM   #1
thomazp
Member
 
Registered: Dec 2015
Location: Brazil
Distribution: Ubuntu, Fedora
Posts: 161

Rep: Reputation: Disabled
MRTG question


I delay a little to accomplish installing MRTG to analyze my router(s) , but all graphs I generate , are with the same draw.
And are showing 0 Kb/s .
I don't know if I monitoring the wrong interface or similar mistake.
I tried using by command line, not inserting at the cron.
Can someone tell me what is wrong .
Thanks,

Last edited by thomazp; 07-07-2016 at 03:12 PM. Reason: modifying words
 
Old 07-07-2016, 03:07 PM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,637

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by thomazp View Post
I delay a little to accomplish installing MRTG to analyze my router(s) , but all graphs I generate , are with the same draw.
And are showing 0 Kb/s .
I don't know if I monitoring the wrong interface o similar mistake.
I tried using by command line, not inserting at the cron.
Can someone tell ehat is wrong .
Thanks,
No, because (as with your other threads about this same topic), you're not providing any useful details. All you've told us is you're using MRTG, and getting nothing on your graphs. No error messages, nothing about your configuration/setup, etc. We can't guess.
 
1 members found this post helpful.
Old 07-07-2016, 04:17 PM   #3
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
Quote:
Originally Posted by thomazp View Post
I don't know if I monitoring the wrong interface or similar mistake.
I have given you a tcpdump command string to monitor traffic on port 161...

Don't ask me where I gave it, it's there's 4 threads all stemming from your lack of understanding
of the basic client-server model in a computing environment.

I don't mean to be mean, but are you up to this task?
Try going through Centos Install and Configure MRTG for clues.

http://bfy.tw/6do1
 
Old 07-07-2016, 04:22 PM   #4
thomazp
Member
 
Registered: Dec 2015
Location: Brazil
Distribution: Ubuntu, Fedora
Posts: 161

Original Poster
Rep: Reputation: Disabled
I will reply you two in 15 minutes .
Thanks.
 
Old 07-07-2016, 04:55 PM   #5
thomazp
Member
 
Registered: Dec 2015
Location: Brazil
Distribution: Ubuntu, Fedora
Posts: 161

Original Poster
Rep: Reputation: Disabled
TB0ne
No error messages appear since 2 days ago. All previous are uppon SNMP connection.
I have installed mrtg using yum command.

Habitual:
I will read the info you sent, but I don`t think is an installation issue.
The reason:
The graphs are been generated, but they have an empty content.

Thanks ,
 
Old 07-07-2016, 06:03 PM   #6
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,637

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by thomazp View Post
TB0ne
No error messages appear since 2 days ago. All previous are uppon SNMP connection.
I have installed mrtg using yum command.
So how about ACTUALLY POSTING THOSE ERROR MESSAGES, as you've been asked to?
Quote:
Habitual:
I will read the info you sent, but I don`t think is an installation issue. The reason: The graphs are been generated, but they have an empty content.
So let's sum up:
  • Things aren't working
  • You won't tell us the error(s) you're seeing
  • You just re-stated the problem you FIRST POSTED
  • And somehow...there aren't any errors in installation?
You need to go back, and start from scratch. Remove EVERYTHING you installed, delete the directories and start over. Or go to your OTHER two threads and actually read/follow/understand what you're being told. Or get someone else at your office to do this, since it appears you're in over your head.
 
Old 07-07-2016, 06:24 PM   #7
thomazp
Member
 
Registered: Dec 2015
Location: Brazil
Distribution: Ubuntu, Fedora
Posts: 161

Original Poster
Rep: Reputation: Disabled
Your response

I am not sure of your tip: Removing e reinstalling. This is a Windows solution, not UNIX .
But even so,I Am not there. Here is 8pm and I will be back only tomorrow morning
The MRTG runs without error and it makes some graphs, but are empty today and I must do this task in about 10 days .
Thanks,
 
Old 07-07-2016, 08:43 PM   #8
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,637

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by thomazp View Post
I am not sure of your tip: Removing e reinstalling. This is a Windows solution, not UNIX .
Right...and this is suggested because you have obviously not followed the installation instructions, tips, documentation, and advice you've been given. So much is probably wrong with your installation, it will be FASTER to do it over, correctly, from scratch.
Quote:
But even so,I Am not there. Here is 8pm and I will be back only tomorrow morning
The MRTG runs without error and it makes some graphs, but are empty today and I must do this task in about 10 days .
Then you'd better start paying attention to what you're told, read the documentation, and perform the installation/configuration CORRECTLY. Answer questions when you're asked. You *STILL* haven't given us any real, solid error(s) that you say you're seeing. You said you saw them 2 days ago...do you expect us to GUESS???
 
Old 07-08-2016, 04:52 AM   #9
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
Quote:
Originally Posted by thomazp View Post
I am not sure of your tip: Removing e reinstalling. This is a Windows solution, not UNIX .
But even so,I Am not there. Here is 8pm and I will be back only tomorrow morning
The MRTG runs without error and it makes some graphs, but are empty today and I must do this task in about 10 days .
Thanks,
What's Windows?
7 posts to find out it's Windows?

Are you sure it's Windows? You're not sure of anything, IMO.

"Unix"? You're all over the map.
"tomorrow morning"? Fries with that?

So you have 09 days to grind it out.

I'm done trying to help you.
You don't answer questions.
You don't know what the software is doing.
You don't know what you are doing.

I have to stop myself here, If I don't it will reflect poorly for Jeremy and LQ.
If it were me, I'd check the snmp data communication with an snmpwalk.

End Transmission.
Nothing personal.

Last edited by Habitual; 07-08-2016 at 06:30 AM. Reason: soften tone.
 
1 members found this post helpful.
Old 07-08-2016, 12:00 PM   #10
thomazp
Member
 
Registered: Dec 2015
Location: Brazil
Distribution: Ubuntu, Fedora
Posts: 161

Original Poster
Rep: Reputation: Disabled
Answers

The snmpwalk are working in my two communities like I said before.
There are no erros. The application rans fine, but the graphs are with 0Kb/s.
Any more question ?






Quote:
Originally Posted by Habitual View Post
What's Windows?
7 posts to find out it's Windows?

Are you sure it's Windows? You're not sure of anything, IMO.

"Unix"? You're all over the map.
"tomorrow morning"? Fries with that?

So you have 09 days to grind it out.

I'm done trying to help you.
You don't answer questions.
You don't know what the software is doing.
You don't know what you are doing.

I have to stop myself here, If I don't it will reflect poorly for Jeremy and LQ.
If it were me, I'd check the snmp data communication with an snmpwalk.

End Transmission.
Nothing personal.
 
Old 07-08-2016, 01:13 PM   #11
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,637

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by thomazp View Post
The snmpwalk are working in my two communities like I said before.
There are no erros. The application rans fine, but the graphs are with 0Kb/s.
Any more question ?
Same things you posted previously...yet you STILL don't post the errors you SAY you saw 2 days ago, the results of the MRTG config file test (that we had to look up and spoon-feed you), what command you ran to generate the cfg file with cfgmaker, etc.

I'm done trying to get you to listen and answer questions too. Good luck...maybe there's someone else at your company who can do this for you.
 
Old 07-08-2016, 03:35 PM   #12
thomazp
Member
 
Registered: Dec 2015
Location: Brazil
Distribution: Ubuntu, Fedora
Posts: 161

Original Poster
Rep: Reputation: Disabled
Hi Mr Josiah wrote:

wjerikson@hampshire.edu



What I mean is, they will always be 0 on the first poll, because it's polling counters. It saves data locally as to what was in the counters. So you have to put it in cron to get actual data. Or run it manually every five minutes or so all day, which sounds un-fun
��� -Josiah

I will do it on Monday. If it works, I will close this thread.
Thanks everyone
 
Old 07-11-2016, 05:46 AM   #13
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
A little birdie tells me you'll need http://www.cronsandbox.com/
 
Old 07-11-2016, 09:54 AM   #14
thomazp
Member
 
Registered: Dec 2015
Location: Brazil
Distribution: Ubuntu, Fedora
Posts: 161

Original Poster
Rep: Reputation: Disabled
I put ]
*/5 * * * * mrtg env LANG=C /usr/bin/mrtg /root/mrtg_netcomro.cfg
But only runs when I type by hand.
What is wrong ?
Thanks
 
Old 07-11-2016, 10:05 AM   #15
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,637

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by thomazp View Post
I put ]
*/5 * * * * mrtg env LANG=C /usr/bin/mrtg /root/mrtg_netcomro.cfg
But only runs when I type by hand.
What is wrong ?
Thanks
Why aren't you asking "Mr Josiah" what's wrong??? You were spoon-fed instructions a WHILE back...did you bother to READ THEM???? AGAIN:
http://oss.oetiker.ch/mrtg/doc/mrtg-unix-guide.en.html

There is a WRITTEN EXAMPLE of what to put in cron, and it sure doesn't match what you have. If you can't read/understand/follow simple instructions, there's no point in posting questions. Installing and configuring mrtg should take about 30 minutes, at most. You've been at it for WEEKS now...because you're not reading or following the instructions, taking advice, or answering questions. Please, get someone else at your company, who actually can DO THOSE THINGS, to install this. Or get "Mr Josiah" to do it...
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
RHEL 6.5 apache out of the box with mrtg - client denied by server configuration: /var/www/mrtg komradebob Linux - Server 1 06-30-2016 02:06 AM
smokeping/mrtg on openBSD 4.1 n00b question. spatieman *BSD 0 09-22-2007 04:15 AM
HELP!!! MRTG and Routers2.CGI question MstrControl General 0 02-04-2005 09:48 AM
mrtg question nuxil Linux - Software 0 12-24-2004 10:36 PM
Question: MRTG+RRDTOOLS yuzuohong Linux - Networking 1 06-22-2003 10:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:00 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration