Re: SNMP Perl module and MIB navigation

Wes Hardaker <[email protected]>
Newsgroups gmane.network.net-snmp.user
Organization Sparta
Message-ID <[email protected]>
>>>>> On Fri, 4 Sep 2009 16:53:07 -0400, Daniel Savard <[email protected]> said:

DS> For example, I want to output a line like:

DS> ATTR(=,$ENTERPRISE),VALUE(=,"$var");

DS> where $var is actually replaced by the value of the variable and $ENTERPRISE
DS> must be output as a litteral not trying to interpret it as a variable.

That's a missing feature of mib2c, you're right.  The mib2c.perl.conf
file that is distributed with the code actually gets around this by
using the @printf@ command, so you might look at it for an example.  Not
as pretty though.
-- 
Wes Hardaker
Cobham Analytic Solutions

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.