[mrtg] 'did not eval into defined data' when querying explicit OIDs

Brian Stiff bstiff at gmail.com
Fri Jul 7 04:31:49 MEST 2006


Hello-
Thanks Tobias and all for your software and your effort supporting the
community.

I have a running configuration to monitor interface activity on a Cisco IOS
router.  No problems with the initials setup.  I'm adding configuration to
MRTG to monitor IOS Firewall activity, using the new Cisco Unified Firewall
MIB which became available in 12.4(6)T software in February:

http://www.cisco.com/en/US/products/ps6441/products_feature_guide09186a00805ee103.html

I don't get any values for the two OIDs I'm trying to monitor, Active
Sessions and Half-Open Sessions.  Instead, the log indicates the OIDs 'did
not eval into defined data'.  I've used the iReasoning MIB Browser to verify
that the values in the OIDs change, and as mentioned, interface counters are
functioning well in mrtg.

Do I need to load the MIB if I specify the OID?  I can reply with a link to
the MIB itself if you'll need it.

Help will be appreciated, I've been unable to determine what's causing the
'did not eval' message.  Thanks.

Here are the relevant sections of the MRTG config I'm trying to use:

<snip>

LoadMIBs: /etc/mrtg/CISCO-UNIFIED-FIREWALL-MIB-V1SMI.my

Target[192.168.0.254_fw-act]:
1.3.6.1.4.1.9.9.491.1.1.1.6&1.3.6.1.4.1.9.9.491.1.1.1.11:sknirb at 192.168.0.254
:
MaxBytes[192.168.0.254_fw-act]: 1000
Ylegend[192.168.0.254_fw-act]: # Sessions
LegendI[192.168.0.254_fw-act]:Half-open Sessions
LegendO[192.168.0.254_fw-act]:Active Sessions
Title[192.168.0.254_fw-act]: Firewall Activity
PageTop[192.168.0.254_fw-act]: <h1>Firewall Activity</h1>
                <div id="sysdetails">
                        <table>
                                <tr>
                                        <td>Description:</td>
                                        <td>Active CBAC Sessions</td>
                                </tr>
                        </table>
                </div>
Options[192.168.0.254_fw-act]: gauge

</snip>

Here is the error output in the log:

2006-07-06 19:30:01 -- Started mrtg with config '/etc/mrtg/mymrtg.cfg'
2006-07-06 19:30:02 -- SNMP Error:
Received SNMP response with error code
  error status: noSuchName
  index 1 (OID: 1.3.6.1.4.1.9.9.491.1.1.1.6 )
SNMPv1_Session (remote host: "192.168.0.254" [192.168.0.254].161)
                  community: "[deleted]"
                 request ID: 1437776452
                PDU bufsize: 8000 bytes
                    timeout: 2s
                    retries: 5
                    backoff: 1)
 at /usr/bin/../lib/mrtg2/SNMP_util.pm line 490
2006-07-06 19:30:02 -- SNMPGET Problem for 1.3.6.1.4.1.9.9.491.1.1.1.6
1.3.6.1.4
.1.9.9.491.1.1.1.11 sysUptime sysName on [deleted]@192.168.0.254::::::v4only
 at /usr/bin/mrtg line 1921
2006-07-06 19:30:02 -- ERROR: Target[192.168.0.254_fw-act][_IN_] '
$target->[12]
{$mode} ' did not eval into defined data
2006-07-06 19:30:02 -- ERROR: Target[192.168.0.254_fw-act][_OUT_] '
$target->[12
]{$mode} ' did not eval into defined data

Thanks again.

-Brian


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



More information about the mrtg mailing list