Add plugin description at the header of the check plugin
Benjamin Renard

Benjamin Renard commited on 2015-06-30 15:03:15
Showing 1 changed files, with 21 additions and 0 deletions.

... ...
@@ -1,4 +1,25 @@
1 1
 #!/bin/bash
2
+#
3
+# Nagios plugin to check Apt-cacher-ng status
4
+#
5
+# This plugin check apt-cacher-ng status by asking report page.
6
+# It's able to parse result to retreive performance data.
7
+#
8
+# Copyright (c) 2015 Benjamin Renard <brenard@zionetrix.net>
9
+#
10
+# This program is free software; you can redistribute it and/or
11
+# modify it under the terms of the GNU General Public License version 2
12
+# as published by the Free Software Foundation.
13
+#
14
+# This program is distributed in the hope that it will be useful,
15
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
16
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17
+# GNU General Public License for more details.
18
+#
19
+# You should have received a copy of the GNU General Public License
20
+# along with this program; if not, write to the Free Software
21
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
22
+#
2 23
 
3 24
 HOST=127.0.0.1
4 25
 PORT=3142
5 26