LinuxQuestions.org
Visit Jeremy's Blog.
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-11-2016, 12:00 PM   #16
thomazp
Member
 
Registered: Dec 2015
Location: Brazil
Distribution: Ubuntu, Fedora
Posts: 161

Original Poster
Rep: Reputation: Disabled

Quote:
Originally Posted by TB0ne View Post
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...
I inserted in /etc/init.d and create the mrtg file w/ this content:
#! /bin/sh
cd /usr/local/mrtg-2.17.4/bin && ./mrtg --user=mrtg-user \
/home/httpd/mrtg/mrtg.cfg --logging /var/log/mrtg.log
Changed to executable there.
What else ?
Thanks,
 
Old 07-11-2016, 12:32 PM   #17
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,749

Rep: Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983
Quote:
Originally Posted by thomazp View Post
I inserted in /etc/init.d and create the mrtg file w/ this content:
#! /bin/sh
cd /usr/local/mrtg-2.17.4/bin && ./mrtg --user=mrtg-user \
/home/httpd/mrtg/mrtg.cfg --logging /var/log/mrtg.log
Changed to executable there.What else?
Are you seriously unable to read or understand instructions???

You ask about a cron job, and post something that is TOTALLY INCORRECT, despite being spoon-fed the exact documentation (WITH EXAMPLES) that you can use. You get handed the same documentation AGAIN, then post SOMETHING TOTALLY DIFFERENT than what you originally mangled.

The instructions and documentation are clear, and you've been spoon-fed them twice. Either you can read and understand them or you can't....and it seems like you can't. AGAIN...there is an EXAMPLE CRON LINE in the documentation...are you unable to copy/paste it?
 
Old 07-11-2016, 12:39 PM   #18
thomazp
Member
 
Registered: Dec 2015
Location: Brazil
Distribution: Ubuntu, Fedora
Posts: 161

Original Poster
Rep: Reputation: Disabled
I noticed The problem ,
The path /usr/local/mrtg* doesn't exist. And searching There isn't mrtg* below this location.
Thanks
 
Old 07-11-2016, 12:41 PM   #19
thomazp
Member
 
Registered: Dec 2015
Location: Brazil
Distribution: Ubuntu, Fedora
Posts: 161

Original Poster
Rep: Reputation: Disabled
Continuing: I got this script and this info in this site.
www.pantz.org .

Last edited by thomazp; 07-11-2016 at 12:54 PM.
 
Old 07-11-2016, 12:50 PM   #20
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,749

Rep: Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983
Quote:
Originally Posted by thomazp View Post
I noticed The problem, The path /usr/local/mrtg* doesn't exist. And searching There isn't mrtg* below this location.
Right...because YOU installed it somewhere...they even TELL YOU in the documentation to replace the path with your own. Again, are you unable to read/follow/understand instructions?
Quote:
Originally Posted by thomazp
Continuing: I got this script and this info in this site.
"this site" meaning WHAT??? What 'script'??? Are you talking about the init.d script, which is AGAIN, NOT what you asked about before, when posting the badly mangled CRON job??? Put it in cron like pretty much everyone else does. Copying/pasting doesn't get much simpler....you have taken 30 minutes of EASY WORK, and turned it into this huge ordeal, apparently because you're unable to follow instructions.

AGAIN..you are in WAY over your head. If you're unable to perform this very simple task, you need to be honest with your boss, and TELL THEM YOU CAN'T DO IT.
 
Old 07-11-2016, 01:10 PM   #21
thomazp
Member
 
Registered: Dec 2015
Location: Brazil
Distribution: Ubuntu, Fedora
Posts: 161

Original Poster
Rep: Reputation: Disabled
OK, so where is the script you are saying?
 
Old 07-11-2016, 01:22 PM   #22
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,749

