Contents Previous Next

Monitoração de Data Protector (Windows)

Para monitorar os eventos gerados pelo Data Protector usando a ferramenta de notificação dele, editar o arquivo $DATAPROTECTOR/config/server/Notifications, adicionando as linhas abaixo de acordo com a necessidade :

NOTIFICATION "MT_MON_MountRequest"
{
	-event "MountRequest"
	-external "C:\Multitask\mtmon\bin\DataProtector.bat 2 MountRequest"
	-parameter LEVEL "Warning"
	-parameter DEVICE "*"
}

NOTIFICATION "MT_MON_BackupError"
{
	-event "BackupError"
	-external "C:\Multitask\mtmon\bin\DataProtector.bat 2 BackupError"
	-parameter LEVEL "Major"
	-parameter SINGLEMSGLEVEL "Major"
	-parameter SESSIONTYPE "Backup"
}

NOTIFICATION "MT_MON_IDBCorrupted"
{
	-event "DbCorrupted"
	-external "C:\Multitask\mtmon\bin\DataProtector.bat 2 IDBCorrupted"
	-parameter LEVEL "Critical"
}

NOTIFICATION "MT_MON_IDBSpaceLow"
{
	-event "DbSpaceLow"
	-external "C:\Multitask\mtmon\bin\DataProtector.bat 1 IDBSpaceLow"
	-parameter LEVEL "Major"
	-parameter VSLIMIT "250"
	-parameter VDSLIMIT "50"
	-parameter DCBFSLIMIT "250"
}

NOTIFICATION "MT_MON_IDBTableSpaceLow"
{
	-event "DbTablespaceLow"
	-external "C:\Multitask\mtmon\bin\DataProtector.bat 1 IDBTableSpaceLow"
	-parameter LEVEL "Major"
	-parameter TBLSPACETHRESHOLD "85"
}

NOTIFICATION "MT_MON_NotEnoughFreeMedia"
{
	-event "NotEnoughFreeMedia"
	-external "C:\Multitask\mtmon\bin\DataProtector.bat 1 NotEnoughFreeMedia"
	-parameter LEVEL "Warning"
	-parameter POOL "*"
	-parameter NUMFREEMEDIA "1"
}

NOTIFICATION "MT_MON_UnexpectedEvents"
{
	-event "UnexpectedEvents"
	-external "C:\Multitask\mtmon\bin\DataProtector.bat 1 UnexpectedEvents"
	-parameter LEVEL "Warning"
	-parameter NUMEVENT "*"
}

NOTIFICATION "MT_MON_EndOfSession"
{
	-event "EndOfSession"
	-external "C:\Multitask\mtmon\bin\DataProtector.bat 1 EndOfSession"
	-parameter LEVEL "Warning"
	-parameter DATALIST "*"
	-parameter SESSSTAT "CompletedErrors"
	-parameter SESSIONTYPE "Backup"
}

NOTIFICATION "MT_MON_DeviceError"
{
	-event "DeviceError"
	-external "C:\Multitask\mtmon\bin\DataProtector.bat 2 DeviceError"
	-parameter LEVEL "Critical"
	-parameter DEVICE "*"
}

NOTIFICATION "MT_MON_MailSlotFull"
{
	-event "MailSlotsFull"
	-external "C:\Multitask\mtmon\bin\DataProtector.bat 1 MailSlotFull"
	-parameter LEVEL "Warning"
	-parameter DEVICE "*"
}

NOTIFICATION "MT_MON_Controle"
{
         -event "EndOfSession"
         -external "C:\Multitask\mtmon\bin\DataProtector.bat 0 Controle"
         -parameter LEVEL "Normal"
         -parameter DATALIST "*"
         -parameter SESSSTAT "*"
         -parameter SESSIONTYPE "Backup"
}

Contents Previous Next