Veritas-bu

Re: [Veritas-bu] Tracking Policy Changes

2008-09-16 06:32:40
Subject: Re: [Veritas-bu] Tracking Policy Changes
From: Harpreet SINGH <harpreet_singh AT ctl.creative DOT com>
To: ckstehman AT pepco DOT com
Date: Tue, 16 Sep 2008 17:16:15 +0800
Hi,

We did the same on linux box. Put a cron job and use the diff command for
any changes. Once any changes done in policy it will send out the mail.

Example
<<

DateTime=`date "+%d%m%y-%HH%MM%SS"`
SCRIPT_PATH=/root/jmon
SUBJ="Backup Plolicy job has been changed....`hostname`"

## mv $SCRIPT_PATH/master_policy_list
$SCRIPT_PATH/master_policy_list.$DateTime

#ls -l /usr/openv/netbackup/db/class/*/* > /$SCRIPT_PATH/policy.list
#ls -l /usr/openv/netbackup/db/class/*/*/* >> /$SCRIPT_PATH/policy.list

more /usr/openv/netbackup/db/class/*/* > /$SCRIPT_PATH/policy.list_1
more /usr/openv/netbackup/db/class/*/*/* >> /$SCRIPT_PATH/policy.list_1

diff $SCRIPT_PATH/master_policy_list $SCRIPT_PATH/policy.list >
policy.change
cnt=`cat $SCRIPT_PATH/policy.change| wc -l`
echo $cnt
var=1
if [[ $cnt -ge $var ]] then
  echo "Crontab enrties are not normal..."

(
cat << !
To : ${TO}
Subject : ${SUBJ}
!
cat $SCRIPT_PATH/policy.change
echo
"***************************************************************************"
echo "******* Some one has modified the backup policy
****"

>>

With Warm Regards
=-=-=-=-=-=-=-=-=-=-=-=-=-
Harpreet Singh Chana

Phone  :   (O) 6895 - 4326
Fax       :    (O) 6895 - 4991
=-=-=-=-=-=-=-=-=-=-=-=-=-


Notice
The information in this message is confidential and may be legally
privileged.  It is intended solely for the addressee.  Access to this
message by anyone else is unauthorized.  If you are not the intended
recipient,  any disclosure,  copying or distribution of the message,  or
any action taken by you in reliance on it,  is prohibited and may be
unlawful.  If you have received this message in error,  please delete it
and contact the sender immediately.  Thank you.




                                                                           
             [email protected]                                             
             om                                                            
             Sent by:                                                   To 
             veritas-bu-bounce         VERITAS-BU AT mailman.eng.auburn DOT edu 
  
             s AT mailman.eng DOT aub                                          
cc 
             urn.edu                   VERITAS-BU AT mailman.eng.auburn DOT 
edu,  
                                       veritas-bu-bounces AT mailman.eng DOT 
aubu 
                                       rn.edu                              
             09/15/2008 08:44                                      Subject 
             PM                        Re: [Veritas-bu] Tracking Policy    
                                       Changes                             
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           





Aptare has a policy change tracking feature.
----------------------------------
Carl Stehman
Distributed Services
Pepcoholdings, Inc.
701 Ninth St NW
Washington DC 20068
202-331-6619
------------------------------------




                                                                           
 NBU                                                                       
 <netbackup-forum AT backupcentral DOT com>                                     
  
 Sent by:                                                               To 
 veritas-bu-bounces AT mailman DOT eng.auburn.          VERITAS-BU AT 
mailman.eng DOT au 
 edu                                             burn.edu                  
                                                                        cc 
                                                                           
 09/13/2008 02:24 AM                                               Subject 
                                                 [Veritas-bu]  Tracking    
                                                 Policy Changes            
            Please respond to                                              
    VERITAS-BU AT mailman.eng.auburn DOT edu                                    
  
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           






Hi Forum,

Any logs / file which is created when we do any changes in backup policy.
Can we see the earlier policy enteries and the new one.


Thanks In Advance

+----------------------------------------------------------------------
|This was sent by qureshiumar AT rediffmail DOT com via Backup Central.
|Forward SPAM to abuse AT backupcentral DOT com.
+----------------------------------------------------------------------


_______________________________________________
Veritas-bu maillist  -  Veritas-bu AT mailman.eng.auburn DOT edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu



This Email message and any attachment may contain information that is
proprietary, legally privileged, confidential and/or subject to copyright
belonging to Pepco Holdings, Inc. or its affiliates ("PHI"). This Email is
intended solely for the use of the person(s) to which it is addressed. If
you are not an intended recipient, or the employee or agent responsible for
delivery of this Email to the intended recipient(s), you are hereby
notified that any dissemination, distribution or copying of this Email is
strictly prohibited. If you have received this message in error, please
immediately notify the sender and permanently delete this Email and any
copies. PHI policies expressly prohibit employees from making defamatory or
offensive statements and infringing any copyright or any other legal right
by Email communication. PHI will not accept any liability in respect of
such communications. _______________________________________________
Veritas-bu maillist  -  Veritas-bu AT mailman.eng.auburn DOT edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu

ForwardSourceID:NT00092196

_______________________________________________
Veritas-bu maillist  -  Veritas-bu AT mailman.eng.auburn DOT edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu