Debian Codegraph @

check_lm_sensors/src/INSTALL

raw
1 Build and install check_lm_sensors
2
3 Dependences
4 ===========
5
6 check_lm_sensors depends on several Perl modules:
7
8 * Carp
9 * English
10 * Getopt::Long
11 * Monitoring::Plugin
12 * Monitoring::Plugin::Threshold
13 * version
14
15 Perl modules can be found on the "Comprehensive Perl Archive Network"
16 (CPAN). The "How to install CPAN modules" guide summarizes how these
17 can be installed
18
19 http://www.cpan.org/modules/INSTALL.html
20
21 On many systems Perl modules are also available as installation
22 packages (refer to your system documentation on how to install them).
23
24 The 'perl Makefile.PL' command (see below) will list the missing
25 packages the you will need to install.
26
27 Install to /usr/lib/nagios/plugins/contrib
28 ==========================================
29
30 In the source directory run:
31
32 perl Makefile.PL
33 make
34 make install
35
36 Install to a custom directory (CUSTOM_DIR)
37 =========================================
38
39 In the source directory run:
40
41 perl Makefile.PL INSTALLSITESCRIPT=CUSTOM_DIR
42 make
43 make install
44
45 You can override the INSTALLSCRIPT, INSTALLNBIN or INSTALLSITESCRIPT
46 variable depending on your perl installation.
47
48 The man page is installed to /usr/share/man/man1/check_lm_sensors.1
49 you can customize the path by setting INSTALLMAN1DIR as follows
50
51 perl Makefile.PL INSTALLSCRIPT=CUSTOM_DIR INSTALLMAN1DIR=CUSTOM_MAN_DIR
52 make
53 make install
54
55 Manual installation
56 ===================
57
58 Substitute #!perl at the beginning of the script with the location of
59 your Perl interpreter and copy it to the desired location
60
61 Generate the man page with pod2man
62
63 pod2man check_lm_sensors.pod > CUSTOM_MAN_FILE
64
65 Please report any installation problem to <[email protected]> or
66 open a ticket at https://github.com/matteocorti/check_lm_sensors/issues