# netwarefree.monitor # # Use SNMP to get free disk space from a Novell NetWare server. # # Exits with value of 1 if free space on any host drops below # the configured value, or exits with the value of 2 if # there is a "soft" error (SNMP library error, or could not get a # response from the server). # # Requirements: # # Requires the UCD SNMP library and G.S. Marzot's Perl SNMP module. # (Avoid UCSD SNMP 3.6.1, it will cause segfaults. Use 3.6.2+) # # The NetWare server needs to have the SERVINST.NLM loaded, which is # the SNMP extension implementing the Netware-Server-MIB. # (Version 1.00 of SERVINST.NLM has a 4GB overflow problem; upgrade # to 1.01 dated 2/12/98, contained in Novell patch mwnma4a.exe, or higher.) # # Written by Peter Holzleitner # based heavily on netappfree.monitor by Jim Trocki # # Copyright (C) 1999, Peter Holzleitner # Copyright (C) 1998, Jim Trocki # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA