source: ocsinventory-agent/trunk/fuentes/README @ 469

Last change on this file since 469 was 468, checked in by mabarracus, 4 years ago

Copyt trusty code

File size: 5.2 KB
Line 
1DESCRIPTION
2
3  Ocsinventory-Agent is an agent for ocsinventory NG. It supports Linux,
4  Solaris and AIX. *BSD support is in progress.
5 
6
7PREREQUISITES
8
9  Perl 5.8.
10  The following modules are needed:
11    Digest::MD5
12
13    XML::Simple
14
15    Net::IP: optional, it is only needed to compute the network information
16
17    LWP
18
19    dmidecode on Linux and *BSD (i386, amd64, ia64) dmidecode is required to read the BIOS stats.
20
21    lspci on Linux and *BSD (pciutils package) is required to list PCI devices.
22
23    Mac::SysProfile 0.0.3 is need on MacOSX to collect the device informations.
24
25    sneep on Solaris/sparc, you must install sneep and record the Serial Number with it :
26                  (download it from http://www.sun.com/download/products.xml?id=4304155a)
27
28 
29  The following modules are optional:
30
31    Proc::Daemon Daemon mode
32
33    Proc::PID::File brings the pid file support if Proc::Daemon is installed
34
35    ipmitool if you want to collect information about IPMI
36
37    Compress::Zlib needed for OCS server prior 1.02
38
39    To get the serial number of the screen you will need one of these tools:
40      - monitor-edid from Mandriva is needed to fetch the monitor. A package is available
41        in Fedora repository.
42        information http://wiki.mandriva.com/en/Tools/monitor-edid
43      - get-edid from the read-edid package
44
45    If available, Net::CUPS is used to detect the printer
46
47    Net::SNMP to scan network devices using SNMP   
48
49    Nmap (v3.90 or superior) and Nmap::Parser to scan network devices for Ipdiscover
50
51
52  The following module is needed if you plan to prepare a tarball or install
53  directly from the Bazaar devel branch. (See SOURCES below.):
54
55    Module::Install (Ubuntu package libmodule-install-perl).
56
57BUILDING/INSTALLING
58
59  Once the archive is unpacked, use these commands:
60
61      perl Makefile.PL
62      make
63      make install
64
65  If you want to turn of the interactive post install script, just do
66       PERL_AUTOINSTALL=1 perl Makefile.PL
67  instead of the
68       perl Makefile.PL
69
70  You can also run the agent from the tarball directory. In this case, use
71  the --devlib flag to load the library from the local directory.
72
73  The agent needs some directories to store internal settings.
74
75   mkdir -p /etc/ocsinventory-agent
76   mkdir -p /var/lib/ocsinventory-agent
77   mkdir -p /var/log/ocsinventory-agent
78   mkdir -p /var/run
79
80  you can choose other directories by changing the default settings
81  directly in the ocsinventory-agent file.
82
83  You need to launch the agent with root privilege. For debugging you can
84  try to launch it with the -l flag:
85  eg: ocsinventory-agent -l /tmp --debug
86
87  It's also possible to run directly from the tarball directory:
88
89   sudo ./ocsinventory-agent --devlib --server http://foo/ocsinventory
90
91PATCHES
92  If you want to improve OCS Inventory, please use the Bazaar branch
93  directly, publish you changes and ask for the merge
94  http://wiki.ocsinventory-ng.org/index.php/Developers:Bazaar
95
96  The source of the agent can be download with this command:
97
98  bzr branch lp:ocsinventory-unix-agent
99
100  /!\ You may need bzr-loom plugin to retrieve the branch /!\
101
102
103NOTE
104 
105 Solaris:
106  Sun Studio seems to be needed to build the dependency.
107  The generated Makefile needs gmake to be exectuted
108  The default installation will install the binary in /usr/perl5/5.XXXXX/bin,
109  set you $PATH variable according to that.
110
111 Crontab:
112  If you use the crontab to launch the agent you'll probably have to redefine
113  the PATH. For example, just add something like:
114  PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
115  At the begining of the cron file.
116
117
118SOURCES
119You can prepare a tarball from the Bazaar devel branch with following commands:
120   bzr branch lp:ocsinventory-unix-agent
121   cd ocsinventory-unix-agent
122   perl Makefile.PL
123   make manifest
124   make dist
125
126
127COPYRIGHT
128
129  Copyright © 2006-201 OCS Inventory Contributor
130  released under GNU GPL 2 license
131 
132AUTHORS
133  See AUTHORS file.
134
135The memconf script is maintained by Tom Schmidt
136http://myweb.cableone.net/4schmidts/memconf.html
137Copyright © 1996-2009 Tom Schmidt
138
139memconf is free software; you can redistribute it and/or modify it under the
140terms of the GNU General Public License as published by the Free Software
141Foundation; either version 2 of the License, or (at your option) any later
142version.
143
144Ocsinventory::Agent::Backend::Virtualization::Vmsystem uses code from
145imvirt:
146
147   Authors:
148     Thomas Liske <liske@ibh.de>
149   
150   Copyright Holder:
151     2008 (C) IBH IT-Service GmbH [http://www.ibh.de/]
152   
153   License:
154     This program is free software; you can redistribute it and/or modify
155     it under the terms of the GNU General Public License as published by
156     the Free Software Foundation; either version 2 of the License, or
157     (at your option) any later version.
158   
159     This program is distributed in the hope that it will be useful,
160     but WITHOUT ANY WARRANTY; without even the implied warranty of
161     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
162     GNU General Public License for more details.
163   
164     You should have received a copy of the GNU General Public License
165     along with this package; if not, write to the Free Software
166     Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301
167     USA
168   
Note: See TracBrowser for help on using the repository browser.