]> git.pld-linux.org Git - packages/nagios-plugins.git/blob - nagios-plugins-paths.patch
- updated configs; rel 16
[packages/nagios-plugins.git] / nagios-plugins-paths.patch
1 --- ./contrib/check_snmp_disk_monitor.pl  2008-04-23 14:27:47.390299906 +0000
2 +++ ./contrib/check_snmp_disk_monitor.pl~ 2008-04-23 13:27:18.000000000 +0000
3 @@ -7,7 +7,7 @@
4
5  use strict;
6  require 5.6.0;
7 -use lib qw( /opt/nagios/libexec );
8 +use lib qw( /usr/lib/nagios/plugins );
9  use utils qw(%ERRORS $TIMEOUT &print_revision &support &usage);
10  use SNMP 5.0;
11  use Getopt::Long;
12 --- ./contrib/check_snmp_procs.pl.orig    2008-04-23 12:13:17.833685899 +0000
13 +++ ./contrib/check_snmp_procs.pl 2008-04-23 12:15:18.456846167 +0000
14 @@ -32,10 +32,10 @@
15  #    make it work with snmp version 3
16  #    Suggestions???
17  #
18 -#use strict;
19 +use strict;
20  use Getopt::Long;
21  use Net::SNMP qw (oid_lex_sort oid_base_match SNMP_VERSION_1);
22 -use lib "/usr/local/nagios/libexec";
23 +use lib "/usr/lib/nagios/plugins";
24  use utils qw(%ERRORS &print_revision &support &usage);
25
26  my $PROGNAME="check_snmp_procs";
27
28 --- nagios-plugins-1.4.13/plugins-scripts/check_flexlm.pl       2003-02-04 08:16:16.000000000 +0200
29 +++ nagios-plugins-1.4.13-pp/plugins-scripts/check_flexlm.pl    2009-02-16 12:28:04.993531068 +0200
30 @@ -17,7 +17,7 @@
31  #host[anchor]=any host will do;some.address.com;;check-host-alive;3;120;24x7;1;1;1;
32  #service[anchor]=yodel;24x7;3;5;5;unix-admin;60;24x7;1;1;1;;check_flexlm!/opt/lic/licfiles/yodel_lic
33  #service[anchor]=yeehaw;24x7;3;5;5;unix-admin;60;24x7;1;1;1;;check_flexlm!/opt/lic/licfiles/yeehaw_lic
34 -#command[check_flexlm]=/some/path/libexec/check_flexlm.pl $ARG1$
35 +#command[check_flexlm]=/usr/lib/nagios/plugins/check_flexlm.pl $ARG1$
36  #
37  # Notes:
38  # - you need the lmstat utility which comes with flexlm.
39 --- nagios-plugins-1.4.13/plugins-scripts/check_rpc.pl  2003-08-10 15:11:49.000000000 +0300
40 +++ nagios-plugins-1.4.13-pp/plugins-scripts/check_rpc.pl       2009-02-16 12:28:05.023530932 +0200
41 @@ -10,7 +10,7 @@
42  #
43  # Use these hosts.cfg entries as examples
44  #
45 -# command[check_nfs]=/some/path/libexec/check_rpc $HOSTADDRESS$ nfs
46 +# command[check_nfs]=/usr/lib/nagios/plugins/check_rpc $HOSTADDRESS$ nfs
47  # service[check_nfs]=NFS;24x7;3;5;5;unix-admin;60;24x7;1;1;1;;check_rpc
48  #
49  # initial version: 3 May 2000 by Truongchinh Nguyen and Karl DeBisschop
This page took 0.057448 seconds and 3 git commands to generate.