LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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-06-2016, 10:33 AM   #46
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 noticed I Can start mrtg, but soon The script ends. The .PNG files are old, not generated today or yesterday.
I need :
1 Example of cfgmaker cmd to generate the .cfg file ;
2 The way I fill in the contrab.
Thanks,
http://www.netmon.org/cfgmaker.htm
suggests
Code:
perl cfgmaker public@172.27.252.3 --global "WorkDir: /opt/apache2/htdocs/mrtg/" --output server.cfg
but I don't think WorkDir is correct. Have you verified that location and do you have a /opt/apache2/htdocs/mrtg/server.cfg
file in that location presently?

Ports open yet?

Last edited by Habitual; 07-06-2016 at 05:16 PM.
 
Old 07-06-2016, 10:50 AM   #47
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 22,802

Rep: Reputation: 6310Reputation: 6310Reputation: 6310Reputation: 6310Reputation: 6310Reputation: 6310Reputation: 6310Reputation: 6310Reputation: 6310Reputation: 6310Reputation: 6310
Wow...this thread sounds familiar:
http://www.linuxquestions.org/questi...ne-4175583846/
 
Old 07-07-2016, 03:31 PM   #48
thomazp
Member
 
Registered: Dec 2015
Location: Brazil
Distribution: Ubuntu, Fedora
Posts: 161

Original Poster
Rep: Reputation: Disabled
The MRTG is running and I Can generate some graphs. But all of them are with 0 kb/s showing nothing.
I ran using the cmd line. Before inserting in crontab, I want to test it with a simple script, like: start, run cmd , delay some time getting data and ending.
Is it possible only to show the capabilities here.
Thanks

Last edited by thomazp; 07-07-2016 at 03:38 PM.
 
Old 07-07-2016, 06:02 PM   #49
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 22,802

Rep: Reputation: 6310Reputation: 6310Reputation: 6310Reputation: 6310Reputation: 6310Reputation: 6310Reputation: 6310Reputation: 6310Reputation: 6310Reputation: 6310Reputation: 6310
Quote:
Originally Posted by thomazp View Post
The MRTG is running and I Can generate some graphs. But all of them are with 0 kb/s showing nothing.
I ran using the cmd line. Before inserting in crontab, I want to test it with a simple script, like: start, run cmd , delay some time getting data and ending.
Is it possible only to show the capabilities here.
Thanks
And probably because you STILL haven't read the documentation you were pointed to, and are STILL using the wrong SNMP community, as you were spoon-fed in another thread.

CFGmaker probably did exactly what you asked...which is, generated you a file with V1 in it, so you're not getting data. If you won't provide complete details, ask a clear question, and keep things in ONE THREAD for ONE PROBLEM, or even follow the advice you're given, there isn't much point in posting.
 
Old 07-07-2016, 07:41 PM   #50
thomazp
Member
 
Registered: Dec 2015
Location: Brazil
Distribution: Ubuntu, Fedora
Posts: 161

Original Poster
Rep: Reputation: Disabled
No , I put :::::2, in The Cfgmaker command.
As I said, I will be there approximately 9:30,10 am tomorrow. I am not there and it is ~10 pm.
Is there any way to test the .cfg file ?
I guess, it isn't the problem.
Thanks,
 
Old 07-07-2016, 08:49 PM   #51
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 22,802

Rep: Reputation: 6310Reputation: 6310Reputation: 6310Reputation: 6310Reputation: 6310Reputation: 6310Reputation: 6310Reputation: 6310Reputation: 6310Reputation: 6310Reputation: 6310
Quote:
Originally Posted by thomazp View Post
No , I put :::::2, in The Cfgmaker command.
Really? Because in this FIRST POST, it doesn't show you did. How, exactly, are we going to know? You *STILL* aren't answering questions, posting a clear question, or doing what's suggested.
Quote:
As I said, I will be there approximately 9:30,10 am tomorrow. I am not there and it is ~10 pm.
Don't know who you said that to, but it wasn't anyone here.
Quote:
Is there any way to test the .cfg file ? I guess, it isn't the problem.
We don't know WHAT the problem is, because you have three threads going, saying you're doing different things, or doing things that you say you HAVEN'T done.

And if you bothered to type in "test mrtg file" into Google, the VERY FIRST HIT is:
http://www.cyberciti.biz/nixcraft/li...fig_step_6.php
 
1 members found this post helpful.
Old 07-08-2016, 12:09 PM   #52
thomazp
Member
 
Registered: Dec 2015
Location: Brazil
Distribution: Ubuntu, Fedora
Posts: 161

Original Poster
Rep: Reputation: Disabled
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 ?
Thanks
 
