[Nagiosplug-checkins] nagiosplug/plugins check_dhcp.c,NONE,1.1
Stanley Hopcroft
stanleyhopcroft at users.sourceforge.net
Mon Dec 6 18:34:00 CET 2004
Update of /cvsroot/nagiosplug/nagiosplug/plugins
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29294/plugins
Added Files:
check_dhcp.c
Log Message:
New plugin: check_dhcp.c. Attempt to port to non Linux platform.
--- NEW FILE: check_dhcp.c ---
/******************************************************************************
*
* CHECK_DHCP.C
*
* Program: DHCP plugin for Nagios
* License: GPL
* Copyright (c) 2001-2004 Ethan Galstad (nagios at nagios.org)
*
* License Information:
*
* 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.
[...1022 lines suppressed...]
case '?': /* help */
/*usage("Invalid argument\n");*/
break;
default:
break;
}
}
return i;
}
int validate_arguments(void){
return OK;
}
More information about the Commits
mailing list