DB2 Plugin

    版本為 01:52, 27 Dec 2024

    到這個版本。

    返回到 版本存檔.

    查閱目前版本

    監視 IBM DB2

    MES-servers.cfg :
    define service{
            use                        generic-service
            host_name                  bdb1
            service_description        DB2
            contact_groups             test-only
            notifications_enabled      1
            check_command              check_db2!-d DBNAME -n ISTNODE -u istname -p istpass
            }
    
    commands.cfg :
    # 'check_db2' command definition
    define command{
            command_name    check_db2
            command_line    sudo -u db2inst ksh -c "~/bin/check_db_connections.sh $ARG1$ "
            }
    
    check_db_connections.sh :
    • 必須先安裝 DB2 ADMCL
    • 必須新增 db2 catalog
    • 必須修改 sudoers
    • 此 script 必須放在 DB2 instance 目錄內

     

    reference to undefined name 'syntax' Exception of type 'MindTouch.Deki.Script.Runtime.DekiScriptUndefinedNameException' was thrown. (click for details)
    Powered by MindTouch Core