top of page

xHive Monitoring : Docbase Documentum

xHive Monitoring

Architectural overview

xPlore is an XML repository/publishing solution for content management. It simply enhances publishing, searches and various query management. With its robust capability, it easily integrates with other content management systems i.e WebTop and DCM DFC clients. Explore reinforces individual configuration for each data source through its administrator. Meaning in Documentum, we create each domain for each index repository and manage indexing through indexing APIs. For success indexing, each index agent must have its own XML indicative of each document. “The document is assigned to a category, and each category corresponds to one or more collections as defined in xPlore”

Xhive Logs Monitoring: Bash Scripting

######################################################################## #!/bin/bash ###################################### #---------------------------------------------------------------------- # script : XHIVE logs monitoring

# author: Fredrick Were # date : July, 19, 2018 ######################################################################## #--------------------------------------------------------------------------- MAILTO="meme@gmail.com " APPNAME="`ls /app/documentum/xPlore/setup/indexagent/tools/ | grep -i "aclreplication" | head -1 | cut -c20- | rev | cut -c 4- | rev`" #############################################################

set -x xhivelogs() { echo "Xhive Monitoring Alert***" > monitor_message echo "MAJOR ALERT****WARNING!! WARNING !!:: RESTART DA INDEX AGENT ASAP ****" >>monitor_message

SUMMARY=" ############################################################################## ================================================================ [INFO:] : ~~~Script :Dsearch & Index Monitoring Alert~~~~ [INFO:] : ~~~~~Server Name :~~~~~ `uname -n` [INFO:] : ~~~~Search & Index got auto RESTARTED~~~~ [************************************************ [WARNING]: ~~~~RESTART DA INDEX AGENT NOW !!************** [********************************************************* [INFO:]: ~~Service Condition: [ Healthy]~~~~~~~~~~ ~Monitoring Clossed Successfully~~~ ================================================================= ###############################################################################

"

OUT="`ls -l /app/documentum/xPlore/config/log/|awk '{print $9}' | wc -l`" echo "$OUT" && \ if [ $OUT -ge 12 ]; then echo "ERRROR RESTART Dsearch & Index NOW "; cd /app/documentum/fwerescripts/; ./dsearch_index_start_stop.sh stop ; sleep 5 && \ echo "Restarting back the services" cd /app/documentum/fwerescripts/monitoring; ./closeloop_automation_search.sh; sleep 2; echo "Done & Good!" MESSAGE=" prod INDEX Server `uname -n`: got Autorestarted" MESSAGE2="RESTART DA Index agent NOW: MAJOR ALERT " echo "$MESSAGE" >> monitor_message echo "$MESSAGE2" >> monitor_message mail -s " Major Alert :: $APPNAME: $HOSTNAME: Prod Index Server: Resatrt DA Index Agent Now " $MAILTO < monitor_message sleep 2; rm -f monitor_message echo "Quiting ******************" else echo "Xhive Logs are Fine: $OUT"; echo "$SUMMARY" >> monitor_message #mail -s " Major Alert :: $APPNAME: $HOSTNAME: Prod Content Server: Resatrt DA Index Agent Now " $MAILTO_ME < monitor_message echo "Quiting ******************" fi

}

########################## # main script ###################### xhivelogs

bottom of page