主頁 >  其他 > Zabbix template for Microsoft SQL Server總結

Zabbix template for Microsoft SQL Server總結

2020-09-10 03:02:25 其他

 

Zabbix template for Microsoft SQL Server介紹

 

 

這里介紹Zabbix下監控Microsoft SQL Server資料庫非常好用的一個模板,模板名為Zabbix template for Microsoft SQL Server,此模板的下載地址為:

 

 

Zabbix share的地址:

 

https://share.zabbix.com/databases/microsoft-sql-server/template-for-microsoft-sql-server

 

GitHub的地址:

 

https://github.com/MantasTumenas/Zabbix-template-for-Microsoft-SQL-Server

 

 

下面的實驗、測驗均為Zabbix 5.x,其它Zabbix版本沒有經過測驗驗證,另外,建議使用GitHub下Microsoft SQL Server目錄下的模板,感覺這個模板遇到的問題比較少,如果你使用Zabbix share下的模板,問題多到煩死你,除非你有能力Fix掉這些問題,

 

 

 

解壓GitHub下的模板檔案(Zabbix-template-for-Microsoft-SQL-Server-master.zip),你就會發現下面分三個(Zabbix share的只有兩個目錄)目錄,分別如下命名:

 

 

Microsoft SQL Server                        #分支版本,這里部署的是這個模板,
Without SQL instance discovery              #適用于單實體SQL Server監控
With SQL instance discovery                 #適用于多實體SQL Server監控

 

Zabbix share下模板(Zabbix Template for Microsoft SQL Server.zip)的目錄:

 

Without SQL instance discovery      #適用于單實體SQL Server監控
With SQL instance discovery         #適用于多實體SQL Server監控

 

Microsoft SQL Server下還有下面個目錄,具體如下所示:

 

Documentation               #下面是Zabbix template for Microsoft SQL Server的檔案資料,絕對是我見過的Zabbix模板里面最詳細的資料
Scripts                     #下面是Powe12rShell監控腳本
Template                    #下面是Template模板
User parameters             #下面有一個檔案userparams.conf,里面定義了User parameters引數的一些樣例
Zabbix Value Mapping        #下面有SQL Agent Job status.xml和SQL Database status.xml這兩個檔案,里面定義了一些映射值,

 

 

 

這個模板包含這些功能和特征,如下所示:

 

 

Features

? MS SQL performance counters.

? MS SQL instance Low Level Discovery.

? MS SQL database Low Level Discovery.

? MS SQL agent job Low Level Discovery.

? MS SQL database backup monitoring.

? MS SQL database mirroring monitoring.

? MS SQL Always On monitoring.

? MS SQL Log Shipping monitoring.

 

 

支持的版本,詳細資訊請見下面介紹:

 

Supported versions

 

Tested on Microsoft SQL Server 2012, 2014 and 2016. It may work with earlier versions, but some items (with missing performance counters) may be unsupported. For the extensive overview on the performance counters difference between MS SQL 2008 and MS SQL 2012 you can read here (https://blog.dbi-services.com/sql-server-2012-new-perfmon-counters/).

Tested on Zabbix 3.4.0. It may work with earlier versions, but some items (for example service.info[service,<param>]) may be unsupported. The template was started on Zabbix 2.4.0 but after each new Zabbix version, objects were modified or new things were added.

 

 

注意:這里測驗的環境為Zabbix 5.x, 所以這個模板也是支持Zabbix 5.x的,請知曉

 

 

 

部署程序

 

 

Without SQL instance discovery模板部署

 

 

官方檔案的部署步驟:

 

 

1. Import templates via Configuration >> Templates:

? “Template Microsoft SQL Server DE Tier 3.xml”

? “Template Microsoft SQL Server DE Tier 2.xml”

? “Template Microsoft SQL Server DE Tier 1.xml”

? “Template Microsoft SQL Server SA Tier 3.xml”

2. Import value mappings via Administration >> General >> Value mapping:

? “SQL Agent Job status.xml”

? “SQL Database status.xml”

3. Copy catalog MSSQL with PowerShell scripts (*.ps1) to a location a Zabbix Agent can access (by default “C:\...\Zabbix\bin\”).

4. Copy 3 *.conf files from catalog “User parameters” to a location a Zabbix Agent can access (by default “C:\...\Zabbix\”).

5. Update “zabbix_agentd.win.conf”:

? add line “Include= C:\Program Files\Zabbix\mssql.agent.userparams.conf”.

? add line “Include= C:\Program Files\Zabbix\mssql.backup.userparams.conf”.

? add line “Include= C:\Program Files\Zabbix\mssql.basic.userparams.conf”.

6. Grant rights for Zabbix Agent service account. It needs read rights on tables:

? msdb.dbo.sysjobhistory

? msdb.dbo.sysjobs

? master.sys.databases

? msdb.dbo.backupset

? msdb.dbo.log_shipping_monitor_secondary.

7. By default, Zabbix Agent service account is NT AUTHORITY\SYSTEM which is already in SQL Server. If you need to monitor mirrored databases or databases in Always On, you will have to give Zabbix Agent’s service account (NT AUTHORITY\SYSTEM by default) sysadmin rights. More about it here.

8. Restart Zabbix Agent.

9. Depending on your SQL server edition and monitoring requirements select and add templates to a host.

10. Modify macros in templates according to your needs. Default values are below:

 

Macros

Macros meaning

Value

Meaning

Trigger

{$SYSDBFTIME1}

Sys db full backup time value 1

25

25 hours

Information

{$SYSDBFTIME2}

Sys db full backup time value 2

50

50 hours

Low

{$SYSDBFTIME3}

Sys db full backup time value 3

75

75 hours

Medium

{$UDBDTIME1}

User db diff backup time value 1

48

2 days

Information

{$UDBDTIME2}

User db diff backup time value 2

72

3 days

Low

{$UDBDTIME3}

User db diff backup time value 3

96

4 days

Medium

{$UDBFTIME1}

User db full backup time value 1

168

7 days

Information

{$UDBFTIME2}

User db full backup time value 2

192

8 days

Low

{$UDBFTIME3}

User db full backup time value 3

216

9 days

Medium

{$UDBLTIME1}

User db log backup time value 1

30

30 minutes

Information

{$UDBLTIME2}

User db log backup time value 2

60

60 minutes

Low

{$UDBLTIME3}

User db log backup time value 3

90

90 minutes

Medium

{$EVENTLOGTIME}

Event log recovery time value

28h

28 hours

Medium

{$DAYS}

Maintenance job time value

7

7 days

None

 

11. “Template Microsoft SQL Server SA Tier 3.xml” lets you discover SQL agent jobs. Discovery rules consist of:

? “SQL Server Agent Discovery” – discover SQL Agent service.

? “SQL Server Agent Jobs P1 Discovery” – discover SQL Agent jobs.

? “SQL Server Agent Jobs P2 Discovery” – discover SQL Agent jobs.

? “SQL Server Agent Jobs P3 Discovery” – discover SQL Agent jobs.

12. Difference between “SQL Server Agent Jobs P1 / P2 / P3 Discovery” are triggers. They can be configured differently. For example:

? “SQL Server Agent Jobs P1 Discovery” – alerts after trigger failed. Good for monitoring jobs, which need immediate attention. Like failed job “CHECKDB”.

? “SQL Server Agent Jobs P2 Discovery” – alerts after trigger failed two times. Good for monitoring jobs, which need attention, but not immediate. For example, job “DB LOG BACKUP” failed 1st time, but it will run again in 30 minutes. If 2nd time it fails again, then alert is raised.

? “SQL Server Agent Jobs P3 Discovery” – alerts after trigger failed but with additional conditions. Good for monitoring jobs, which do not need immediate attention. Like failed job “IndexOptimize”. Alert will be raised only during Monday – Friday, during 08:00 – 16:00. If you want to change day and hour parameters, you can do it directly in triggers.

? In mssql.agent.userparams.conf I placed 2 additional user parameters. In case you need to create your own custom items for monitoring P(riority)4 and P(priority)5 jobs.

13. Every discovery rule “SQL Server Agent Jobs P1 / P2 / P3 Discovery” has its filters there you can enter the job name, you want to associate with a selected rule:

clip_image001

If you leave a filter empty, all agent jobs will be discovered. To avoid that, I entered a simple place holder for every rule – ENTER_JOB_NAME.

 

 

下面結合個人的操作用中文簡單描述一下:

 

 

1:在配置-> "模板下匯入下面四個模板:

 

 

? “Template Microsoft SQL Server DE Tier 3.xml”

? “Template Microsoft SQL Server DE Tier 2.xml”

? “Template Microsoft SQL Server DE Tier 1.xml”

? “Template Microsoft SQL Server SA Tier 3.xml”

 

注意,從Zabbix share上下載的模板,只有下面兩個模板:

 

“Template SQL Server Instance 0 DE.xml”

“Template SQL Server Instance 0 SA.xml”

 

另外,默認情況下,這些模板位于Templates下面,個人喜歡將其分配到Templates/Databases組下面,方便日后的使用和管理! 步驟1只需要做一次就好了,這個是針對Zabbix Server而言,

 

 

clip_image002

 

 

2:在管理Administration->一般(General)-> "值映射"Value mapping)下面匯入值映射

 

? “SQL Agent Job status.xml”

? “SQL Database status.xml”

 

   注意:步驟2也是只需做一次即可,

 

3:將Scirpt目錄下的MSSQL目錄(里面有一些PowerShell腳本)拷貝到Zabbix Agent能訪問的路徑(默認情況下,將其拷貝到“C:\...\Zabbix\bin\”下面),這里將其拷貝到C:\zabbix\bin\win64下面,當然你可以根據實際情況進行調整設定,也可以按照官方檔案設定,

 

 

4:將User parameters目錄下的3個組態檔拷貝到Zabbix Agent能訪問的路徑下(默認情況下為C:\...\Zabbix\),這里我將其拷貝到C:\zabbix\conf目錄下面,

 

由于第三步,我將這些PowerShell腳本放在C:\zabbix\bin\win64\MSSQL,所以,這三個引數檔案(mssql.agent.userparams.confmssql.backup.userparams.confmssql.basic.userparams.conf)很多配置資訊必須修改,這個根據實際情況調整,如下例子所示:

 

 

例子(修改前)

 

# User parameter to get agent name. Tier 3 template.
UserParameter=tier3.agent.mssql.discovery,powershell.exe -NoProfile -ExecutionPolicy Bypass -File "C:\Program Files\zabbix\bin\MSSQL\DiscoveryDatabaseAgent\Discovery.mssql.instanceagentname.ps1"
 
# User parameter to get job name. Priority 5. Tier 3 template.
UserParameter=tier3.jobsp5.mssql.discovery,powershell.exe -NoProfile -ExecutionPolicy Bypass -File "C:\Program Files\zabbix\bin\MSSQL\DiscoveryDatabaseAgent\Discovery.mssql.jobname.ps1"

 

 

例子(修改后)

 

# User parameter to get agent name. Tier 3 template.
UserParameter=tier3.agent.mssql.discovery,powershell.exe -NoProfile -ExecutionPolicy Bypass -File "C:\zabbix\bin\win64\MSSQL\DiscoveryDatabaseAgent\Discovery.mssql.instanceagentname.ps1"
 
# User parameter to get job name. Priority 5. Tier 3 template.
UserParameter=tier3.jobsp5.mssql.discovery,powershell.exe -NoProfile -ExecutionPolicy Bypass -File "C:\zabbix\bin\win64\MSSQL\DiscoveryDatabaseAgent\Discovery.mssql.jobname.ps1"

 

  

 

5:更新zabbix_agentd.conf下的配置

 

 

? add line “Include= C:\Program Files\Zabbix\mssql.agent.userparams.conf”.

? add line “Include= C:\Program Files\Zabbix\mssql.backup.userparams.conf”.

? add line “Include= C:\Program Files\Zabbix\mssql.basic.userparams.conf”.

 

    個人的設定如下,這個肯定根據具體實際情況進行調整,

 

Include=C:\zabbix\conf\mssql.agent.userparams.conf

Include=C:\zabbix\conf\mssql.backup.userparams.conf

Include=C:\zabbix\conf\mssql.basic.userparams.conf

 

 

6:授權給Zabbix Agent服務器賬號權限,它需要下面一些表的查詢查詢

 

? msdb.dbo.sysjobhistory

? msdb.dbo.sysjobs

? master.sys.databases

? msdb.dbo.backupset

? msdb.dbo.log_shipping_monitor_secondary.

 

 

7:默認情況下,Zabbix Agent的服務賬號為NT AUTHORITY\SYSTEM,它是SQL Server下一個已經存在的賬號,如果你需要監控資料鏡像或Always On下面的一些資料庫,你需要授予Zabbix Agent的服務賬號sysadmin角色權限,更多參考相關資料,

 

8:重啟Zabbix Agent服務,

 

9:在Zabbix Server上給相關需要監控的主機添加對應的模板,

 

如下所示,勾選下面四個模板,

 

clip_image003

 

 

此時,你就會在主機的配置里面看到關于SQL Server監控的一些應用集(Applications)選項(截圖只是部分)

 

 

clip_image004

 

Zabbix share的模板配置略有區別,它有詳細的配置檔案,有興趣的可以自己測驗驗證一下,下面是之前測驗整理的簡單步驟,

 

 

1:在配置-> "模板下匯入下面兩個模板:

 

Template SQL Server Instance 0 DE.xml

Template SQL Server Instance 0 SA.xml

 

2:在管理Administration->一般(General)-> "值映射"Value mapping)下面匯入值映射

 

? “SQL Agent Job status.xml”

? “SQL Database status.xml”

 

3:將Discovery.mssql.server.ps1檔案copyZabbix Agent能訪問的地方,個人將其放置在C:\zabbix\bin\win64下面

 

4:編輯Discovery.mssql.server.ps1檔案,在檔案的第14行,找到下面腳本,用服務器名替換“InsertSQLInstanceName”

 

  [Parameter(Mandatory = $false, Position = 2)]$SQLInstanceName="EnterInstanceName"

 

參考博客https://segmentfault.com/a/1190000019203337,也可以修改Discovery.mssql.server.ps1腳本,添加下面一段代碼(紅色部分),以后直接copy這個檔案即可,不用做任何修改,這樣省事方便很多,

 

Param(

 

[Parameter(Mandatory = $true, Position = 0)]  [string]$select,

  [Parameter(Mandatory = $false, Position = 1)][string]$2,

  [Parameter(Mandatory = $false, Position = 2)]$SQLInstanceName="EnterInstanceName"

 

)

 

if ($SQLInstanceName -eq "EnterInstanceName")

{

   $SQLInstanceName = $(hostname.exe)

}

 

 

5:修改zabbix_agentd.conf中的引數UserParameter, 如果你將檔案Discovery.mssql.server.ps1放在C:\Program Files\zabbix\bin下面,那么就可以用userparams.conf中的值,

 

UserParameter=databases.mssql.discovery,powershell.exe -NoProfile -ExecutionPolicy Bypass -File "C:\Program Files\zabbix\bin\Discovery.mssql.server.ps1" JSONDBNAME
UserParameter=jobs.mssql.discovery,powershell.exe -NoProfile -ExecutionPolicy Bypass -File "C:\Program Files\zabbix\bin\Discovery.mssql.server.ps1" JSONJOBNAME
UserParameter=data.mssql.discovery[*],powershell.exe -NoProfile -ExecutionPolicy Bypass -File "C:\Program Files\zabbix\bin\Discovery.mssql.server.ps1" $1 "$2"
 
個人做了一些變跟,因為將檔案Discovery.mssql.server.ps1放在C:\zabbix\bin\win64下面
 
UserParameter=databases.mssql.discovery,powershell.exe -NoProfile -ExecutionPolicy Bypass -File "C:\zabbix\bin\win64\Discovery.mssql.server.ps1" JSONDBNAME
UserParameter=jobs.mssql.discovery,powershell.exe -NoProfile -ExecutionPolicy Bypass -File "C:\zabbix\bin\win64\Discovery.mssql.server.ps1" JSONJOBNAME
UserParameter=data.mssql.discovery[*],powershell.exe -NoProfile -ExecutionPolicy Bypass -File "C:\zabbix\bin\win64\Discovery.mssql.server.ps1" $1 "$2"

 

 

6:給運行Zabbix Agent 服務的賬號授予資料庫的相關權限,它需要訪問msdb.dbo.sysjobhistorymsdb.dbo.sysjobs,默認情況,運行Zabbix Agent 服務的賬號為NT AUTHORITY\SYSTEM已經在資料庫中,

 

 

 

clip_image005

 

當然你可以創建一個賬號,然后在Discovery.mssql.server.ps1中設定,取消$uid$pwd的設定,填上創建的的賬號密碼,

 

 

# Desenvolvido por Diego Cavalcante - 06/12/2017
# Monitoramento Windows SQLServer
# Versco: 1.1.0
# Criaeco = Versco 1.0.0 29/08/2017 (Script Bisico).
# Update  = Versco 1.1.0 02/01/2018 (Obrigado @bernardolankheet, JOBSTATUS Retornava N = 5 Nunca Executado).
# Update  = by Oleg D. and Mantas T. Translated to EN, added SQL Insance name.
 
# Parameters. Change Line 14 $SQLInstanceName="InstanceName" to correct instance name
 
Param(
 
[Parameter(Mandatory = $true, Position = 0)]  [string]$select,
  [Parameter(Mandatory = $false, Position = 1)][string]$2,
  [Parameter(Mandatory = $false, Position = 2)]$SQLInstanceName="xxxx" #具體的實體名
 
)
 
#Login SQLInstanceName
#$uid = "Login"  #具體的登錄名和密碼
#$pwd = "Password" 

 

 

7:重啟Zabbix Agent服務

 

8:給相關服務器(host)添加模板,

 

9:如果需要的話,更新宏

 

10:默認情況下,需要添加兩個模板,除非你資料庫是SQL Server Express edition,那么你只需要添加模板Template SQL Server Instance 0 DE Baseline

 

11:最好將這兩個模板分類到Templates/Databases群組下面,方便日后的使用和管理!

 

 

clip_image002[1]

 

With SQL instance discovery 的模板創建也非常簡單,跟上面的差異不是太大,按照官方檔案的操作步驟,逐步操作即可,

 

 

使用總結

 

 

1:例如,YourSQlDba資料庫的恢復模式為簡單模式,只做了完整備份,那么監控就會觸發告警,告訴你這個YourSQlDba資料庫的沒有做差異備份和事務日志備份,如下截圖

 

 

clip_image006

 

如果你不想它觸發告警,你可以在監控項(Item)里面找到SQL Server Databases Discovery: SQL Instance MSSQLSERVER Database YourSQLDba: Diff Backup Status,禁用這些監控項(Item)即可,

 

 

2:如果資料庫實體上有脫機的資料庫(offline),那么你必須禁用這個資料庫的相關監控項(Item),否則,你會在Zabbix Agent的日志中發現大量類似這樣的日志

 

 

...............................................................................
19120:20200826:154534.767 active check "perf_counter["\SQLServer:Databases(xxxx)\Log File(s) Used Size (KB)"]" is not supported: Cannot obtain performance information from collector.
19120:20200826:154534.768 active check "perf_counter["\SQLServer:Databases(xxxx)\Log Flush Wait Time"]" is not supported: Cannot obtain performance information from collector.
19120:20200826:154534.769 active check "perf_counter["\SQLServer:Databases(xxxx)\Log Flush Waits/sec"]" is not supported: Cannot obtain performance information from collector.
19120:20200826:154534.769 active check "perf_counter["\SQLServer:Databases(xxxx)\Log Flushes/sec"]" is not supported: Cannot obtain performance information from collector.
19120:20200826:154534.769 active check "perf_counter["\SQLServer:Databases(xxxx)\Log Growths"]" is not supported: Cannot obtain performance information from collector.
19120:20200826:154534.770 active check "perf_counter["\SQLServer:Databases(xxxx)\Log Shrinks"]" is not supported: Cannot obtain performance information from collector.
19120:20200826:154534.770 active check "perf_counter["\SQLServer:Databases(xxxx)\Log Truncations"]" is not supported: Cannot obtain performance information from collector.
..............................................................................

 

 另外,如果不禁用這個資料庫的相關監控項(Item),那么你會在ZabbixQueue佇列里面看到大量被延遲的監控項(Item),禁用了脫機資料庫的相關Item后,你就會觀察到Queue佇列延遲的Item不見了,

 

 

 

3:你看到類似下面這樣各種告警或資訊,下面截圖僅僅是部分截圖,然后就是理解各種告警和解決問題了,

 

 

clip_image007

 

 

各類監控指標都有圖形,可以查看這些指標的曲線圖,

 

clip_image008

 

clip_image009

 

 

問題小結:

 

在使用Zabbix template for Microsoft SQL Server模板程序中,也遇到了一些小問題,下面是這些問題的集合,下面絕大部分問題是Zabbix share下的模板才會遇到的,下面描述問題時盡量標明是那個分支模板遇到的問題,強烈推薦使用GitHub上的分支版本,可以讓你繞過很多坑,

 

 

 

 

問題1Zabbix Agent日志中出現下面錯誤

 

764:20200715:140830.588 active check "perf_counter["\SQLServer:Databases(DBAInventory)\Active Transactions"]" is not supported: Cannot obtain performance information from collector.
764:20200715:140830.588 active check "perf_counter["\SQLServer:Databases(DBAInventory)\Data File(s) Size (KB)"]" is not supported: Cannot obtain performance information from collector.
764:20200715:140830.589 active check "perf_counter["\SQLServer:Databases(DBAInventory)\Log Bytes Flushed/sec"]" is not supported: Cannot obtain performance information from collector.
764:20200715:140830.589 active check "perf_counter["\SQLServer:Databases(DBAInventory)\Log File(s) Size (KB)"]" is not supported: Cannot obtain performance information from collector.
764:20200715:140830.590 active check "perf_counter["\SQLServer:Databases(DBAInventory)\Log File(s) Used Size (KB)"]" is not supported: Cannot obtain performance information from collector.
764:20200715:140830.590 active check "perf_counter["\SQLServer:Databases(DBAInventory)\Log Flush Wait Time"]" is not supported: Cannot obtain performance information from collector.
764:20200715:140830.590 active check "perf_counter["\SQLServer:Databases(DBAInventory)\Log Flush Waits/sec"]" is not supported: Cannot obtain performance information from collector.
764:20200715:140830.591 active check "perf_counter["\SQLServer:Databases(DBAInventory)\Log Flushes/sec"]" is not supported: Cannot obtain performance information from collector.
764:20200715:140830.591 active check "perf_counter["\SQLServer:Databases(DBAInventory)\Log Growths"]" is not supported: Cannot obtain performance information from collector.
764:20200715:140830.592 active check "perf_counter["\SQLServer:Databases(DBAInventory)\Log Shrinks"]" is not supported: Cannot obtain performance information from collector.
764:20200715:140830.592 active check "perf_counter["\SQLServer:Databases(DBAInventory)\Log Truncations"]" is not supported: Cannot obtain performance information from collector.
764:20200715:140830.592 active check "perf_counter["\SQLServer:Databases(DBAInventory)\Percent Log Used"]" is not supported: Cannot obtain performance information from collector.

 

檢查分析發現,DBAInventory資料庫被設定為脫機狀態,這臺服務器應用了模板"Template SQL Server Instance 0 DE Baseline",那么就會生成一些監控項(Items)和一些觸發器(Triggers),這些ItemsTiggers的狀態是不支持的Not supported),所以在主機設定里面,通過過濾搜索資料庫DBAInventory的監控項和觸發器,如下所示,然后將其停用(Disable)后,zabbix_agentd.log中就不會出現這個錯誤資訊了,

 

clip_image010

 

 

 

 

問題2:遇到 Timeout while executing a shell script.錯誤,

 

 

1364:20200709:085346.828 active check "jobs.mssql.discovery" is not supported: Timeout while executing a shell script.
1364:20200709:085842.183 Failed to execute command "powershell.exe -NoProfile -ExecutionPolicy Bypass -File "C:\zabbix\bin\win64\Discovery.mssql.server.ps1" JSONDBNAME": Timeout while executing a shell script.
1364:20200709:085842.183 active check "databases.mssql.discovery" is not supported: Timeout while executing a shell script.

 

修改zabbix_agentd.conf組態檔中的引數Timeout, 例如將Timeout調整為30

 

### Option: Timeout
#    Spend no more than Timeout seconds on processing.
#
# Mandatory: no
# Range: 1-30
# Default:
# Timeout=3
Timeout=30

 

此時你就會發現zabbix_agentd.log不會出現這個錯誤了,

 

 

整理的檔案,本來有十幾個小問題,全部列在此處,不僅感覺非常混亂,而且占用了大量的篇幅,后面想想,這里就簡單列舉一兩個問題,后面有空,打算將這些問題以單篇展開述說,

 

 

 

參考資料:

 

https://share.zabbix.com/databases/microsoft-sql-server/template-for-microsoft-sql-server

https://github.com/MantasTumenas/Zabbix-template-for-Microsoft-SQL-Server

 

轉載請註明出處,本文鏈接:https://www.uj5u.com/qita/620.html

標籤:其他

上一篇:【圖文】華為云不同賬號間同區服務器內網互聯

下一篇:黑蘋果教程-Hackintosh

標籤雲
其他(157675) Python(38076) JavaScript(25376) Java(17977) C(15215) 區塊鏈(8255) C#(7972) AI(7469) 爪哇(7425) MySQL(7132) html(6777) 基礎類(6313) sql(6102) 熊猫(6058) PHP(5869) 数组(5741) R(5409) Linux(5327) 反应(5209) 腳本語言(PerlPython)(5129) 非技術區(4971) Android(4554) 数据框(4311) css(4259) 节点.js(4032) C語言(3288) json(3245) 列表(3129) 扑(3119) C++語言(3117) 安卓(2998) 打字稿(2995) VBA(2789) Java相關(2746) 疑難問題(2699) 细绳(2522) 單片機工控(2479) iOS(2429) ASP.NET(2402) MongoDB(2323) 麻木的(2285) 正则表达式(2254) 字典(2211) 循环(2198) 迅速(2185) 擅长(2169) 镖(2155) 功能(1967) .NET技术(1958) Web開發(1951) python-3.x(1918) HtmlCss(1915) 弹簧靴(1913) C++(1909) xml(1889) PostgreSQL(1872) .NETCore(1853) 谷歌表格(1846) Unity3D(1843) for循环(1842)

熱門瀏覽
  • 網閘典型架構簡述

    網閘架構一般分為兩種:三主機的三系統架構網閘和雙主機的2+1架構網閘。 三主機架構分別為內端機、外端機和仲裁機。三機無論從軟體和硬體上均各自獨立。首先從硬體上來看,三機都用各自獨立的主板、記憶體及存盤設備。從軟體上來看,三機有各自獨立的作業系統。這樣能達到完全的三機獨立。對于“2+1”系統,“2”分為 ......

    uj5u.com 2020-09-10 02:00:44 more
  • 如何從xshell上傳檔案到centos linux虛擬機里

    如何從xshell上傳檔案到centos linux虛擬機里及:虛擬機CentOs下執行 yum -y install lrzsz命令,出現錯誤:鏡像無法找到軟體包 前言 一、安裝lrzsz步驟 二、上傳檔案 三、遇到的問題及解決方案 總結 前言 提示:其實很簡單,往虛擬機上安裝一個上傳檔案的工具 ......

    uj5u.com 2020-09-10 02:00:47 more
  • 一、SQLMAP入門

    一、SQLMAP入門 1、判斷是否存在注入 sqlmap.py -u 網址/id=1 id=1不可缺少。當注入點后面的引數大于兩個時。需要加雙引號, sqlmap.py -u "網址/id=1&uid=1" 2、判斷文本中的請求是否存在注入 從文本中加載http請求,SQLMAP可以從一個文本檔案中 ......

    uj5u.com 2020-09-10 02:00:50 more
  • Metasploit 簡單使用教程

    metasploit 簡單使用教程 浩先生, 2020-08-28 16:18:25 分類專欄: kail 網路安全 linux 文章標簽: linux資訊安全 編輯 著作權 metasploit 使用教程 前言 一、Metasploit是什么? 二、準備作業 三、具體步驟 前言 Msfconsole ......

    uj5u.com 2020-09-10 02:00:53 more
  • 游戲逆向之驅動層與用戶層通訊

    驅動層代碼: #pragma once #include <ntifs.h> #define add_code CTL_CODE(FILE_DEVICE_UNKNOWN,0x800,METHOD_BUFFERED,FILE_ANY_ACCESS) /* 更多游戲逆向視頻www.yxfzedu.com ......

    uj5u.com 2020-09-10 02:00:56 more
  • 北斗電力時鐘(北斗授時服務器)讓網路資料更精準

    北斗電力時鐘(北斗授時服務器)讓網路資料更精準 北斗電力時鐘(北斗授時服務器)讓網路資料更精準 京準電子科技官微——ahjzsz 近幾年,資訊技術的得了快速發展,互聯網在逐漸普及,其在人們生活和生產中都得到了廣泛應用,并且取得了不錯的應用效果。計算機網路資訊在電力系統中的應用,一方面使電力系統的運行 ......

    uj5u.com 2020-09-10 02:01:03 more
  • 【CTF】CTFHub 技能樹 彩蛋 writeup

    ?碎碎念 CTFHub:https://www.ctfhub.com/ 筆者入門CTF時時剛開始刷的是bugku的舊平臺,后來才有了CTFHub。 感覺不論是網頁UI設計,還是題目質量,賽事跟蹤,工具軟體都做得很不錯。 而且因為獨到的金幣制度的確讓人有一種想去刷題賺金幣的感覺。 個人還是非常喜歡這個 ......

    uj5u.com 2020-09-10 02:04:05 more
  • 02windows基礎操作

    我學到了一下幾點 Windows系統目錄結構與滲透的作用 常見Windows的服務詳解 Windows埠詳解 常用的Windows注冊表詳解 hacker DOS命令詳解(net user / type /md /rd/ dir /cd /net use copy、批處理 等) 利用dos命令制作 ......

    uj5u.com 2020-09-10 02:04:18 more
  • 03.Linux基礎操作

    我學到了以下幾點 01Linux系統介紹02系統安裝,密碼啊破解03Linux常用命令04LAMP 01LINUX windows: win03 8 12 16 19 配置不繁瑣 Linux:redhat,centos(紅帽社區版),Ubuntu server,suse unix:金融機構,證券,銀 ......

    uj5u.com 2020-09-10 02:04:30 more
  • 05HTML

    01HTML介紹 02頭部標簽講解03基礎標簽講解04表單標簽講解 HTML前段語言 js1.了解代碼2.根據代碼 懂得挖掘漏洞 (POST注入/XSS漏洞上傳)3.黑帽seo 白帽seo 客戶網站被黑帽植入劫持代碼如何處理4.熟悉html表單 <html><head><title>TDK標題,描述 ......

    uj5u.com 2020-09-10 02:04:36 more
最新发布
  • 2023年最新微信小程式抓包教程

    01 開門見山 隔一個月發一篇文章,不過分。 首先回顧一下《微信系結手機號資料庫被脫庫事件》,我也是第一時間得知了這個訊息,然后跟蹤了整件事情的經過。下面是這起事件的相關截圖以及近日流出的一萬條資料樣本: 個人認為這件事也沒什么,還不如關注一下之前45億快遞資料查詢渠道疑似在近日復活的訊息。 訊息是 ......

    uj5u.com 2023-04-20 08:48:24 more
  • web3 產品介紹:metamask 錢包 使用最多的瀏覽器插件錢包

    Metamask錢包是一種基于區塊鏈技術的數字貨幣錢包,它允許用戶在安全、便捷的環境下管理自己的加密資產。Metamask錢包是以太坊生態系統中最流行的錢包之一,它具有易于使用、安全性高和功能強大等優點。 本文將詳細介紹Metamask錢包的功能和使用方法。 一、 Metamask錢包的功能 數字資 ......

    uj5u.com 2023-04-20 08:47:46 more
  • vulnhub_Earth

    前言 靶機地址->>>vulnhub_Earth 攻擊機ip:192.168.20.121 靶機ip:192.168.20.122 參考文章 https://www.cnblogs.com/Jing-X/archive/2022/04/03/16097695.html https://www.cnb ......

    uj5u.com 2023-04-20 07:46:20 more
  • 從4k到42k,軟體測驗工程師的漲薪史,給我看哭了

    清明節一過,盲猜大家已經無心上班,在數著日子準備過五一,但一想到銀行卡里的余額……瞬間心情就不美麗了。最近,2023年高校畢業生就業調查顯示,本科畢業月平均起薪為5825元。調查一出,便有很多同學表示自己又被平均了。看著這一資料,不免讓人想到前不久中國青年報的一項調查:近六成大學生認為畢業10年內會 ......

    uj5u.com 2023-04-20 07:44:00 more
  • 最新版本 Stable Diffusion 開源 AI 繪畫工具之中文自動提詞篇

    🎈 標簽生成器 由于輸入正向提示詞 prompt 和反向提示詞 negative prompt 都是使用英文,所以對學習母語的我們非常不友好 使用網址:https://tinygeeker.github.io/p/ai-prompt-generator 這個網址是為了讓大家在使用 AI 繪畫的時候 ......

    uj5u.com 2023-04-20 07:43:36 more
  • 漫談前端自動化測驗演進之路及測驗工具分析

    隨著前端技術的不斷發展和應用程式的日益復雜,前端自動化測驗也在不斷演進。隨著 Web 應用程式變得越來越復雜,自動化測驗的需求也越來越高。如今,自動化測驗已經成為 Web 應用程式開發程序中不可或缺的一部分,它們可以幫助開發人員更快地發現和修復錯誤,提高應用程式的性能和可靠性。 ......

    uj5u.com 2023-04-20 07:43:16 more
  • CANN開發實踐:4個DVPP記憶體問題的典型案例解讀

    摘要:由于DVPP媒體資料處理功能對存放輸入、輸出資料的記憶體有更高的要求(例如,記憶體首地址128位元組對齊),因此需呼叫專用的記憶體申請介面,那么本期就分享幾個關于DVPP記憶體問題的典型案例,并給出原因分析及解決方法。 本文分享自華為云社區《FAQ_DVPP記憶體問題案例》,作者:昇騰CANN。 DVPP ......

    uj5u.com 2023-04-20 07:43:03 more
  • msf學習

    msf學習 以kali自帶的msf為例 一、msf核心模塊與功能 msf模塊都放在/usr/share/metasploit-framework/modules目錄下 1、auxiliary 輔助模塊,輔助滲透(埠掃描、登錄密碼爆破、漏洞驗證等) 2、encoders 編碼器模塊,主要包含各種編碼 ......

    uj5u.com 2023-04-20 07:42:59 more
  • Halcon軟體安裝與界面簡介

    1. 下載Halcon17版本到到本地 2. 雙擊安裝包后 3. 步驟如下 1.2 Halcon軟體安裝 界面分為四大塊 1. Halcon的五個助手 1) 影像采集助手:與相機連接,設定相機引數,采集影像 2) 標定助手:九點標定或是其它的標定,生成標定檔案及內參外參,可以將像素單位轉換為長度單位 ......

    uj5u.com 2023-04-20 07:42:17 more
  • 在MacOS下使用Unity3D開發游戲

    第一次發博客,先發一下我的游戲開發環境吧。 去年2月份買了一臺MacBookPro2021 M1pro(以下簡稱mbp),這一年來一直在用mbp開發游戲。我大致分享一下我的開發工具以及使用體驗。 1、Unity 官網鏈接: https://unity.cn/releases 我一般使用的Apple ......

    uj5u.com 2023-04-20 07:40:19 more