Import File Specification

From WebWatchBotWiki
Jump to: navigation, search
 Share 

Description

Specification for Import and Export ini configuration file.

Admin Notes

  • For a template, create a new Watch Item, export the Watch Item (File -> Import/Export -> Export), and then edit the file generated.
  • If creating the file from scratch, it must be saved as a plain text file, but may have either an .ini or .txt file extension.

Ini File Sections and Examples

Version Information

[Version]
Major=5
Minor=1

Watch Item

[1965576433]
m_sNotifyDown=
m_sNotifyWarn=
m_sWatchURL=http://www.yahoo.com
m_uInterval=5
m_ulPingResponseMax=5000
m_sDisplayName=http://www.yahoo.com
m_sPageSearchText=
m_nThresholdDown=5
m_nThresholdWarn=1
m_uIntervalUOM=2
m_bVisualWarn=0
m_bVisualDown=0
m_sVisualWarn=
m_sVisualDown=
m_bWatchActive=1
m_bNotifyDownActive=0
m_bNotifyWarnActive=0
m_bNotifySendPage=0
m_bNotifySendReport=0
m_uThresholdWarnType=0
m_uThresholdDownType=0
m_bAlarmUseAdvancedTrigger=0
m_bAlarmUseAdvancedReset=0
m_uWatchType=1
m_bPageSearchCaseSensitive=0
m_bPageSaveFailures=0
m_bPageSaveSuccesses=0
m_sDefaultReportName=
m_bWarnExecuteActive=0
m_bWarnUrlLoadActive=0
m_sWarnProgramToExecute=
m_sWarnUrlLoad=
m_bDownExecuteActive=0
m_bDownUrlLoadActive=0
m_sDownProgramToExecute=
m_sDownUrlLoad=
m_bWarnSoundContinuous=0
m_bWarnSoundActive=0
m_sWarnSoundFilename=
m_bDownSoundContinuous=0
m_bDownSoundActive=0
m_sDownSoundFilename=
m_bNotifyWarnSms=0
m_bNotifyWarnDateInSubj=0
m_bNotifyDownSms=0
m_bNotifyDownDateInSubj=0
m_bIsATransaction=0
m_bTransactionExclusive=0
m_dwTransactionId=0
m_dwWatchGroupId=0
m_bIsAWatchGroup=0
m_bRepeatAlarmAction=0
m_nEchoCount=3
m_bAllFail=0
m_sFileToUpload=
m_sFileToUploadRemote=
m_sFileToDownload=
m_sFileToDownloadRemote=
m_bUploadThenDownload=0
m_bHeaderOnly=0
m_sHeaderSearchText=
m_sFullSearchText=
m_bTestMode=1
m_sBody=Test: WebWatchBot Monitoring. OK to delete.
m_sFromAddress=
m_sSubject=Test: WebWatchBot Monitoring
m_sToAddress=
m_bFoundFailure=0
m_bPageAndImages=0
m_nRequestType=1
m_sPostData=
m_sCookies=
m_sHeaders=
m_bPageRemoveJavascript=0
m_bFailureResponseMaxActive=0
m_bFailureHttpConnection=1
m_bFailureHttpCustomActive=0
m_bFailureSearchActive=1
m_bFailureHttpStatusActive=1
m_sFailureHttpCustom=
m_sFailureHttpStatusCodes=305,400,401,403,404,405,407,408,500,501,502,503,504
m_bIgnoreCertDateInvalid=1
m_bIgnoreUnknownCA=1
m_bIgnoreCertCNInvalid=1
m_sDnsServer=
m_sSearchResult=
m_sDBConnectionString=
m_sDBQuery=
m_sDBSearchQuery=
m_sFilePathname=
m_dwFileSize=0
m_nFileSizeUOM=1
m_nFileSizeOperand=2
m_nFileDateTypeOperand=1
m_oFileDateTime=1/1/1990
m_nFileDateTimeOperand=2
m_sFileContentSearchText=
m_bFileFoundFailure=0
m_bFileSearchCaseSensitive=0
m_bFileContentCheckActive=0
m_dwFileContentCheck=0
m_sDriveLetter=
m_nDriveAvailableUOM=2
m_nDriveFreeUOM=2
m_nDriveTotalUOM=2
m_nDriveAvailableOperand=2
m_nDriveFreeOperand=2
m_nDriveTotalOperand=2
m_dwDriveAvailable=0
m_dwDriveFree=0
m_dwDriveTotal=0
m_sPerfComputer=
m_sPerfCounterName=
m_dPerfScale=1.0000000
m_nPerfScaleDecimals=0
m_dPerfCheckValue=-1.0000000
m_nPerfCheckOperand=2
m_nSnmpVersion=1
m_sSnmpAgent=127.0.0.1
m_sSnmpOID=1.3.6.1.2.1.1.1.0
m_sSnmpUser=
m_sSnmpPassword=
m_nSnmpAuthType=1
m_nSnmpDataType=0
m_bSnmpCheckActive=0
m_nSnmpCheckOperand=0
m_sSnmpCheckValue=
m_SnmpCommunity=public
m_sProcName=
m_sProcComputer=
m_nProcCpuUsage=-1
m_nProcCpuUsageOperand=2
m_nProcMemoryOperand=2
m_nProcMemoryUOM=1
m_dwProcMemoryValue=0
m_bProcRunning=1
m_nProcThreadCount=0
m_nProcThreadCountOperand=2
m_bEventLogSearchCaseSensitive=0
m_bEventLogSearchFoundFailure=0
m_nEventLogFailCountOperand=2
m_nEventLog=0
m_nEventLogType=0
m_dwEventLogFailCount=0
m_sEventLogMachineName=
m_sEventLogPassword=
m_sEventLogSearchText=
m_sEventLogSource=
m_sEventLogUsername=
m_sEventLogCustomName=
m_bCustomAnyFailure=1
m_bCustomAnySuccess=0
m_bCustomCheckActive=1
m_bCustomSearchCaseSensitive=0
m_bCustomSearchFoundFailure=0
m_sCustomCommand=
m_sCustomRCFailure=
m_sCustomRCSuccess=0
m_sCustomSearchText=
m_nTracertHopLimit=1
m_nTracertHopTimeout=1
m_nPort=80
m_sPassword=
m_sUsername=
m_bTraceRouteOnFailure=0
m_bSearchRegEx=0
ExportingReports=1
m_bAlarmTriggerOff=1
m_bAlarmTriggerOn=1
m_nAlarmAmtReset=1
m_nAlarmAmtTrigger=1
m_uIsRunning=0
m_bInactive=0

Alarm (Trigger)

[WatchAlarm: 24]
m_uInterval=5
m_uIntervalUOM=2
m_nAlarmAmt=1
m_uType=1
m_bAlertEmailActive=1
m_sAlertEmailAddresses=
m_bAlertEmailSendPage=1
m_bAlertEmailSendReport=0
m_sAlertEmailReportToSend=
m_bAlertEmailSms=0
m_sAlertEmailMessageText=
m_sAlertEmailSubject=2#9ABA4MD%PdC@e1B@eP*6iJ3@aKFQdk)$`P3@aKFQe$EfjNDA4TEfiP2J
m_bAlertVisualActive=0
m_sAlertVisualText=
m_bAlarmSoundContinuous=0
m_bAlarmSoundActive=0
m_sAlarmSoundFilename=
m_bAlarmExecuteActive=0
m_bAlarmUrlLoadActive=0
m_sAlarmProgramToExecute=
m_sAlarmUrlLoad=
m_bAlarmExecuteForeground=0
m_bAlarmUrlLoadForeground=0

Alarm (Reset)

[WatchAlarm: 23]
m_uInterval=1
m_uIntervalUOM=2
m_nAlarmAmt=1
m_uType=0
m_bAlertEmailActive=1
m_sAlertEmailAddresses=
m_bAlertEmailSendPage=1
m_bAlertEmailSendReport=0
m_sAlertEmailReportToSend=
m_bAlertEmailSms=0
m_sAlertEmailMessageText=
m_sAlertEmailSubject=2#9ABA4MD%PdC@e1B@eP*6iJ3@aKFQdk)$`P3@aKFQe$EfjNDA4TEfiP2J
m_bAlertVisualActive=0
m_sAlertVisualText=
m_bAlarmSoundContinuous=0
m_bAlarmSoundActive=0
m_sAlarmSoundFilename=
m_bAlarmExecuteActive=0
m_bAlarmUrlLoadActive=0
m_sAlarmProgramToExecute=
m_sAlarmUrlLoad=
m_bAlarmExecuteForeground=0
m_bAlarmUrlLoadForeground=0