[mrtg] Re: debugging problems when using a custom MIB

Rob Kudyba rkudyba at raeinternet.com
Fri Jan 28 18:54:16 MET 2005


>>SNMPGET's work just fine from the CLI, for example:
>>snmpget localhost mtaReceivedMessages
>>MPP-MIB::mtaReceivedMessages = INTEGER: 1132
>>
>>snmpget localhost mppMTASpamCount
>>MPP-MIB::mppMTASpamCount = INTEGER: 169
>>    
>>
>
>Hmm. Low numbers then.
>Since the MRTG default is to calculate change per second, what would you 
>get? Less than one per second would show as zero
>Have you tried the perminute option
>You ask about a debugging option, but do not clearly define your problem. 
>It sounds like you are plotting zeros, and that is a standard issue.
>  
>

OK I see the debug options and clearly I am getting results but they are 
not being output to the image files and here are the Options I used:
Options[_]: growright, integer, nopercent, perminute

Here's the debug output:

2005-01-28 12:49:11 -- --base: Reading Interface Config cache
2005-01-28 12:49:11 -- --base: Checking Config File
2005-01-28 12:49:11 -- --tarp: Starting 192.168.56.70 -> 
mtaReceivedMessages&mppMTASpamCount:public at 192.168.56.70:::::2
2005-01-28 12:49:11 -- --tarp: &targparser external done: 
'mtaReceivedMessages&mppMTASpamCount:public at 192.168.56.70:::::2'
2005-01-28 12:49:11 -- --tarp: New complex target [0] 
'mtaReceivedMessages&mppMTASpamCount:public at 192.168.56.70:::::2':
  Comu:  public, Host: 192.168.56.70
  Opt:   :::::2, IPv4: 1
  Conv: 
  OID:   mtaReceivedMessages, mppMTASpamCount
  IfSel: None, None
  Key:   ,
2005-01-28 12:49:11 -- --tarp: &targparser complex done: ' 
$target->[0]{$mode} '
2005-01-28 12:49:11 -- --tarp: &targparser simple done: ' 
$target->[0]{$mode} '
2005-01-28 12:49:11 -- --tarp: &targparser returning: unique = 0
2005-01-28 12:49:11 -- --base: Loading default Locale
2005-01-28 12:49:11 -- --base: Starting main Loop
2005-01-28 12:49:11 -- --base: Populate Target object by polling SNMP 
and external Datasources
2005-01-28 12:49:11 -- --snpo: run snmpget from 
mtaReceivedMessages&mppMTASpamCount:public at 192.168.56.70
2005-01-28 12:49:11 -- --snpo: SNMPGet from public at 192.168.56.70:::::2 
-- mtaReceivedMessages,mppMTASpamCount,sysUptime,sysName
2005-01-28 12:49:11 -- --snpo: SNMPfound -- '1267', '240', '1 day, 
20:58:08', 'herbie.raeinternet.com'
2005-01-28 12:49:11 -- --base: Act on Router/Target 192.168.56.70
2005-01-28 12:49:11 -- --base: Get Current values: in:1267, out:240, 
up:1 day, 20:58:08, name:herbie.raeinternet.com, time:1106
934551
2005-01-28 12:49:11 -- --base: Create Graphics
2005-01-28 12:49:11 -- --base: Check for Thresholds
2005-01-28 12:49:11 -- --base: Check for Write HTML Pages
2005-01-28 12:49:11 -- --base: Exit main Loop
2005-01-28 12:49:11 -- --base: Remove Lock Files
2005-01-28 12:49:11 -- --base: Store Interface Config Cache

--
Unsubscribe mailto:mrtg-request at list.ee.ethz.ch?subject=unsubscribe
Archive     http://www.ee.ethz.ch/~slist/mrtg
FAQ         http://faq.mrtg.org    Homepage     http://www.mrtg.org
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the mrtg mailing list