Rep: Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983
Quote:
Originally Posted by thomazp View Post
OK, so where is the script you are saying?
AGAIN, SINCE YOU APPEAR UNABLE TO UNDERSTAND THINGS:
  • READ the LQ Rules..do NOT EDIT your posts, as you did by adding the "www.pantz.org" link to your last post
  • NOTHING in that link has anything to do with mrtg..why even post it?
  • The MRTG documentation that you have been spoon-fed TWICE has example cron jobs. If you're too lazy to even look at what you've been handed, or you can't understand it, that's nothing anyone here can help you with
AGAIN...get someone else at your company, who has SOME IDEA what the're doing, and who can follow simple instructions, to set this up. Otherwise, I'd suggest you email "Mr Josiah" again, and get him to help you, and stop posting here.
 
Old 07-11-2016, 02:46 PM   #23
thomazp
Member
 
Registered: Dec 2015
Location: Brazil
Distribution: Ubuntu, Fedora
Posts: 161

Original Poster
Rep: Reputation: Disabled
If it's easy, why don't you put here ?
 
Old 07-11-2016, 03:11 PM   #24
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,749

Rep: Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983
Quote:
Originally Posted by thomazp View Post
If it's easy, why don't you put here ?
Because I'm tired of trying to babysit you. If you're so lazy you can't click a web link you've been spoon-fed TWICE, and show SOME EFFORT OF YOUR OWN, I'm not going to make it easier for you.

You're lazy; you've shown no effort of your own to answer questions, try things, or even apply what you've been told. The answers are right in front of you...aside from typing things in for you, there's nothing else anyone here can do to help you. You're doing a job you're not qualified to do...sorry if it sounds nasty, but again...setting up MRTG is, at most, a 30 minute job. There is ONLY ONE PAGE of instructions, that cover installation from start to finish...yet that's too much for you.

If you can't pull up the web page and do a simple find for the word "cron" on it (which hands you an example you can copy and paste), there's nothing else we can do. Get "Mr Josiah" to help you.
 
Old 07-11-2016, 03:13 PM   #25
thomazp
Member
 
Registered: Dec 2015
Location: Brazil
Distribution: Ubuntu, Fedora
Posts: 161

Original Poster
Rep: Reputation: Disabled
OK, you can reply experts only.
Bye
 
Old 07-11-2016, 03:26 PM   #26
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,749

Rep: Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983
Quote:
Originally Posted by thomazp View Post
OK, you can reply experts only. Bye
An 'expert' isn't required to read a line on a web page. You don't want to...there's nothing else anyone here can do for you. Get someone who can follow simple instructions at your company to do this.
 
Old 07-12-2016, 05:30 AM   #27
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
http://oss.oetiker.ch/mrtg/doc/mrtg-unix-guide.en.html
 
1 members found this post helpful.
Old 07-12-2016, 11:59 AM   #28
jnihil
Member
 
Registered: Dec 2012
Location: inside the matrix
Distribution: Debian, Xubuntu, Gentoo, Antergos
Posts: 90

Rep: Reputation: 27
4 threads on the same inane question?
To think someone is paying this fella...
 
2 members found this post helpful.
Old 07-12-2016, 12:23 PM   #29
thomazp
Member
 
Registered: Dec 2015
Location: Brazil
Distribution: Ubuntu, Fedora
Posts: 161

Original Poster
Rep: Reputation: Disabled
There is an way to have necessary attention. Maybe someone had this problem.
 
Old 07-12-2016, 12:26 PM   #30
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,749

Rep: Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983Reputation: 7983
Quote:
Originally Posted by thomazp View Post
There is an way to have necessary attention. Maybe someone had this problem.
Nope, because pretty much everyone else finds it easy to follow a one page, step-by-step installation guide, without having to be spoon-fed each and every step. You're having problems because you don't read (or UNDERSTAND) the instructions, and won't do things, even after having numerous people tell you to. Anyone else would look at the clear examples, and think "Gee..what I'm putting it is NOTHING like this..maybe I'll try what the author of the program suggests..." And their problem goes away...because it IS NOT a problem with mrtg, Linux, Cron, or anything else...it's a problem with you.

You don't listen; you don't learn.
 
1 members found this post helpful.
  


Reply


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
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 02:21 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