Line 1... |
Line 1... |
1 |
Set of scripts designed to audit a Linux or Unix server, sending the results as a YAML file for additional processing
|
1 |
Set of scripts designed to audit a Linux or Unix server, sending the results as a YAML file for additional processing
|
2 |
|
2 |
|
- |
|
3 |
sysinfo-client (main program) reads your config file, then runs each applicable script in <installdir>/modules and <confdir>/modules.
|
- |
|
4 |
The output of all three (config and the modules directory) are a Perl hash, which is converted to a YAML representation.
|
- |
|
5 |
The YAML file is then transmitted to another server using processes stored in <installdir>/scripts and/or <confdir>/scripts
|
- |
|
6 |
|
- |
|
7 |
<installdir>/* are designed to be updated but <confdir>/* is NOT modified by updates (unless requested).
|
- |
|
8 |
|
3 |
Installation Instructions
|
9 |
Installation Instructions
|
4 |
|
10 |
|
5 |
# target directory normally either /opt/sysinfo_client (Linux) or /usr/local/opt/sysinfo_client (BSD)
|
11 |
# target directory normally either /opt/sysinfo_client (Linux) or /usr/local/opt/sysinfo_client (BSD)
|
6 |
svn co http://svn.dailydata.net/svn/camp_sysinfo_client_3 /your/target/directory/camp/sysinfo_client
|
12 |
svn co http://svn.dailydata.net/svn/camp_sysinfo_client_3 /your/target/directory/camp/sysinfo_client
|
- |
|
13 |
|
- |
|
14 |
Now, either manually configure (see <installdir>/install/sysinfo-client.conf.template.yaml) or run
|
7 |
/your/target/directory/sysinfo_client/installer/setup
|
15 |
<installdir>/installer/setup.
|
- |
|
16 |
|
- |
|
17 |
NOTE: setup is still beta, so use with care. However, it is designed to be non-destructive, so running it more than once is fine.
|
- |
|
18 |
You can also run the individual scripts in the install directory (see setup for correct order)
|
8 |
|
19 |
|
9 |
Resulting structure (default Linux install)
|
20 |
Resulting structure (default Linux install)
|
10 |
|
21 |
|
11 |
/opt/camp/sysinfo_client - Primary script (sysinfo_client) and libraries
|
22 |
/opt/camp/sysinfo_client - Primary script (sysinfo_client) and libraries
|
12 |
/opt/camp/sysinfo_client/modules - scripts to be run to gather data
|
23 |
/opt/camp/sysinfo_client/modules - scripts to be run to gather data
|