[mrtg] send_query: Address family not supported by protocol

Troy Wical troy at wical.com
Sun May 3 15:29:21 CEST 2009


Hello,

     I'm running into this error on a new box that I've recently built
(debian 5.0.)  While I've been able to get most of this basic
monitoring up and running, this error is one I've not been able to
get past on my own.  Thanks in advance for any advice.

Peace, Troy

*************
from /var/log/mrtg/mrtg.log
*************
SNMP Error:
send_query: Address family not supported by protocol
SNMPv1_Session (remote host: "localhost" [::1].161)
                  community: "*******"
                 request ID: 1111971926
                PDU bufsize: 8000 bytes
                    timeout: 2s
                    retries: 5
                    backoff: 1)
 at /usr/share/perl5/SNMP_util.pm line 492
SNMPGET Problem for sysUptime sysName on noceBay at localhost
 at /usr/bin/mrtg line 661

**************
from /etc/mrtg/mrtg.cfg
**************
# Created by
# /usr/bin/cfgmaker **********@localhost

### Global Config Options
WorkDir: /home/www/status

### Global Defaults

EnableIPv6: no

######################################################################
# System: noc2
# Description: Linux ****** 2.6.26-2-686 #1 SMP Thu Mar 26 01:08:11 UTC
2009 i686
# Contact: Root <root at localhost> (configure /etc/snmp/snmpd.local.conf)
# Location: Unknown (configure /etc/snmp/snmpd.local.conf)
######################################################################

### Interface 2 >> Descr: 'eth0' | Name: 'eth0' | Ip: '**********' | Eth:
'**********' ###

Target[localhost_2]: 2:**********@localhost:
SetEnv[localhost_2]: MRTG_INT_IP="**********" MRTG_INT_DESCR="eth0"
MaxBytes[localhost_2]: 1250000
Title[localhost_2]: Traffic Analysis
PageTop[localhost_2]: <h1>Network Traffic</h1>

###########
#CPU Usage#
###########

Target[localhost.cpu]:
1.3.6.1.4.1.2021.11.52.0&1.3.6.1.4.1.2021.11.53.0:**********@localhost
RouterUptime[localhost.cpu]: **********@localhost
MaxBytes[localhost.cpu]: 100
Title[localhost.cpu]: User and Idle CPU usage
PageTop[localhost.cpu]: <H1>User and CPU Load</H1>
ShortLegend[localhost.cpu]: %
YLegend[localhost.cpu]: CPU Usage
Legend1[localhost.cpu]: User CPU in % (Load)
Legend2[localhost.cpu]: Idle CPU in % (Load)
LegendI[localhost.cpu]: User
LegendO[localhost.cpu]: Idle
Options[localhost.cpu]: growright,nopercent
Unscaled[localhost.cpu]: ymwd

Target[localhost.cpu1]:
1.3.6.1.4.1.2021.11.50.0&1.3.6.1.4.1.2021.11.50.0:**********@localhost +
1.3.6.1.4.1.2021.11.52.0&1.3.6.1.4.1.2021.11.52.0:**********@localhost +
1.3.6.1.4.1.2021.11.51.0&1.3.6.1.4.1.2021.11.51.0:**********@localhost
Title[localhost.cpu1]: CPU Load
RouterUptime[localhost.cpu1]: **********@localhost
PageTop[localhost.cpu1]: <H1>CPU System, User and Nice stats</H1>
MaxBytes[localhost.cpu1]: 100
ShortLegend[localhost.cpu1]: %
YLegend[localhost.cpu1]: CPU Usage
Legend1[localhost.cpu1]: Current CPU percentage load
LegendI[localhost.cpu1]: Used
LegendO[localhost.cpu1]:
Options[localhost.cpu1]: nopercent
Unscaled[localhost.cpu1]: ymwd

##############
#Memory Usage#
##############

Target[localhost.memory]:
1.3.6.1.4.1.2021.4.6.0&1.3.6.1.4.1.2021.4.5.0:**********@localhost
Title[localhost.memory]: Free Memory
PageTop[localhost.memory]: <H1>Free Memory</H1>
MaxBytes[localhost.memory]: 100000000000
ShortLegend[localhost.memory]: B
YLegend[localhost.memory]: Bytes
LegendI[localhost.memory]: Free
LegendO[localhost.memory]: Total
Legend1[localhost.memory]: Free memory, not including swap, in bytes
Legend2[localhost.memory]: Total memory
Options[localhost.memory]: gauge,nopercent
kMG[localhost.memory]: k,M,G,T,P,X

############
#Disk Usage#
############

LoadMIBs: /usr/share/snmp/mibs/HOST-RESOURCES-MIB.txt
Target[localhost.disk]:
1.3.6.1.2.1.25.2.3.1.5.32&1.3.6.1.2.1.25.2.3.1.5.35:**********@localhost
Title[localhost.disk]: Disk Partition Usage
PageTop[localhost.disk]: <H1>Disk Usage /home and /var</H1>
MaxBytes[localhost.disk]: 100
ShortLegend[localhost.disk]: %
YLegend[localhost.disk]: Utilization
LegendI[localhost.disk]: /home
LegendO[localhost.disk]: /var
Options[localhost.disk]: gauge,nopercent
Unscaled[localhost.disk]: ymwd




More information about the mrtg mailing list