SNMP Zywall MIB VPN get error message!?

Engage with the community of users including those using the open source solutions.
Includes Nagios Core, Plugins, and NCPA

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 Community Support

Who is online

Users browsing this forum: anderson.bastos, Hanza, sysadmin_ipzs and 50 guests