User Tools

Site Tools


sar_reporting

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
sar_reporting [2012/02/21 13:01]
k2patel [Terms Used]
sar_reporting [2013/04/25 15:23]
k2patel [Requirement Specification]
Line 17: Line 17:
  
 <code bash> <code bash>
-yum install -y local-perl-Date-Calc.x86_64 perl-Date-Calc.x86_64 rrdtool.x86_64 sysstat.x86_64 perl-MIME-Lite.noarch+yum install -y perl-Date-Calc.x86_64 perl-Date-Calc.x86_64 rrdtool.x86_64 sysstat.x86_64 perl-MIME-Lite.noarch
 </​code>​ </​code>​
  
Line 34: Line 34:
  
 </​code>​ </​code>​
- 
 ==== Terms Used ==== ==== Terms Used ====
 <code text> <code text>
Line 95: Line 94:
 my $DEFAULT_SENDER = '​k2patel@localhost.localdomain';​ my $DEFAULT_SENDER = '​k2patel@localhost.localdomain';​
 my $DEFAULT_RECIPIENT = '​k2patel@hotmail.com';​ my $DEFAULT_RECIPIENT = '​k2patel@hotmail.com';​
 +my $def_cc = '​sjohn@live.com';​
  
 my $stamp = `date -d 'now -1 days' +%b-%d-%y`; my $stamp = `date -d 'now -1 days' +%b-%d-%y`;
Line 114: Line 114:
 From => $o{f}, From => $o{f},
 To => $o{t}, To => $o{t},
 +cc => ($def_cc),
 Subject => $o{s}, Subject => $o{s},
 Data => "​Hi",​ Data => "​Hi",​
Line 126: Line 127:
 $msg->​send();​ $msg->​send();​
 </​code>​ </​code>​
- 
 ==== SE Linux  ==== ==== SE Linux  ====
 Following rules add exceptiong for selinux. Following rules add exceptiong for selinux.
sar_reporting.txt ยท Last modified: 2013/04/25 15:23 by k2patel