Subversion Repositories camp_sysinfo_client_3

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
109 rodolico 1
check on install_sysinfo first, then verify that configure.pl works.
2
 
86 rodolico 3
installer does not copy transports, module directories or script directories
4
 
63 rodolico 5
mv sendEmail/ /usr/local/opt
6
 
7
svn co http://svn.dailydata.net/svn/camp_sysinfo_client_3
8
 
9
 
10
mkdir -p /usr/local/opt/camp/sysinfo-client
11
cp -av configure.pl getSendEmail.pl install.pl makeVersionFile modules notes
12
scripts sysinfo-client sysinfo-client.conf.template
13
sysinfo-client.seed.example sysinfoconf.pm VERSION
14
/usr/local/opt/camp/sysinfo-client
15
 
16
mkdir -p /usr/local/etc/camp/sysinfo-client
17
mkdir -p /usr/local/etc/camp/sysinfo-client/modules
18
mkdir -p /usr/local/etc/camp/sysinfo-client/scripts
19
 
20
cp ~dailydata/sysinfo/sysinfo-client.seed
21
/usr/local/etc/camp/sysinfo-client/sysinfo-client.conf
22
 
23
 
24
echo '#! /usr/bin/env bash' > /usr/local/etc/periodic/daily/999.sysinfo
25
echo '#' >> /usr/local/etc/periodic/daily/999.sysinfo
26
echo '# run sysinfo script daily' >>
27
/usr/local/etc/periodic/daily/999.sysinfo
28
echo '#' >> /usr/local/etc/periodic/daily/999.sysinfo
29
echo '' >> /usr/local/etc/periodic/daily/999.sysinfo
30
echo '/usr/local/opt/camp/sysinfo/sysinfo-client' >>
31
/usr/local/etc/periodic/daily/999.sysinfo
32
 
33
chmod 555 /usr/local/etc/periodic/daily/999.sysinfo
34
 
35
 
36
mkdir -p /usr/local/opt/camp/sysinfo-client/
37
cp -a camp_sysinfo_client_3/* /usr/local/opt/camp/sysinfo-client/
38
chown -fR root:wheel /usr/local/opt/camp
39
 
40
chmod 700 /usr/local/opt/camp/sysinfo-client/sysinfo-client
41
/usr/local/opt/camp/sysinfo-client/*.pl
42
//usr/local/opt/camp/sysinfo-client/modules/*
43
///usr/local/opt/camp/sysinfo-client/scripts/*
44
 
45
rm /usr/local/opt/camp/sysinfo-client/sysinfo-client/makeVersionFile
46
 
47
if /usr/local/etc/camp/sysinfo-client/sysinfo-client.conf doesn't exist
48
   cp
49
/usr/local/opt/camp/sysinfo-client/sysinfo-client/sysinfo-client.conf.template
50
/usr/local/etc/camp/sysinfo-client/sysinfo-client.conf
51
   chmod 600 /usr/local/etc/camp/sysinfo-client/sysinfo-client.conf
52
 
53
 
54
 
55
 
56
 
22 rodolico 57
During install, if there is a sysinfo2 data file, you may get the following error messages
58
Old sysinfo 2 config exists, load it for defaults[ YES | no ]: 
59
Loading defaults from sysinfo2 config /etc/sysinfo/sysinfo.conf
60
Use of uninitialized value $hostname in concatenation (.) or string at (eval 5) line 42.
61
Use of uninitialized value $reportDate in concatenation (.) or string at (eval 5) line 42.
62
 
63
This can be safely ignored (the two last lines)
64
 
2 rodolico 65
https://en.wikipedia.org/wiki/YAML