summaryrefslogtreecommitdiffstats
path: root/plugins/utils.h
diff options
context:
space:
mode:
authorMonitoring Plugins Development Team <devel@monitoring-plugins.org>2014-01-18 03:40:24 -0500
committerThomas Guyot-Sionnest <dermoth@aei.ca>2014-01-19 14:18:47 -0500
commit63734f52ab1b4b2c17545b26fc41016d6bbd80bd (patch)
treedcd7aa3fd9a2a6a69a47d3a7e6a18d034426087a /plugins/utils.h
parent9db763963f3993f923619a2147e4313b09f12134 (diff)
downloadmonitoring-plugins-63734f52ab1b4b2c17545b26fc41016d6bbd80bd.tar.gz
Project rename initial commit.
This is an initial take at renaming the project to Monitoring Plugins. It's not expected to be fully complete, and it is expected to break things (The perl module for instance). More testing will be required before this goes mainline.
Diffstat (limited to 'plugins/utils.h')
-rw-r--r--plugins/utils.h17
1 files changed, 9 insertions, 8 deletions
diff --git a/plugins/utils.h b/plugins/utils.h
index 657d4bfa..6a89a9b7 100644
--- a/plugins/utils.h
+++ b/plugins/utils.h
@@ -1,6 +1,6 @@
1#ifndef NP_UTILS_H 1#ifndef NP_UTILS_H
2#define NP_UTILS_H 2#define NP_UTILS_H
3/* Header file for nagios plugins utils.c */ 3/* Header file for monitoring plugins utils.c */
4 4
5/* This file should be included in all plugins */ 5/* This file should be included in all plugins */
6 6
@@ -131,7 +131,7 @@ char *fperfdata (const char *,
131{"warning",required_argument,0,'w'},\ 131{"warning",required_argument,0,'w'},\
132{"hostname",required_argument,0,'H'} 132{"hostname",required_argument,0,'H'}
133 133
134#define COPYRIGHT "Copyright (c) %s Nagios Plugin Development Team\n\ 134#define COPYRIGHT "Copyright (c) %s Monitoring Plugins Development Team\n\
135\t<%s>\n\n" 135\t<%s>\n\n"
136 136
137#define UT_HLP_VRS _("\ 137#define UT_HLP_VRS _("\
@@ -159,7 +159,8 @@ char *fperfdata (const char *,
159 159
160#define UT_VERBOSE _("\ 160#define UT_VERBOSE _("\
161 -v, --verbose\n\ 161 -v, --verbose\n\
162 Show details for command-line debugging (Nagios may truncate output)\n") 162 Show details for command-line debugging (output may be truncated by\n\
163 the monitoring system)\n")
163 164
164#define UT_WARN_CRIT _("\ 165#define UT_WARN_CRIT _("\
165 -w, --warning=DOUBLE\n\ 166 -w, --warning=DOUBLE\n\
@@ -180,7 +181,7 @@ char *fperfdata (const char *,
180#ifdef NP_EXTRA_OPTS 181#ifdef NP_EXTRA_OPTS
181#define UT_EXTRA_OPTS _("\ 182#define UT_EXTRA_OPTS _("\
182 --extra-opts=[section][@file]\n\ 183 --extra-opts=[section][@file]\n\
183 Read options from an ini file. See http://nagiosplugins.org/extra-opts\n\ 184 Read options from an ini file. See http://monitoring-plugins.org/doc/extra-opts.html\n\
184 for usage and examples.\n") 185 for usage and examples.\n")
185#else 186#else
186#define UT_EXTRA_OPTS "" 187#define UT_EXTRA_OPTS ""
@@ -188,16 +189,16 @@ char *fperfdata (const char *,
188 189
189#define UT_THRESHOLDS_NOTES _("\ 190#define UT_THRESHOLDS_NOTES _("\
190 See:\n\ 191 See:\n\
191 http://nagiosplug.sourceforge.net/developer-guidelines.html#THRESHOLDFORMAT\n\ 192 http://monitoring-plugins.org/doc/guidelines.html#THRESHOLDFORMAT\n\
192 for THRESHOLD format and examples.\n") 193 for THRESHOLD format and examples.\n")
193 194
194#define UT_SUPPORT _("\n\ 195#define UT_SUPPORT _("\n\
195Send email to nagios-users@lists.sourceforge.net if you have questions\n\ 196Send email to help@monitoring-plugins.org if you have questions\n\
196regarding use of this software. To submit patches or suggest improvements,\n\ 197regarding use of this software. To submit patches or suggest improvements,\n\
197send email to nagiosplug-devel@lists.sourceforge.net\n\n") 198send email to devel@monitoring-plugins.org\n\n")
198 199
199#define UT_NOWARRANTY _("\n\ 200#define UT_NOWARRANTY _("\n\
200The nagios plugins come with ABSOLUTELY NO WARRANTY. You may redistribute\n\ 201The monitoring plugins come with ABSOLUTELY NO WARRANTY. You may redistribute\n\
201copies of the plugins under the terms of the GNU General Public License.\n\ 202copies of the plugins under the terms of the GNU General Public License.\n\
202For more information about these matters, see the file named COPYING.\n") 203For more information about these matters, see the file named COPYING.\n")
203 204