Old 07-08-2016, 01:12 PM   #53
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 22,802

Rep: Reputation: 6310Reputation: 6310Reputation: 6310Reputation: 6310Reputation: 6310Reputation: 6310Reputation: 6310Reputation: 6310Reputation: 6310Reputation: 6310Reputation: 6310
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 ?
Thanks
Aside from all the questions you've been asked, that you haven't answered, in your THREE THREADS about what is, essentially, the same issue?? Nope.

Good luck...done trying to get you to answer a question and do things that are suggested.
 
1 members found this post helpful.
Old 07-08-2016, 01:21 PM   #54
thomazp
Member
 
Registered: Dec 2015
Location: Brazil
Distribution: Ubuntu, Fedora
Posts: 161

Original Poster
Rep: Reputation: Disabled
Yes, I am working installing MRTG to monitor my router.
I delayed to start a working SNMP.Now everything is working except making correct graphs.
Thanks
 
Old 07-08-2016, 01:56 PM   #55
thomazp
Member
 
Registered: Dec 2015
Location: Brazil
Distribution: Ubuntu, Fedora
Posts: 161

Original Poster
Rep: Reputation: Disabled
Error received

O
Quote:
Originally Posted by Habitual View Post
http://www.netmon.org/cfgmaker.htm
suggests
Code:
perl cfgmaker public@172.27.252.3 --global "WorkDir: /opt/apache2/htdocs/mrtg/" --output server.cfg
but I don't think WorkDir is correct. Have you verified that location and do you have a /opt/apache2/htdocs/mrtg/server.cfg
file in that location presently?

Ports open yet?
Received the error:
cfgmaker command not found,
But typing only cfgmaker, it shows the options.
Thanks,

Last edited by thomazp; 07-08-2016 at 02:02 PM.
 
Old 07-08-2016, 02:03 PM   #56
thomazp
Member
 
Registered: Dec 2015
Location: Brazil
Distribution: Ubuntu, Fedora
Posts: 161

Original Poster
Rep: Reputation: Disabled
Now he is not finding cfgmaker command.
 
Old 07-08-2016, 03:19 PM   #57
thomazp
Member
 
Registered: Dec 2015
Location: Brazil
Distribution: Ubuntu, Fedora
Posts: 161

Original Poster
Rep: Reputation: Disabled
Mr Josiah solved my problem.
He said I need to put in crontab or run every 5 minutes.
I would leave in half of hour, study in the weekend, insert the command in crontab only on Monday, and put here the results.
Thanks everybody helped me.
 
Old 07-08-2016, 07:26 PM   #58
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 22,802

Rep: Reputation: 6310Reputation: 6310Reputation: 6310Reputation: 6310Reputation: 6310Reputation: 6310Reputation: 6310Reputation: 6310Reputation: 6310Reputation: 6310Reputation: 6310
Quote:
Originally Posted by thomazp View Post
Mr Josiah solved my problem.
He said I need to put in crontab or run every 5 minutes.
I would leave in half of hour, study in the weekend, insert the command in crontab only on Monday, and put here the results.
Thanks everybody helped me.
Great for whoever 'Mr Josiah' is....if you bothered to read the INSTRUCTIONS..... http://oss.oetiker.ch/mrtg/doc/mrtg-unix-guide.en.html

...it SPECIFICALLY SAYS to put things in cron. Congratulations on making a one hour task take over a week, plus three threads where you can't be clear
 
2 members found this post helpful.
Old 07-09-2016, 07:15 AM   #59
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
Mr Josiah solved my problem.
No he did not.
And the next task assigned and "Mr. Josiah" isn't around? or "doesn't feel like it, this time."?
Or your Boss notices you only get tasks done when "Mr. Josiah" is at work?

Your problem is you didn't read.

That's why I get paid a butt-load of money, because I read documentation.
And you struggle for 7 days to do a 7 minute job.

Next time, RTFM.
Nothing personal.

Last edited by Habitual; 07-09-2016 at 07:16 AM.
 
1 members found this post helpful.
  


Reply

Tags
mrtg, snmp


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
SNMP Configuration problem - able to snmp outbound, unable to snmp inbound. sumncguy Linux - Desktop 2 04-28-2015 09:26 AM
MRTG cfgmaker Error SNMPwalk problem manish_2479 Linux - Networking 3 07-10-2007 03:48 PM
Cfgmaker for Mrtg pkrishna10 Linux - Newbie 0 12-05-2004 02:57 AM
cfgmaker for mrtg. pkrishna10 Linux - Wireless Networking 0 12-05-2004 02:02 AM
cfgmaker for squid assooy Red Hat 3 07-28-2004 11:37 AM

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

All times are GMT -5. The time now is 11:06 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration