Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Install MRTG on RH9 in 10 Easy Steps

Discussion in 'cPanel Developers' started by asuservice, Feb 6, 2004.

  1. Ronny

    Ronny Well-Known Member

    Joined:
    Dec 27, 2002
    Messages:
    63
    Likes Received:
    0
    Trophy Points:
    156
    Whered' the rpms go :(

    I'm using fedora core
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. Ronny

    Ronny Well-Known Member

    Joined:
    Dec 27, 2002
    Messages:
    63
    Likes Received:
    0
    Trophy Points:
    156
    And the rh 9 dls?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. furball

    furball Member

    Joined:
    Jun 7, 2003
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    151
    i have installed this on rhel. no problems occured during the installation, and the mrtg website is there (http://217.199.182.36/mrtg), but nothing seems to be happening. anyone any ideas why it is not updating?

    cheers
     
  4. AlexSmithMCP

    AlexSmithMCP Well-Known Member

    Joined:
    May 26, 2004
    Messages:
    66
    Likes Received:
    0
    Trophy Points:
    156
    cPanel Access Level:
    Root Administrator
    i get this exact error too (Fedora Core 1) any ideas?
     
  5. AlexSmithMCP

    AlexSmithMCP Well-Known Member

    Joined:
    May 26, 2004
    Messages:
    66
    Likes Received:
    0
    Trophy Points:
    156
    cPanel Access Level:
    Root Administrator
    Where can i get this file (i need it for the other server that i have - Redhat 9)
     
  6. faqall

    faqall Active Member

    Joined:
    Jul 17, 2004
    Messages:
    27
    Likes Received:
    0
    Trophy Points:
    151
    same here. the file is no longer there!?
     
  7. AlexSmithMCP

    AlexSmithMCP Well-Known Member

    Joined:
    May 26, 2004
    Messages:
    66
    Likes Received:
    0
    Trophy Points:
    156
    cPanel Access Level:
    Root Administrator
    The files are there, they just take a lil bit of looking for.

    Heres the links for them (after the latist move around)

    Fedora Core 1 - download.cheetaweb.com/fedora/1/mrtg/mrtg-2.10.5-1.0.rhfc1.ct.i386.rpm

    Redhat 9 RPM's are from the 7.3 Folder but work (well cept for the errors im having with CPanel overwriting libpng the whole damn time)
    Im using download.cheetaweb.com/redhat/7.3/mrtg/mrtg-2.9.17-1cpanel.i386.rpm on my server but there is also another RPM which i havent tried as the one im using works.

    That one is download.cheetaweb.com/redhat/7.3/mrtg/mrtg-2.9.17-4ct.i386.rpm

    I hope this helps those that have been looking for the RPM's!

    (Edit - Damn Forum shortened the URL's - Edited out the tags it added & removed the http:// from the start of the urls)
     
    #27 AlexSmithMCP, Jul 27, 2004
    Last edited: Jul 27, 2004
  8. AlexSmithMCP

    AlexSmithMCP Well-Known Member

    Joined:
    May 26, 2004
    Messages:
    66
    Likes Received:
    0
    Trophy Points:
    156
    cPanel Access Level:
    Root Administrator
    btw, does anyone know how 2 make MRTG show KiloBytes and not Bits?

    [Edit]
    nvm found it
     
  9. promak

    promak Well-Known Member

    Joined:
    Oct 6, 2001
    Messages:
    248
    Likes Received:
    0
    Trophy Points:
    316
    not work with fedora 2

    WARNING: Problem with Externale get '/etc/mrtg/system swap':
    Expected a Number for 'out' but got ''

    WARNING: Could not get any data from external command '/etc/mrtg/mailstats'
    Maybe the external command did not even start. (Illegal seek)

    WARNING: Problem with External get '/etc/mrtg/mailstats':
    Expected a Number for 'in' but nothing'

    WARNING: Problem with External get '/etc/mrtg/mailstats':
    Expected a Number for 'out' but nothing'

    ERROR: Target[swap][_IN_] ' $target->[3]{$mode} ' did not eval into defined data
    ERROR: Target[swap][_OUT_] ' $target->[3]{$mode} ' did not eval into defined data
    WARNING: Skipping Update of swap, inlast is not defined
    WARNING: Skipping Update of swap, outlast is not defined
    ERROR: Target[mail][_IN_] ' $target->[8]{$mode} ' did not eval into defined data
    ERROR: Target[mail][_OUT_] ' $target->[8]{$mode} ' did not eval into defined data
    WARNING: Skipping Update of mail, inlast is not defined
    WARNING: Skipping Update of mail, outlast is not defined
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  10. Olate

    Olate Active Member

    Joined:
    Aug 1, 2003
    Messages:
    42
    Likes Received:
    0
    Trophy Points:
    156
    None of my graphs are showing the correct data even though I just installed it. For example:

    Max 5-minute Load 20.0
    Average 5-minute Load 12.0
    Current 5-minute Load 20.0
    Max 15-mintute Load 17.0
    Average 15-mintute Load 16.0
    Current 15-mintute Load 17.0

    But according to top:

    10:28:32 up 19 days, 20:59, 1 user, load average: 0.00, 0.11, 0.15
    91 processes: 90 sleeping, 1 running, 0 zombie, 0 stopped

    (See attached image)

    Also, the Uptime and Idle Time is showing:

    Max Total Uptime 1716.9 k
    Average Total Uptime 306.3 k
    Current Total Uptime 1716.9 k
    Max Idle Time 1662.4 k
    Average Idle Time 297.0 k
    Current Idle Time 1662.4 k

    I'm running RH9
     

    Attached Files:

    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  11. tomhlglan

    tomhlglan Registered

    Joined:
    Feb 26, 2003
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    151
    Location:
    Los Gatos CA
    gdImagePng on White Box Linux

    /usr/bin/rateup: relocation error: /usr/bin/rateup: undefined symbol: gdImagePng
    WARNING: rateup died from Signal 0
    with Exit Value 127 when doing router 'index'
    Signal was 0, Returncode was 127

    seems to be a similar error to one above, but ive followed the instructions perfectly, guess it doesnt work on white box linux (similar to rh enterprise)

    any help would be appreciated
     
  12. SuperBaby

    SuperBaby Well-Known Member

    Joined:
    Nov 27, 2003
    Messages:
    338
    Likes Received:
    0
    Trophy Points:
    166
    Location:
    Thailand
    cPanel Access Level:
    Website Owner
    Twitter:
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  13. OCX

    OCX Well-Known Member

    Joined:
    Sep 20, 2003
    Messages:
    232
    Likes Received:
    0
    Trophy Points:
    166
  14. Secret Agent

    Secret Agent Guest

    Is it easier to just use the mrtg rpm in WHM?
     
  15. myusername

    myusername Well-Known Member PartnerNOC

    Joined:
    Mar 6, 2003
    Messages:
    693
    Likes Received:
    1
    Trophy Points:
    168
    Location:
    chown -R us.*yourbase*
    cPanel Access Level:
    DataCenter Provider
    Twitter:
    root@server [/usr/local/apache/conf]# service mrtg start
    Starting MRTG: Daemonizing MRTG ...

    root@server [/usr/local/apache/conf]# WARNING: Could not get any data from external command '/etc/mrtg/mailstats'
    Maybe the external command did not even start. (Illegal seek)

    WARNING: Problem with External get '/etc/mrtg/mailstats':
    Expected a Number for 'in' but nothing'

    WARNING: Problem with External get '/etc/mrtg/mailstats':
    Expected a Number for 'out' but nothing'

    ERROR: Target[mail][_IN_] ' $target->[8]{$mode} ' did not eval into defined data
    ERROR: Target[mail][_OUT_] ' $target->[8]{$mode} ' did not eval into defined data
    WARNING: Skipping Update of mail, inlast is not defined
    WARNING: Skipping Update of mail, outlast is not defined
    WARNING: Could not get any data from external command '/etc/mrtg/mailstats'
    Maybe the external command did not even start. (Illegal seek)

    WARNING: Problem with External get '/etc/mrtg/mailstats':
    Expected a Number for 'in' but nothing'

    WARNING: Problem with External get '/etc/mrtg/mailstats':
    Expected a Number for 'out' but nothing'

    ERROR: Target[mail][_IN_] ' $target->[8]{$mode} ' did not eval into defined data
    ERROR: Target[mail][_OUT_] ' $target->[8]{$mode} ' did not eval into defined data
    WARNING: Skipping Update of mail, inlast is not defined
    WARNING: Skipping Update of mail, outlast is not defined

    Not working in Fedora 2 I have the same issue as the others. Any one have a fix for this yet?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    #35 myusername, Dec 8, 2004
    Last edited: Dec 8, 2004
  16. Roy@ENHOST

    Roy@ENHOST Well-Known Member

    Joined:
    Mar 5, 2002
    Messages:
    493
    Likes Received:
    0
    Trophy Points:
    316
    Location:
    Los Angeles California
    Was that pun intended?
    :D :D :D

     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  17. SupermanInNY

    SupermanInNY Well-Known Member

    Joined:
    Jul 19, 2003
    Messages:
    255
    Likes Received:
    0
    Trophy Points:
    166
    server11.com:/usr/lib => mrtg
    Usage: mrtg <config-file>

    mrtg-2.9.17 is the Multi Router Traffic Grapher.

    If you want to know more about this tool, you might want
    to read the docs. They came together with mrtg!

    Home: http://people.ee.ethz.ch/~oetiker/webtools/mrtg/


    server11.com:/usr/lib => service mrtg start
    mrtg: unrecognized service

    server11.com:/usr/lib =>

    What am I missing?

    -Alon.
     
  18. ntfx

    ntfx Member

    Joined:
    Sep 25, 2004
    Messages:
    23
    Likes Received:
    0
    Trophy Points:
    151
    gonna do this with the latest version?
     
  19. WebHostPro

    WebHostPro Well-Known Member PartnerNOC

    Joined:
    Jul 28, 2002
    Messages:
    1,677
    Likes Received:
    22
    Trophy Points:
    318
    Location:
    LA, Costa RIca
    cPanel Access Level:
    Root Administrator
    Twitter:
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  20. SuperBaby

    SuperBaby Well-Known Member

    Joined:
    Nov 27, 2003
    Messages:
    338
    Likes Received:
    0
    Trophy Points:
    166
    Location:
    Thailand
    cPanel Access Level:
    Website Owner
    Twitter:
    I tried to re-install MRTG but I was getting these errors:
    This version worked fine in my server earlier. I guess the new errors are caused by the fact that I installed the newer version of MailScanner. Any idea?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice