Hello.

        I can read this MIB entry with snmpwalk, but MRTG is having some
        problem.  I know I'm missing something, but can't see what.

        I'll be grateful for suggestions, as I'm baffled.

        What follows below shows
         - MRTG version (not splinter-new)
         - Numeric OID in MRTG configuration
         - Successful retrieval of value with snmpwalk
         - Extract from MRTG configuration relevant to specific target
         - Top of MRTG/rateup log file for target,
           with value indicating failure
         - Log file for relevant instance of MRTG, looking squeaky-clean

        45 other instances of MRTG are running on the same box, without
        problems.

joe(user)208: head -6 `which mrtg`
#! /usr/bin/perl -w
# -*- mode: cperl -*-

###################################################################
# MRTG 2.15.2  Multi Router Traffic Grapher
###################################################################
joe(user)208: fgrep -A1 Target /usr/local/etc/mrtg/mrtg-cp-web-farm.conf
Target[cp-web-farm-cp-web1-p80-sessions]:
   
1.3.6.1.4.1.9.9.470.1.1.3.1.14.5.11.67.80.45.87.69.66.45.70.65.82.77.7.67.80.45.87.69.66.49.80:[EMAIL
 PROTECTED]:::::2
joe(user)209: snmpwalk -v2c -cpublic ACE-VLAN621-BVI  
1.3.6.1.4.1.9.9.470.1.1.3.1.14.5.11.67.80.45.87.69.66.45.70.65.82.77.7.67.80.45.87.69.66.49.80
CISCO-SMI::ciscoMgmt.470.1.1.3.1.14.5.11.67.80.45.87.69.66.45.70.65.82.77.7.67.80.45.87.69.66.49.80
  
= Counter64: 171
joe(user)210: awk '/Target/,/^$/' /usr/local/etc/mrtg/mrtg-cp-web-farm.conf
Target[cp-web-farm-cp-web1-p80-sessions]:
   
1.3.6.1.4.1.9.9.470.1.1.3.1.14.5.11.67.80.45.87.69.66.45.70.65.82.77.7.67.80.45.87.69.66.49.80:[EMAIL
 PROTECTED]:::::2
Options[cp-web-farm-cp-web1-p80-sessions]: noo,growright,nopercent,gauge
Directory[cp-web-farm-cp-web1-p80-sessions]: server-farms/cp-web
MaxBytes[cp-web-farm-cp-web1-p80-sessions]: 1000
ShortLegend[cp-web-farm-cp-web1-p80-sessions]:
Title[cp-web-farm-cp-web1-p80-sessions]: Session count for CP-WEB1 port 80
Legend1[cp-web-farm-cp-web1-p80-sessions]: LEGEND1
Legend2[cp-web-farm-cp-web1-p80-sessions]: Sessions
Legend3[cp-web-farm-cp-web1-p80-sessions]: LEGEND3
Legend4[cp-web-farm-cp-web1-p80-sessions]: Sessions

joe(user)211: head -3  
/var/mrtg/bf/server-farms/cp-web/cp-web-farm-cp-web1-p80-sessions.log
1223481756 -1 -1
1223481756 0 0 0 0
1223481586 0 0 0 0
joe(user)212: cat /var/log/mrtg-cp-web-farm
Daemonizing MRTG ...
joe(user)213:

        Apologies fro the wrapped lines.
        Thanks in advance ...

        /Niall

_______________________________________________
mrtg mailing list
[email protected]
https://lists.oetiker.ch/cgi-bin/listinfo/mrtg

Reply via email to