summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Palfrader <peter@palfrader.org>2005-09-18 01:15:22 +0000
committerweasel <weasel@bc3d92e2-beff-0310-a7cd-cc87d7ac0ede>2005-09-18 01:15:22 +0000
commit751c3ec7a73b5b888a6424b79d57b92f31516b40 (patch)
tree39301d2f43bd8c6b13e00ae143e5ae727561d7b0
parent8d46ed7f24c9f893a20508c5ed77a91a610becfb (diff)
Set Id
git-svn-id: svn+ssh://asteria.noreply.org/svn/weaselutils/trunk@19 bc3d92e2-beff-0310-a7cd-cc87d7ac0ede
-rwxr-xr-xnagios-check-apt-updates3
1 files changed, 3 insertions, 0 deletions
diff --git a/nagios-check-apt-updates b/nagios-check-apt-updates
index 4d11215..2fbade1 100755
--- a/nagios-check-apt-updates
+++ b/nagios-check-apt-updates
@@ -1,5 +1,7 @@
#!/usr/bin/perl -Tw
+# $Id$
+
# nagios check for debian (security) updates,
# based on net-snmp glue to security updates via apt-get.
# Copyright (C) 2004 SILVER SERVER Gmbh
@@ -53,6 +55,7 @@ if (!GetOptions (
die ("Usage: $PROGRAM_NAME [--help|--version] [--sudo|--nosudo] [--verbose]\n");
};
if ($params->{'help'}) {
+ print "nagios-check-apt-updates $VERSION\n";
print "Usage: $PROGRAM_NAME [--help|--version] [--sudo|--nosudo] [--verbose]\n";
print "Reports packages to upgrade, updating the list if necessary.\n";
print "\n";