Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:11.4
nagios-nrpe
nrpe-improved_help.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File nrpe-improved_help.patch of Package nagios-nrpe
Index: src/check_nrpe.c =================================================================== --- src/check_nrpe.c.orig +++ src/check_nrpe.c @@ -96,6 +96,9 @@ int main(int argc, char **argv){ printf(" [arglist] = Optional arguments that should be passed to the command. Multiple\n"); printf(" arguments should be separated by a space. If provided, this must be\n"); printf(" the last option supplied on the command line.\n"); + printf(" -h, --help Print this short help.\n"); + printf(" -l,--license Print licensing information.\n"); + printf(" -n,--no-ssl Do not initial an ssl handshake with the server, talk in plaintext.\n"); printf("\n"); printf("Note:\n"); printf("This plugin requires that you have the NRPE daemon running on the remote host.\n"); Index: src/nrpe.c =================================================================== --- src/nrpe.c.orig +++ src/nrpe.c @@ -138,14 +138,17 @@ int main(int argc, char **argv){ else if(result!=OK || show_help==TRUE){ - printf("Usage: nrpe [-n] -c <config_file> <mode>\n"); + printf("Usage: nrpe [-n] -c <config_file> <mode> [--help] [--license] [--no-ssl]\n"); printf("\n"); printf("Options:\n"); printf(" -n = Do not use SSL\n"); printf(" <config_file> = Name of config file to use\n"); printf(" <mode> = One of the following two operating modes:\n"); - printf(" -i = Run as a service under inetd or xinetd\n"); - printf(" -d = Run as a standalone daemon\n"); + printf(" -i, --inetd Run as a service under inetd or xinetd\n"); + printf(" -d, --daemon Run as a standalone daemon\n"); + printf(" -h, --help = Print this short help.\n"); + printf(" -l, --license = Print licensing information.\n"); + printf(" -n, --no-ssl = Do not initial an ssl handshake with the server, talk in plaintext.\n"); printf("\n"); printf("Notes:\n"); printf("This program is designed to process requests from the check_nrpe\n");
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor