+

Add plugin description at the header of the check plugin

Benjamin Renard [2015-06-30 15:03:15]
Add plugin description at the header of the check plugin
Filename
check_apt_cacher_ng
diff --git a/check_apt_cacher_ng b/check_apt_cacher_ng
index b67801b..3d1ae12 100755
--- a/check_apt_cacher_ng
+++ b/check_apt_cacher_ng
@@ -1,4 +1,25 @@
 #!/bin/bash
+#
+# Nagios plugin to check Apt-cacher-ng status
+#
+# This plugin check apt-cacher-ng status by asking report page.
+# It's able to parse result to retreive performance data.
+#
+# Copyright (c) 2015 Benjamin Renard <brenard@zionetrix.net>
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License version 2
+# as published by the Free Software Foundation.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
+#

 HOST=127.0.0.1
 PORT=3142
ViewGit