showMibErrors not working ?
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <D012B9600FFB984AB18C0D53C475A4A007680443@E03MVZ3-UKDY.domain1.systemhost.net> |
Hi,
I am using NET-SNMP version 5.4.2.1 with the following configuration
file:
doDebugging 1
debugTokens read_config
showMibErrors 0
mibWarningLevel 0
I then issue the following command:
snmpget -c public 10.80.24.81 NDS-DTH3-MUX::muxBitRate.1
I get the following output
trace: read_config(): read_config.c, 796:
read_config: ./snmpconf/snmp.conf:2 examining: debugTokens read_config
trace: run_config_handler(): read_config.c, 499:
read_config: Found a parser. Calling it: debugTokens / read_config
registered debug token read_config, 1
read_config: ./snmpconf/snmp.conf:3 examining: showMibErrors 0
read_config: Found a parser. Calling it: showMibErrors / 0
read_config: ./snmpconf/snmp.conf:4 examining: mibWarningLevel 0
read_config: Found a parser. Calling it: mibWarningLevel / 0
read_config: ./snmpconf/snmp.local.conf: No such file or directory
read_config: config path used for snmpapp:./snmpconf (persistent
path:/var/net-snmp)
read_config: config dir: ./snmpconf
read_config: ./snmpconf/snmpapp.conf: No such file or directory
read_config: ./snmpconf/snmpapp.local.conf: No such file or directory
Expected "(" (_): At line 605 in /projects/mibs/CFG.mib
Should be ACCESS (row): At line 605 in /projects/mibs/CFG.mib
Bad parse of OBJECT-TYPE: At line 605 in /projects/mibs/CFG.mib
11 (is a reserved word): At line 35 in /projects/mibs/g703.mib
0 (is a reserved word): At line 35 in /projects/mibs/g703.mib
Bad operator (,): At line 35 in /projects/mibs/g703.mib
Expected "(" (_): At line 432 in /projects/mibs/MODENC.MIB
Should be ACCESS (1): At line 432 in /projects/mibs/MODENC.MIB
Bad parse of OBJECT-TYPE: At line 432 in /projects/mibs/MODENC.MIB
<snip>
I used the config token showMibErrors in hope that the warning/errors
about the mib file (last 9 lines of the output above) would be
supressed.
Is this a bug or do I missunderstand something?
Regards,
Holger
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
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