LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   mrtg problem (https://www.linuxquestions.org/questions/linux-software-2/mrtg-problem-147922/)

vytenis 02-19-2004 02:51 AM

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??

rstory 03-19-2004 09:20 PM

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.


All times are GMT -5. The time now is 04:46 AM.