LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-05-2004, 09:05 AM   #1
debloxie
Member
 
Registered: Jul 2003
Posts: 153

Rep: Reputation: 30
Question help with running MRTG on local computer


HI there,

am trying out MRTG for the first time. i have installed all the need tools and libraries, gd, zlib, libpng etc and also MRTG itself.

i also have installed SNMP and tested it: when i run the following command it gives:

[root@mail Documents]# snmpwalk -v 2c localhost -c public system
sysDescr.0 "Linux 2.4.22"
sysObjectID.0 netSnmpAgentOIDs.10
sysUpTime.0 133046
sysContact.0 root <root@mail.casttechnologies.com>
sysName.0 mail.casttechnologies.com
sysLocation.0 Lagos, Nigeria
sysORLastChange.0 14
sysORID.1 ifMIB
sysORID.2 snmpMIB
sysORID.3 tcpMIB
sysORID.4 ip
sysORID.5 udpMIB
sysORID.6 vacmBasicGroup
sysORID.7 snmpFrameworkMIBCompliance
sysORID.8 snmpMPDCompliance
sysORID.9 usmMIBCompliance
sysORDescr.1 The MIB module to describe generic objects for network interface sub-layers
sysORDescr.2 The MIB module for SNMPv2 entities
sysORDescr.3 The MIB module for managing TCP implementations
sysORDescr.4 The MIB module for managing IP and ICMP implementations
sysORDescr.5 The MIB module for managing UDP implementations
sysORDescr.6 View-based Access Control Model for SNMP.
sysORDescr.7 The SNMP Management Architecture MIB.
sysORDescr.8 The MIB for Message Processing and Dispatching.
sysORDescr.9 The management information definitions for the SNMP User-based Security Model.
sysORUpTime.1 11
sysORUpTime.2 11
sysORUpTime.3 11
sysORUpTime.4 11
sysORUpTime.5 11
sysORUpTime.6 11
sysORUpTime.7 14
sysORUpTime.8 14
sysORUpTime.9 14

i shud think this means my snmp is running well . Mind u, this is a local computer connected on a network. the snmp device here is just my network card (Realtek 8139 c+).

i then created the working dir /var/www/mrtg

and the mrtg.cfg dit /home/mrtg/cfg/. i then ran the following

[root@mail Documents]# /usr/local/mrtg-2/bin/cfgmaker --global 'WorkDir: /var/www/mrtg' --global 'Options[_]:bits,growright' --output /home/mrtg/cfg/mrtg.cfg public@192.168.0.68
--base: Get Device Info on public@192.168.0.68:
--base: Vendor Id:
--base: Populating confcache
--snpo: confcache public@192.168.0.68: Descr lo --> 1
--snpo: confcache public@192.168.0.68: Descr eth0 --> 2
--snpo: confcache public@192.168.0.68: Type 24 --> 1
--snpo: confcache public@192.168.0.68: Type 6 --> 2
--snpo: confcache public@192.168.0.68: Ip 127.0.0.1 --> 1
--snpo: confcache public@192.168.0.68: Ip 192.168.0.68 --> 2
--snpo: confcache public@192.168.0.68: Eth --> 1
--snpo: confcache public@192.168.0.68: Eth 00-08-02-d0-66-b5 --> 2
--base: Get Interface Info
--base: Walking ifIndex
--base: Walking ifType
--base: Walking ifAdminStatus
--base: Walking ifOperStatus
--base: Walking ifSpeed
--base: Writing /home/mrtg/cfg/mrtg.cfg

and then:

[root@mail Documents]# /usr/local/mrtg-2/bin/mrtg /home/mrtg/cfg/mrtg.cfg
libpng warning: Application was compiled with png.h from libpng-1.2.5
libpng warning: Application is running with png.c from libpng-1.0.15
gd-png: fatal libpng error: Incompatible libpng version in application and library
ERROR: Skipping webupdates because rateup did not return anything sensible
WARNING: rateup died from Signal 11
with Exit Value 0 when doing router '192.168.0.68_2'
Signal was 11, Returncode was 0

what do u think is the problem, it didnt display any web pages in the work dir except png images of MRTG.

pls i need help

debloxie
 
Old 10-05-2004, 01:14 PM   #2
Boudewijn
Member
 
Registered: Nov 2003
Location: The Netherlands
Distribution: MDK: 10,10.1,10_amd64,9.2,9.1 . Debian: sarge,woody, Gentoo (X86 amd64 Sparc)
Posts: 219

Rep: Reputation: 30
ERROR: Skipping webupdates because rateup did not return anything sensible

What does rateup return?
 
  


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
running MRTG with a webserver and database? debloxie Linux - Networking 0 10-07-2004 09:09 AM
Give local computer unrestricted access Boffy Linux - Security 2 08-15-2004 06:23 PM
SNMP error when running MRTG: no response zhgalaxy Linux - General 2 04-02-2004 05:33 AM
M$ Poster on my local computer shop Kocil General 22 01-20-2004 09:11 PM
Running SNMP in RH 7.2 (for MRTG) Token Linux - Software 0 06-12-2002 03:05 AM


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