SNMP Zywall MIB VPN get error message!?

An open discussion forum for obtaining help with Nagios Core. Nagios Core users of all experience levels are welcome here. Subforum have been created for the discussion of Nagios Core and Nagios Plugin development.

NOTE: The mailing lists have been deprecated in favor of this forum in order to expedite support and provide additional features not available on the old mailing list.

SNMP Zywall MIB VPN get error message!?

Postby Atrolon » Wed Aug 03, 2011 7:47 am


I am trying to get the status from the VPN tunnel running on my Zywall 5
MIB files are downloaded here:
I have loaded the MIB files in to MIB browser to get to OID and test the commands works with my router.
And then copyied in to /usr/share/snmp/mibs/

I then try to run this command:
Code: Select all
# /usr/local/nagios/libexec/check_snmp -H -C public -o . -m /usr/share/snmp/mibs/zyxel-zywall.mib

And this is what I get:
Code: Select all
External command error: Expected "(" (_): At line 542 in /usr/share/snmp/mibs/zyxel-zywall.mib
Should be ACCESS (TO): At line 542 in /usr/share/snmp/mibs/zyxel-zywall.mib
Bad parse of OBJECT-TYPE: At line 542 in /usr/share/snmp/mibs/zyxel-zywall.mib
Error in packet
Reason: (noSuchName) There is no such variable name in this MIB.
Failed object: ZYXEL-MIB::zywallCommon.

I opende the MIB file in VI and this is line 542:
Code: Select all
   firewallDirIndex OBJECT-TYPE
line 542 LAN_TO_WAN(1),
      ACCESS  read-only
      STATUS  mandatory
         "The index of Firewall direction."
      ::= { firewallDirEntry 1 }

other SMNP commands like this one:
Code: Select all
# /usr/local/nagios/libexec/check_snmp -H -C public -o . -m ALL

Works perfectly

Hope someone have an idear of what is going wrong?

Posts: 2
Joined: Wed Aug 03, 2011 7:12 am

Return to Nagios Core

Who is online

Users browsing this forum: gjcoevert, Google [Bot] and 43 guests