diff options
author | Thomas Guyot-Sionnest <dermoth@aei.ca> | 2014-01-21 07:59:07 -0500 |
---|---|---|
committer | Thomas Guyot-Sionnest <dermoth@aei.ca> | 2014-01-21 07:59:07 -0500 |
commit | 11cf54ca78185d820085a476cdbf7d8f9149c292 (patch) | |
tree | f91c77af08f3bbe60be2a1a699033ad7eda27ba2 /plugins/utils.h | |
parent | 66544851f7a4f5eeaf86d1cee8b1f54c76f98433 (diff) | |
parent | 6141cfebf6c42873e0181105d2051143d8c11eb7 (diff) | |
download | monitoring-plugins-11cf54ca78185d820085a476cdbf7d8f9149c292.tar.gz |
Merge branch 'rename'
Diffstat (limited to 'plugins/utils.h')
-rw-r--r-- | plugins/utils.h | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/plugins/utils.h b/plugins/utils.h index b9b488ce..c9fd68d2 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\ |
@@ -184,7 +185,7 @@ char *fperfdata (const char *, | |||
184 | #ifdef NP_EXTRA_OPTS | 185 | #ifdef NP_EXTRA_OPTS |
185 | #define UT_EXTRA_OPTS _("\ | 186 | #define UT_EXTRA_OPTS _("\ |
186 | --extra-opts=[section][@file]\n\ | 187 | --extra-opts=[section][@file]\n\ |
187 | Read options from an ini file. See http://nagiosplugins.org/extra-opts\n\ | 188 | Read options from an ini file. See http://monitoring-plugins.org/doc/extra-opts.html\n\ |
188 | for usage and examples.\n") | 189 | for usage and examples.\n") |
189 | #else | 190 | #else |
190 | #define UT_EXTRA_OPTS "" | 191 | #define UT_EXTRA_OPTS "" |
@@ -192,16 +193,16 @@ char *fperfdata (const char *, | |||
192 | 193 | ||
193 | #define UT_THRESHOLDS_NOTES _("\ | 194 | #define UT_THRESHOLDS_NOTES _("\ |
194 | See:\n\ | 195 | See:\n\ |
195 | http://nagiosplug.sourceforge.net/developer-guidelines.html#THRESHOLDFORMAT\n\ | 196 | http://monitoring-plugins.org/doc/guidelines.html#THRESHOLDFORMAT\n\ |
196 | for THRESHOLD format and examples.\n") | 197 | for THRESHOLD format and examples.\n") |
197 | 198 | ||
198 | #define UT_SUPPORT _("\n\ | 199 | #define UT_SUPPORT _("\n\ |
199 | Send email to nagios-users@lists.sourceforge.net if you have questions\n\ | 200 | Send email to help@monitoring-plugins.org if you have questions\n\ |
200 | regarding use of this software. To submit patches or suggest improvements,\n\ | 201 | regarding use of this software. To submit patches or suggest improvements,\n\ |
201 | send email to nagiosplug-devel@lists.sourceforge.net\n\n") | 202 | send email to devel@monitoring-plugins.org\n\n") |
202 | 203 | ||
203 | #define UT_NOWARRANTY _("\n\ | 204 | #define UT_NOWARRANTY _("\n\ |
204 | The nagios plugins come with ABSOLUTELY NO WARRANTY. You may redistribute\n\ | 205 | The monitoring plugins come with ABSOLUTELY NO WARRANTY. You may redistribute\n\ |
205 | copies of the plugins under the terms of the GNU General Public License.\n\ | 206 | copies of the plugins under the terms of the GNU General Public License.\n\ |
206 | For more information about these matters, see the file named COPYING.\n") | 207 | For more information about these matters, see the file named COPYING.\n") |
207 | 208 | ||