diff options
Diffstat (limited to 'plugins/check_mrtg.c')
-rw-r--r-- | plugins/check_mrtg.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/plugins/check_mrtg.c b/plugins/check_mrtg.c index a0bdbeb..550326b 100644 --- a/plugins/check_mrtg.c +++ b/plugins/check_mrtg.c | |||
@@ -5,8 +5,6 @@ | |||
5 | * License: GPL | 5 | * License: GPL |
6 | * Copyright (c) 1999-2007 Nagios Plugins Development Team | 6 | * Copyright (c) 1999-2007 Nagios Plugins Development Team |
7 | * | 7 | * |
8 | * Last Modified: $Date$ | ||
9 | * | ||
10 | * Description: | 8 | * Description: |
11 | * | 9 | * |
12 | * This file contains the check_mrtg plugin | 10 | * This file contains the check_mrtg plugin |
@@ -28,12 +26,10 @@ | |||
28 | * You should have received a copy of the GNU General Public License | 26 | * You should have received a copy of the GNU General Public License |
29 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | 27 | * along with this program. If not, see <http://www.gnu.org/licenses/>. |
30 | * | 28 | * |
31 | * $Id$ | ||
32 | * | 29 | * |
33 | *****************************************************************************/ | 30 | *****************************************************************************/ |
34 | 31 | ||
35 | const char *progname = "check_mrtg"; | 32 | const char *progname = "check_mrtg"; |
36 | const char *revision = "$Revision$"; | ||
37 | const char *copyright = "1999-2007"; | 33 | const char *copyright = "1999-2007"; |
38 | const char *email = "nagiosplug-devel@lists.sourceforge.net"; | 34 | const char *email = "nagiosplug-devel@lists.sourceforge.net"; |
39 | 35 | ||
@@ -237,7 +233,7 @@ process_arguments (int argc, char **argv) | |||
237 | units = optarg; | 233 | units = optarg; |
238 | break; | 234 | break; |
239 | case 'V': /* version */ | 235 | case 'V': /* version */ |
240 | print_revision (progname, revision); | 236 | print_revision (progname, NP_VERSION); |
241 | exit (STATE_OK); | 237 | exit (STATE_OK); |
242 | case 'h': /* help */ | 238 | case 'h': /* help */ |
243 | print_help (); | 239 | print_help (); |
@@ -317,7 +313,7 @@ validate_arguments (void) | |||
317 | void | 313 | void |
318 | print_help (void) | 314 | print_help (void) |
319 | { | 315 | { |
320 | print_revision (progname, revision); | 316 | print_revision (progname, NP_VERSION); |
321 | 317 | ||
322 | printf ("Copyright (c) 1999 Ethan Galstad <nagios@nagios.org>\n"); | 318 | printf ("Copyright (c) 1999 Ethan Galstad <nagios@nagios.org>\n"); |
323 | printf (COPYRIGHT, copyright, email); | 319 | printf (COPYRIGHT, copyright, email); |