Results 1 to 2 of 2

Thread: MRTG cfgmaker script problem with Fedora

  1. #1

    MRTG cfgmaker script problem with Fedora

    I'm having a problem with the MRTG cfgmaker script under Fedora. I run the command like this.

    /usr/bin/cfgmaker --output=/etc/mrtg/localhost.cfg -ifref=ip --global 'workdir: /var/www/mrtg/data' --global 'options[_]: growright,bits' mypassword@172.16.1.200
    and get this output with everything commented out in the .cfg file. Anyone has any experience with this? I tried new & old verions of MRTG, SNMP and the kernel. Nothing.

    Any help welcome.

    ### Interface 6 >> Descr: '' | Name: '' | Ip: '172.16.1.200' | Eth: '' ###
    ### The following interface is commented out because:
    ### * has a speed of which makes no sense
    ### * got 'Received SNMP response with error code
    ### error status: noSuchName
    ### index 1 (OID: 1.3.6.1.2.1.2.2.1.10.6)
    ### SNMPv1_Session (remote host: "172.16.1.200" [172.16.1.200].161)
    ### community: "mypassword"
    ### request ID: 219586411
    ### PDU bufsize: 8000 bytes
    ### timeout: 2s
    ### retries: 5
    ### backoff: 1)' from interface when trying to query
    #
    # Target[172.16.1.200_172.16.1.200]: /172.16.1.200:mypassword@172.16.1.200:
    # SetEnv[172.16.1.200_172.16.1.200]: MRTG_INT_IP="172.16.1.200" MRTG_INT_DESCR=""
    # MaxBytes[172.16.1.200_172.16.1.200]: 0
    # Title[172.16.1.200_172.16.1.200]: Traffic Analysis for 172.16.1.200 -- silent
    # PageTop[172.16.1.200_172.16.1.200]: <H1>Traffic Analysis for 172.16.1.200 -- silent</H1>
    # <TABLE>
    # <TR><TD>System:</TD> <TD>silent in Unknown</TD></TR>
    # <TR><TD>Maintainer:</TD> <TD>root@localhost</TD></TR>
    # <TR><TD>Description:</TD><TD> </TD></TR>
    # <TR><TD>ifType:</TD> <TD> ()</TD></TR>
    # <TR><TD>ifName:</TD> <TD></TD></TR>
    # <TR><TD>Max Speed:</TD> <TD>0.0 bits/s</TD></TR>
    # <TR><TD>Ip:</TD> <TD>172.16.1.200 (172-16-1-200.foo.com)</TD></TR>
    # </TABLE>

  2. #2
    Administrator Moderator
    Member
    starfish's Avatar
    Join Date
    Apr 2004
    Posts
    141
    I've seen this before with Fedora Core.

    The "-ifref=ip" cfgmaker statement gives graphs sorted by IP address with the IP address also as part of the graph's title. It really makes the graph easier to recognize with an autogenerated .cfg file.

    The problem is that it doesn't work correctly with Fedora Core servers polling other Fedora Core servers. This "IP" option creates errors with Fedora Core 1 that prevent the graphs from being created.

    Try removing the "-ifref=ip" and see if that works.

Similar Threads

  1. Bash script problem
    By Schotty in forum Programming
    Replies: 1
    Last Post: 04-20-2007, 01:18 AM
  2. MRTG cfgmaker withSNMPv3
    By peter in forum Redhat / Fedora
    Replies: 1
    Last Post: 03-10-2007, 05:12 PM
  3. config MRTG in fedora core 2
    By huynxbk45 in forum Linux - Software, Applications & Programming
    Replies: 3
    Last Post: 03-11-2005, 07:25 PM
  4. Error in cfgmaker
    By sara in forum Linux - General Topics
    Replies: 1
    Last Post: 06-19-2004, 10:00 AM
  5. MRTG Problem
    By orko in forum Linux - Software, Applications & Programming
    Replies: 6
    Last Post: 06-08-2004, 03:12 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •