watch-vox script - a vox monitor
FYI - just a bit of fun... for anyone else who wants to keep an eye on Vox. To run it : 1) save the script somewhere as : watch-vox.sh 2) start a Terminal or PuTTY or ssh session 3) cd to the folder where you saved the script 4) then run it using: ./watch-vox.sh . Here's the script : #!/bin/bash #...for Solaris, change the above to: #!/usr/bin/bash #...but, on my test x86 Solaris 10.13 and Solaris 11.3 systems, I didn't need to. ############################################################################################################# # File: watch-vox.sh # Purpose: Script to watch VOX forum(s) for updates. # # Vers Date Who Description # ---- ---- --- ----------- # v0.01 12-Jan-2017 sdo Initial draft. # v0.02 12-Jan-2017 sdo Only log when something has changed. # v0.03 12-Jan-2017 sdo Log every 100 iterations. # v0.04 13-Jan-2017 sdo Append the diff to the log. Diff -y and suppress. # v0.05 13-Jan-2017 sdo Place all temporary working files in script path. # v0.06 14-Jan-2017 sdo Check status of curl web page fetch. # v0.07 15-Jan-2017 sdo Only move file if curl web page fetch is successful. # v0.08 21-Jan-2017 sdo Test status of initial search to handle successful page fetch which is empty. # v0.09 21-Jan-2017 sdo More capture of stderr to the log file. # v0.10 21-Jan-2017 sdo Store the data files in a sub-folder. # v0.11 21-Jan-2017 sdo Test size of page/file retrieved by curl. # v0.12 22-Jan-2017 sdo Also able to monitor the Article and Downloads by searching for match3. ############################################################################################################# SCRIPT_VERSION="v0.12" ############################################################################################################# # On a Mac, the following command could be used to extend the dwell time of popups... # defaults write com.apple.notificationcenterui bannerTime 5 ############################################################################################################# DEBUG=false MACOS=false LINUX=false SOLARIS=false if [ "$(uname -s)" = "Darwin" ] ; then MACOS=true ; fi if [ "$(uname -s)" = "Linux" ] ; then LINUX=true ; fi if [ "$(uname -s)" = "SunOS" ] ; then SOLARIS=true ; fi ############################################################################################################# ############################################################################################################# ### ...SCRIPT FUNCTIONS... function abort { log "script aborting..." if [ -z "$STS" ] ; then STS=-1; fi if [ $STS -eq 0 ] ; then STS=-1; fi exit $STS } function log { LOGDT=$(date "+%d/%m/%Y %H:%M:%S") echo "$LOGDT $1" echo "$LOGDT $1">>"$FILELOG" } ################################################################################# ################################################################################# ### ...SCRIPT JACKET... if [ "$MACOS" = "true" ] then pushd $(dirname "$0") >/dev/null SCRIPT_PATH=$(pwd -P) popd >/dev/null fi if [ "$LINUX" = "true" ] then SCRIPT_PATH=$(dirname "$0") SCRIPT_PATH=$(readlink -f "$SCRIPT_PATH") fi if [ "$SOLARIS" = "true" ] then pushd $(dirname "$0") >/dev/null SCRIPT_PATH=$(pwd -P) popd >/dev/null fi SCRIPT_DATA="$SCRIPT_PATH/DATA" SCRIPT_NAME=$(basename "$0") SCRIPT_NAME=${SCRIPT_NAME%%.*} FILEDIF="$SCRIPT_PATH/$SCRIPT_NAME.dif" FILELOG="$SCRIPT_PATH/$SCRIPT_NAME.log" FILETMP="$SCRIPT_PATH/$SCRIPT_NAME.tmp" FILETXT="$SCRIPT_PATH/$SCRIPT_NAME.txt" if [ -f "$FILEDIF" ] ; then rm "$FILEDIF" ; fi if [ -f "$FILELOG" ] ; then rm "$FILELOG" ; fi if [ -f "$FILETMP" ] ; then rm "$FILETMP" ; fi if [ -f "$FILETXT" ] ; then rm "$FILETXT" ; fi ((STEP=0)) ################################################################################# ################################################################################# ### ...START LOGGING... ((STEP++)) log "" log "" log "Step $STEP - show script details..." log "...script name: $SCRIPT_NAME" log "...script path: $SCRIPT_PATH" log "...script data: $SCRIPT_DATA" log "...script log: $FILELOG" log "...script version: $SCRIPT_VERSION" log "...done..." ################################################################################# ################################################################################# ### ...SCRIPT DETAILS... ((STEP++)) log "" log "Step $STEP - show server details..." log "...OS kernel: $(uname -r)" log ".. OS date: $(uname -v)" log "...OS platform: $(uname -m -p)" if [ "$RELEASE" != "" ] then log "...OS release: $(cat $RELEASE)" fi log "...hostname: $HOSTNAME" log "...process ID: $$" log "...num params: $#" log "...username: $USER" log "...current path: $PWD" log "...done..." ################################################################################# ################################################################################# ### ...INITIALISATION... ((STEP++)) log "" log "Step $STEP - initialisation..." if [ ! -d "$SCRIPT_DATA" ] ; then log "...creating data folder..." mkdir -pv "$SCRIPT_DATA" >>"$FILELOG" 2>&1 STS=$? if [ $STS != 0 ]; then log "...mkdir failed, status: $STS" abort fi log "...folder created ok..." fi log "...the URLs to monitor are:" URLS[1]="https://vox.veritas.com/t5/NetBackup/bd-p/netbackup" URLS[2]="https://vox.veritas.com/t5/NetBackup-Appliance/bd-p/netbackup-appliance" URLS[3]="https://vox.veritas.com/t5/OpsCenter/bd-p/opscenter" URLS[4]="https://vox.veritas.com/t5/Articles/tkb-p/Articles-Backup-and-Recovery" URLS[5]="https://vox.veritas.com/t5/Downloads/tkb-p/Downloads-Backup-and-Recovery" for (( CNT = 1 ; CNT <= ${#URLS[@]} ; CNT++ )) do URL=${URLS[$CNT]} log "...num: $CNT URL: $URL" touch "$SCRIPT_DATA/old$CNT.txt" touch "$SCRIPT_DATA/new$CNT.txt" done log "...done..." ################################################################################# ################################################################################# ### ...MAIN BODY... ((STEP++)) log "" log "Step $STEP - begin monitoring..." LOOP=0 for (( ; ; )) ; do ((LOOP++)) if (( $LOOP % 100 == 0 )) ; then log "...loop: $LOOP" ; fi for (( CNT = 1 ; CNT <= ${#URLS[@]} ; CNT++ )) do URL=${URLS[$CNT]} curl $URL -L --compressed -s >"$FILETXT" 2>>"$FILELOG" STS=$? if [ $STS != 0 ] ; then log "...curl failed, status: $STS" sleep 3 else SIZE=$(POSIXLY_CORRECT=1 du -k -- "$FILETXT" | awk '{print $1; exit}') if [ "$SIZE" -lt "100" ] ; then log "...ignoring $CNT, file size too small: $SIZE KB" sleep 3 else MATCH1="page-link lia-link-navigation lia-custom-event" MATCH2="lia-link-navigation lia-page-link lia-user-name-link" MATCH3="pge-link" egrep "$MATCH1|$MATCH2|$MATCH3" "$FILETXT" >"$FILETMP" 2>>"$FILELOG" STS=$? if [ $STS != 0 ]; then log "...egrep failed, status: $STS" sleep 3 else sed -e 's/^[[:space:]]*//' -i .bak "$FILETMP" sed -e "s/$MATCH1//" -i .bak "$FILETMP" sed -e "s/$MATCH2//" -i .bak "$FILETMP" sed -e "s/$MATCH3//" -i .bak "$FILETMP" sed -e 's/a class=""//' -i .bak "$FILETMP" sed -e 's/ id="link_[^"]*" / /' -i .bak "$FILETMP" sed -e 's/ target="_self" / /' -i .bak "$FILETMP" sed -e 's/ style="color:[^"]*" / /' -i .bak "$FILETMP" sed -e 's/ href="\/t5\/user\/[^"]*">/ /' -i .bak "$FILETMP" sed -e 's/\<span class="[^"]*">//' -i .bak "$FILETMP" sed -e 's/\<\/span>\<\/a>//' -i .bak "$FILETMP" sed -e 's/\href="//' -i .bak "$FILETMP" sed -e 's/">//' -i .bak "$FILETMP" sed -e 's/^\< //' -i .bak "$FILETMP" mv "$SCRIPT_DATA/new$CNT.txt" "$SCRIPT_DATA/old$CNT.txt" 2>>"$FILELOG" STS=$? if [ $STS != 0 ] ; then log "...rename failed, status: $STS" abort fi cat "$FILETMP" | tail -r | tail -n +6 | tail -r >"$SCRIPT_DATA/new$CNT.txt" STS=$? if [ $STS != 0 ] ; then log "...cat and tail failed, status: $STS" abort fi diff -y --suppress-common-lines "$SCRIPT_DATA/new$CNT.txt" "$SCRIPT_DATA/old$CNT.txt" >"$FILEDIF" 2>>"$FILELOG" STS=$? if [ $STS = 1 ] ; then echo -n -e "\a\a\a" log "...updated: $URL" cat "$FILEDIF" >>"$FILELOG" if [ "$MACOS" = "true" ] ; then osascript -e "display notification \"$URL\" with title \"updated\"" fi else if [ $STS != 0 ] ; then log "...diff failed, status: $STS" abort fi fi fi fi fi done sleep 300 done ################################################################################# ################################################################################# exit1.3KViews3likes0CommentsNetbackup service auto start on OS X 10.10.x
Hello, I have installed NetBackup 7.6.1 agent (with 7.6.1.1 update) in several OS X 10.10.x systems and it seems to work, except for one problem. It does not start automaticaly after a client reboot. I searched for a solution for this problem and found this post from 15/April/2015 (https://www-secure.symantec.com/connect/forums/netbackup-service-auto-start-os-x-1010). I am running NetBackup 7.6.1.1 and I can install the client on a Mac OS X 10.10.3 and 10.10.4. After the client installation I am able to run a backup. As soon as the client reboots, the NetBackup agent does not start automaticaly. If I go to "/Library/StartupItems/netbackup/" and run "./netbackup start" on a terminal window with root privileges, then the agent start and I can perform backups again. Also works with a "sudo /usr/openv/netbackup/bin/bp.start_all". How can I define the NetBackup agents to run automaticaly os OS X 10.10.x ?? I have already checked the folders and files: Macintosh OSX /Library/StartupItems/netbackup/Resources/netbackup /Library/StartupItems/netbackup/StartupParameters.plist /Library/StartupItems/netbackup/netbackup How can I know that the "StartupParameters.plist" is correct? Thanks in advance José RoqueSolved3.4KViews3likes19CommentsEV client 11.0.1 (1022) is giving error in Outlook 2011
Hi, Once user is facing an issue with his Outlook 2011 in MAC OS X Yosemite,. The user is using only one mail profile and he didnt configured "mail" application for emails. The error is showing as Microsoft Entourage is not running. Check Enterprise Vault system preferences pane for configured email client. Selected outlook the default application for email also. please helpSolved747Views3likes1CommentFailed to install NetBackup Client v7.6.1 on MacOSX 10.11 El Capitan
Has anyone found a way around this? xxxx-mbpro:NetBackup_7.6.1_CLIENTS1 root# ./install Symantec Installation Script Copyright 1993 - 2014 Symantec Corporation, All Rights Reserved. Installing NetBackup Client Software Please review the SYMANTEC SOFTWARE LICENSE AGREEMENT located on the installation media before proceeding. The agreement includes details on the NetBackup Product Improvement Program. For NetBackup installation and upgrade information specific to your platform and to find out if your installed EEBs or hot fixes are contained in this release, check out the Symantec Operations Readiness Tools (SORT) Installation and Upgrade Checklist and Hot fix and EEB Release Auditor, respectively, at https://sort.symantec.com/netbackup. Do you wish to continue? [y,n] (y) y Checking for required system conditions... Checking for recommended system conditions... ok nb_761_hotfix_auditor: No potential for regression of hotfixes or EEBs was detected. Do you want to install the NetBackup client software for this client? [y,n] (y) y This package will install MACINTOSH/MacOSX10.6 client. This package will install NetBackup client 7.6.1. Enter the name of the NetBackup master server : yyyy Would you like to use "xxxx-mbpro.local" as the configured name of the NetBackup client? [y,n] (y) n Enter the name of this NetBackup client : xxxx-mbpro Client binaries are located in /Users/xxxx/Temp/a/NetBackup_7.6.1_CLIENTS1/NBClients/anb/Clients/usr/openv/netbackup/client/MACINTOSH/MacOSX10.6. Saving client binaries for MACINTOSH/MacOSX10.6. mkdir: /usr/openv: Operation not permitted chmod: /usr/openv: No such file or directory chgrp: /usr/openv: No such file or directory mkdir: /usr/openv: No such file or directory chmod: /usr/openv/pack: No such file or directory chgrp: /usr/openv/pack: No such file or directory mkdir: /usr/openv/pack: No such file or directory chmod: /usr/openv/pack/NB_CLT_7.6.1: No such file or directory chgrp: /usr/openv/pack/NB_CLT_7.6.1: No such file or directory mkdir: /usr/openv/pack/NB_CLT_7.6.1: No such file or directory chmod: /usr/openv/pack/NB_CLT_7.6.1/save: No such file or directory chgrp: /usr/openv/pack/NB_CLT_7.6.1/save: No such file or directory tar: Failed to open '/usr/openv/pack/NB_CLT_7.6.1/save/NB_CLT_7.6.1.102015_203229.tar' ERROR: tar failed. Aborting... ERROR: Saving client binaries for MACINTOSH/MacOSX10.6 failed. Aborting ... ERROR: A failure was detected running /Users/xxxx/Temp/a/NetBackup_7.6.1_CLIENTS1/NBClients/anb/Clients/usr/op env/netbackup/client/MACINTOSH/MacOSX10.6/cp_to_client yyyy xxxx-mbpro /tmp/in stall_trace.15795 File /tmp/install_trace.15795 contains a trace of this install. That file can be deleted after you are sure the install was successful.Solved3.5KViews2likes8CommentsEV Client 12.0.0.1037 with Mac OSX Yosemite
We have EV Client plugin installed with Outlook for Mac 2016 on Mac OSX Yosemite 10.10.5. Software versions: EV Client: 12.0.0.1037 Outlook for Mac 2016: 15.17 (151206) Plugin installed succesfully. However when I scroll to an archive emails and click Restore, it returns a message of "The operation could not be completed at this time". When I click View it logs out with a message "Login failure: Unknown user or bad password", then prompts for credentials. Once credentials are supplied and click View, it's the same over and over again. When I click Reply, the error message is "No message is selected for the operation". This was working before our Exchange Server and client was upgraded. Are there things I can do to test/debug this?660Views2likes2CommentsNetbackup service auto start on OS X 10.10
Hello, Backups to a new OS X 10.10 (Yosemite)have failed with error 58 "Can't connect to client". I verifiedthe system was up and that I could login viaa localaccount. The Netbackup services were not running, so I did a "sudo /usr/openv/netbackup/bin/bp.start_all" to start them and ran a manual differential backup. How do I set the services to auto start instead of manually having to start them? We are running client version 7.6.1. Thanks in advance.Solved913Views2likes1Commentnotes cant manually archive mail on Mac
EV 10.0.4.1189 R1 EVDG 8.5.3FP5 Domino 8.5.3FP5 Mac OSX 10.8.5 Notes 8.5.3FP5 windows environment notes can manually archive and restore mac environment notes cant manually archive,but can manually restore enable client logging on Mac CN=Admin/OU=xxxx/O=xxxx EVInitializeDB Notes Version=[Release 8.5.3FP5|July 31, 2013] Current Database=[mail\admin.nsf] Current Database Template=[EVR85Mail] DB's Notes URL=[notes://xxxx@xxxx/__482577540006B457.nsf?OpenDatabase] DB's HTTP URL=[] CN=Admin/OU=xxxx/O=xxxx ExecuteOperation Operation=[Archive to EV] # documents selected for processing=[1] CN=Admin/OU=xxxx/O=xxxx ExecuteOperation List of selected documents [NoteID, UniversalID]: [26886, 6289DE4CFD5EF80D48257CCF005D6C9F]; CN=Admin/OU=xxxx/O=xxxx EVSETNOTEPROPERTY Line:23Error in loading DLLSolved1.6KViews2likes6CommentsMajor Data loss situations - OSX Mavericks + WD drive software + external Hard drives
Please be aware that there are serious data loss issues ongoing with Mac OSX Maverics and Western Digital drive sofware. Both the Apple support and WD forums have mutiple customer reports of total external drive data loss. The data loss is not limited to systems activly using the WD software and drives, other vendor external hard drives are being lost. Personally I just lost 1TB of Time machine backups on a Iomega external drive. I did have a WD myBook for a while about 2 years ago but was not aware the WD drive software was still active on this machine. Current advice from Western Digital is to uninstall the WD drive software before going to Mavericks. Uninstaller is here ..... http://support.wdc.com/product/download.asp?groupid=126&sid=214&lang=en This situation as already caused a lot of digital pain, loss of data and as a techincal person makes me sad in so many ways. Clive467Views2likes0CommentsEV 10 sp3 and Mac OSX 10.9
hi i know OSX 10.9 is yet compatible with enterprise vault but has anyone tried to see if the EV helper for mac OSX works on 10.9? i have just purchased some new mac laptops and they will come with 10.9 and i was hoping not having to downgrade them to 10.8.5 many thanksSolved2.6KViews2likes19Comments