SQWareProduction:mysql:lib:sqwmys GatherIndicators.lib: Difference between revisions
Jump to navigation
Jump to search
m Updated by BatchUser |
No edit summary |
||
| (3 intermediate revisions by the same user not shown) | |||
| Line 6: | Line 6: | ||
gfsqw_BeginningCom | gfsqw_BeginningCom | ||
gfsqw_GatherHostInfos | gfsqw_GatherHostInfos | ||
gfsqw_GatherPathInfos | |||
gfsqw_InitPurges | |||
gfsqw_InsertChanges | gfsqw_InsertChanges | ||
gfsqw_InsertIndicators "Alert" | gfsqw_InsertIndicators "Alert" | ||
| Line 11: | Line 13: | ||
gfsqw_InsertIndicators "Licenses" | gfsqw_InsertIndicators "Licenses" | ||
gfsqw_InsertIndicators "Parameters" | gfsqw_InsertIndicators "Parameters" | ||
gfsqw_InsertIndicators "Repli" | |||
gfsqw_PurgeLogDirAndFiles | |||
lfsqw_Archiving | lfsqw_Archiving | ||
lfsqw_ArchivingDb => | lfsqw_ArchivingDb => | ||
| Line 19: | Line 23: | ||
lfsqw_GatherDatabase => | lfsqw_GatherDatabase => | ||
lfsqw_GatherDatabaseSql => | lfsqw_GatherDatabaseSql => | ||
lfsqw_GatherDatabaseSql 2>&1 > ${gvsqw_TmpFile} | lfsqw_GatherDatabaseSql 2>&1|sed 's, *$,,g' > ${gvsqw_TmpFile} | ||
lfsqw_GatherFs | lfsqw_GatherFs | ||
lfsqw_GatherFs => | lfsqw_GatherFs => | ||
| Line 25: | Line 29: | ||
lfsqw_GatherParameters | lfsqw_GatherParameters | ||
lfsqw_GatherParameters => | lfsqw_GatherParameters => | ||
lfsqw_GatherRepli | |||
lfsqw_GatherRepli => | |||
lfsqw_GatherRepliMaster => | |||
lfsqw_GatherRepliMaster 2>&1 |tr -d '\r'|grep -v '^mysql: Deprecated program name.'|sed 's,\\,/,g'|sed 's,//,/,g'|sed 's, *$,,g' |tee ${gvsqw_TmpFile} | |||
lfsqw_GatherRepliSlave => | |||
lfsqw_GatherRepliSlave 2>&1 |tr -d '\r'|grep -v '^mysql: Deprecated program name.'|sed 's,\\,/,g'|sed 's,//,/,g'|sed 's, *$,,g' |tee ${gvsqw_TmpFile} | |||
lfsqw_GatherUsers | |||
lfsqw_GatherUsers => | |||
lfsqw_GatherUsersSql => | |||
lfsqw_GatherUsersSql 2>&1|sed 's, *$,,g' > ${gvsqw_TmpFile} | |||
lfsqw_GenerateInsertAlert | lfsqw_GenerateInsertAlert | ||
lfsqw_GenerateInsertLicenses | lfsqw_GenerateInsertLicenses | ||
Latest revision as of 13:46, 21 September 2025
shell functions library $gvsqw_MysBin/../lib/sqwmys_GatherIndicators.lib:
lib for sqwmys_GatherIndicators.ksh
Functions explanation:
gfsqw_BeginningCom
gfsqw_GatherHostInfos
gfsqw_GatherPathInfos
gfsqw_InitPurges
gfsqw_InsertChanges
gfsqw_InsertIndicators "Alert"
gfsqw_InsertIndicators "archivingDb"
gfsqw_InsertIndicators "Licenses"
gfsqw_InsertIndicators "Parameters"
gfsqw_InsertIndicators "Repli"
gfsqw_PurgeLogDirAndFiles
lfsqw_Archiving
lfsqw_ArchivingDb =>
lfsqw_ArchivingParameters
lfsqw_GatherAlertLogFile
lfsqw_GatherAlertLogFile =>
lfsqw_GatherDatabase
lfsqw_GatherDatabase =>
lfsqw_GatherDatabaseSql =>
lfsqw_GatherDatabaseSql 2>&1|sed 's, *$,,g' > ${gvsqw_TmpFile}
lfsqw_GatherFs
lfsqw_GatherFs =>
lfsqw_GatherOverLoaded 2>&1
lfsqw_GatherParameters
lfsqw_GatherParameters =>
lfsqw_GatherRepli
lfsqw_GatherRepli =>
lfsqw_GatherRepliMaster =>
lfsqw_GatherRepliMaster 2>&1 |tr -d '\r'|grep -v '^mysql: Deprecated program name.'|sed 's,\\,/,g'|sed 's,//,/,g'|sed 's, *$,,g' |tee ${gvsqw_TmpFile}
lfsqw_GatherRepliSlave =>
lfsqw_GatherRepliSlave 2>&1 |tr -d '\r'|grep -v '^mysql: Deprecated program name.'|sed 's,\\,/,g'|sed 's,//,/,g'|sed 's, *$,,g' |tee ${gvsqw_TmpFile}
lfsqw_GatherUsers
lfsqw_GatherUsers =>
lfsqw_GatherUsersSql =>
lfsqw_GatherUsersSql 2>&1|sed 's, *$,,g' > ${gvsqw_TmpFile}
lfsqw_GenerateInsertAlert
lfsqw_GenerateInsertLicenses
lfsqw_GenerateInsertLicenses =>
lfsqw_GenerateInsertParameters
lfsqw_GenerateInsertParameters =>
lfsqw_GenerateListFsDbf =>
lfsqw_Main =>
lfsqw_PostArchivingParameters
