LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   help with running MRTG on local computer (https://www.linuxquestions.org/questions/linux-newbie-8/help-with-running-mrtg-on-local-computer-239012/)

debloxie 10-05-2004 08:05 AM

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

Boudewijn 10-05-2004 12:14 PM

ERROR: Skipping webupdates because rateup did not return anything sensible

What does rateup return?


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