LinuxQuestions.org
Help answer threads with 0 replies.
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 06-28-2016, 01:11 PM   #1
thomazp
Member
 
Registered: Dec 2015
Location: Brazil
Distribution: Ubuntu, Fedora
Posts: 161

Rep: Reputation: Disabled
Starting a MRTG server


In order to analyze the routers, I installed MRTG in a RedHat machine.
Everything is working, but some issues missing:
The router monitored doesn't accept server requisitions sent.
When I try ssh -p n 161 <address> and ssh -p 162
When trying cfgmaker the error I receive:
The SNMP is running, but when try cfgmaker command, it returns this error:
See:
# cfgmaker --global 'WorkDir: <location>' -output <dir>mrtg.cfg netcomro at localhost
SNMP Error:
no response received
SNMPv1_Session (remote host: "localhost"
community: "netcomro"
request ID: -502026887
PDU bufsize: 8000 bytes
timeout: 2s
retries: 5
backoff: 1)
at SNMP_util.pm line 629
SNMPWALK Problem for 1.3.6.1.2.1.1 on netcomro at localhost::::::v4only
at /<file> line 950
WARNING: Skipping netcomro at localhost: as no info could be retrieved

Can someone explain here , to show to the others(because I know), the options using MRTG to monitore the router.
Someone said isn't necessary to the router accept the SNMP requisitions.
Is it possible the mrtg machine receive the router traps without sending request , as they said here ?
Thanks in advance,
 
Old 06-28-2016, 01:35 PM   #2
biosboy4
Member
 
Registered: Aug 2015
Distribution: Debian, SUSE, NXOS
Posts: 242

Rep: Reputation: 38
<This guy wants to know the answer to ^this too*
 
Old 06-28-2016, 01:39 PM   #3
thomazp
Member
 
Registered: Dec 2015
Location: Brazil
Distribution: Ubuntu, Fedora
Posts: 161

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by biosboy4 View Post
<This guy wants to know the answer to ^this too*
For sure
 
Old 06-28-2016, 02:29 PM   #4
thomazp
Member
 
Registered: Dec 2015
Location: Brazil
Distribution: Ubuntu, Fedora
Posts: 161

Original Poster
Rep: Reputation: Disabled
[removed] ,
If i posted it I didn't Have opportunity to search.

Last edited by jeremy; 06-30-2016 at 08:18 AM. Reason: language
 
Old 06-28-2016, 03:14 PM   #5
biosboy4
Member
 
Registered: Aug 2015
Distribution: Debian, SUSE, NXOS
Posts: 242

Rep: Reputation: 38
Quote:
[removed] ,
If i posted it I didn't Have opportunity to search.
I was merely stating that I'm watching this thread for the answer.
 
Old 06-28-2016, 03:38 PM   #6
thomazp
Member
 
Registered: Dec 2015
Location: Brazil
Distribution: Ubuntu, Fedora
Posts: 161

Original Poster
Rep: Reputation: Disabled
Only if You Know.
If You are rookie probably you don't.
Thanks 4 any suggestions.
 
Old 06-28-2016, 05:56 PM   #7
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
Backstory in https://www.linuxquestions.org/quest...em-4175582360/
 
1 members found this post helpful.
Old 06-28-2016, 06:51 PM   #8
thomazp
Member
 
Registered: Dec 2015
Location: Brazil
Distribution: Ubuntu, Fedora
Posts: 161

Original Poster
Rep: Reputation: Disabled
I am away now and will do it tomorrow, but remember it didn't work the first time.
I will put as soon as going, and the results too.
Tks
 
Old 06-30-2016, 08:17 AM   #9
jeremy
root
 
Registered: Jun 2000
Distribution: Debian, Red Hat, Slackware, Fedora, Ubuntu
Posts: 13,602

Rep: Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084Reputation: 4084
thomazp, the language/behavior exhibited is post #4 isn't acceptable here at LQ. Please refrain from it in the future if you'd like to continue participating here.

--jeremy
 
Old 06-30-2016, 09:53 AM   #10
thomazp
Member
 
Registered: Dec 2015
Location: Brazil
Distribution: Ubuntu, Fedora
Posts: 161

Original Poster
Rep: Reputation: Disabled
Sorry for that. I only answered the way I receive.
You doesn't needed to read, this is a mistake of me. :-(
 
Old 07-04-2016, 06:56 AM   #11
thomazp
Member
 
Registered: Dec 2015
Location: Brazil
Distribution: Ubuntu, Fedora
Posts: 161

Original Poster
Rep: Reputation: Disabled
I installed the pkg (using yum ) .
The SNMP is running.
But when I try
# env LANG=C /usr/bin/mrtg /etc/httpd/conf.d/mrtg.conf
Is showed this:

ERROR: Line 6 (Alias /mrtg /var/www/mrtg) in CFG file (/etc/httpd/conf.d/mrtg.co
nf) does not make sense

I commented the line and tried again, the response:
# env LANG=C /usr/bin/mrtg /etc/httpd/conf.d/mrtg.conf
ERROR: Line 9 ( Order deny,allow) in CFG file (/etc/httpd/conf.d/mrtg.conf)
does not make sense

The libgd , libpng and zlib were downloaded.

Last edited by thomazp; 07-04-2016 at 01:28 PM.
 
Old 07-04-2016, 07:03 AM   #12
thomazp
Member
 
Registered: Dec 2015
Location: Brazil
Distribution: Ubuntu, Fedora
Posts: 161

Original Poster
Rep: Reputation: Disabled
###

Last edited by thomazp; 07-04-2016 at 08:01 AM. Reason: It has been posted before.
 
Old 07-04-2016, 12:29 PM   #13
thomazp
Member
 
Registered: Dec 2015
Location: Brazil
Distribution: Ubuntu, Fedora
Posts: 161

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by thomazp View Post
I installed the pkg (using yum ) .
The SNMP is running.
But when I try
# env LANG=C /usr/bin/mrtg /etc/httpd/conf.d/mrtg.conf
Is showed this:

ERROR: Line 6 (Alias /mrtg /var/www/mrtg) in CFG file (/etc/httpd/conf.d/mrtg.co
nf) does not make sense

I commented the line and tried again, the response:
# env LANG=C /usr/bin/mrtg /etc/httpd/conf.d/mrtg.conf
ERROR: Line 9 ( Order deny,allow) in CFG file (/etc/httpd/conf.d/mrtg.conf)
does not make sense
Can someone send me a mrgt.cfg example file ?
Tks
 
Old 07-05-2016, 06:02 AM   #14
thomazp
Member
 
Registered: Dec 2015
Location: Brazil
Distribution: Ubuntu, Fedora
Posts: 161

Original Poster
Rep: Reputation: Disabled
I received a Pvt message saying the default location is: /usr/local/mrtg-2/bin/mrtg .
But my is not there, I Have the MRTG located in /etc , /usr/bin, /var/lib , /var/lock and other locations,
What to do now ?
I installed using yum cmd.
Tks
 
  


Reply

Tags
configuration, installing



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
MRTG newbie! Just needing a starting point.... sheykh Linux - Server 1 08-24-2010 11:37 AM
Want to poll data from Windows server to Linux Box for MRTG Graph manoj_sin Linux - Networking 1 04-29-2008 05:46 AM
starting xprogram without starting X server. bruse Linux - Newbie 9 04-26-2005 07:05 PM
Apache Server up, but acid and MRTG home page could not be view!! yitloo Linux - Networking 1 11-08-2004 04:20 AM

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

All times are GMT -5. The time now is 01:27 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