LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-19-2004, 02:51 AM   #1
vytenis
LQ Newbie
 
Registered: Feb 2004
Posts: 2

Rep: Reputation: 0
mrtg problem


mrtg reiquires perl, gd, libpng, zlib to be instaled on linux machine to compile and run it

but when i run

cfgmaker --global 'WorkDir: /home/httpd/mrtg' \
--global 'Options[_]: bits,growright' \
--output /home/mrtg/cfg/mrtg.cfg \
community@172.16.0.2

i get an answer

--base: Get Device Info on community@172.16.0.2:
SNMP Error:
receiving response PDU: Connection refused
SNMPv1_Session (remote host: "172.16.0.2" [172.16.0.2].161)
community: "community"
request ID: 1969077050
PDU bufsize: 8000 bytes
timeout: 2s
retries: 5
backoff: 1)
at /usr/local/mrtg-2/bin/../lib/mrtg2/SNMP_util.pm line 622
SNMPWALK Problem for 1.3.6.1.2.1.1 on community@172.16.0.2::::::v4only
at ./cfgmaker line 825
WARNING: Skipping community@172.16.0.2: as no info could be retrieved


do i need to install net-snmp on my linux box
in order to use mrtg
or what i`m doing wrong??
 
Old 03-19-2004, 09:20 PM   #2
rstory
LQ Newbie
 
Registered: Mar 2004
Posts: 21

Rep: Reputation: 15
Quote:
Originally posted by vytenis
--base: Get Device Info on community@172.16.0.2:
SNMP Error:
receiving response PDU: Connection refused
SNMPWALK Problem for 1.3.6.1.2.1.1 on community@172.16.0.2::::::v4only
at ./cfgmaker line 825

do i need to install net-snmp on my linux box
in order to use mrtg
or what i`m doing wrong??
You need a snmp agent (net-snmp or other) on the box you are talking to (172.16.0.2). The 'Connection refused' part makes me think there is a firewall blocking access to port 161. If it is a unix machine, tcpwrappers might also be blocking access.
 
  


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
problem in mrtg alvi2 Linux - Networking 1 07-18-2005 03:51 PM
problem with mrtg graph orko Linux - Networking 2 02-02-2005 05:31 AM
linux mrtg problem, help timtin Linux - Software 9 09-03-2004 11:41 PM
MRTG Configuration Problem JJX Linux - Software 4 06-03-2004 04:12 PM
problem using MRTG in RedHat Linux 8.0 ganesh_k Linux - Software 0 12-28-2003 10:19 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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