亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? alert.java

?? 優秀的客戶關系管理系統
?? JAVA
?? 第 1 頁 / 共 4 頁
字號:

        if(AlertProperties.isNotAction(AlertProperties.cics_warninglog_level))
        {
            try
            { //regionerror warning 數目
                String[] timestamp = DBAccess.getLatestData(
                    "select timestamp from regionerror where ipaddress='" + hostip +
                    "' order by id desc");
                Vector usagesV = DBAccess.getBatchData(
                    "select warning from regionerror where ipaddress='" + hostip +
                    "' and timestamp='" + timestamp[0] + "'");
                for(int i = 0; i < usagesV.size(); i++)
                {
                    int warning = Integer.parseInt( (String)usagesV.elementAt(i));
                    if(warning > AlertProperties.cics_warninglog_min)
                    {
                        msg += WarningMsg.CICSREGIONSLOG_WARNINGLOG_MSG;
                        break;
                    }
                }
            }
            catch(NullPointerException ne)
            {}
            catch(Exception e)
            {
                System.err.println("在生成\"cics warning 數目\"警報數據時產生異常");
                e.printStackTrace();
            }
        }

        if(AlertProperties.isNotAction(AlertProperties.cics_errorlog_level))
        {
            try
            { //regionerror error 數目
                String[] timestamp = DBAccess.getLatestData(
                    "select timestamp from regionerror where ipaddress='" + hostip +
                    "' order by id desc");
                Vector usagesV = DBAccess.getBatchData(
                    "select error from regionerror where ipaddress='" + hostip +
                    "' and timestamp='" + timestamp[0] + "'");
                for(int i = 0; i < usagesV.size(); i++)
                {
                    int error = Integer.parseInt( (String)usagesV.elementAt(i));
                    if(error > AlertProperties.cics_errorlog_min)
                    {
                        msg += WarningMsg.CICSREGIONSLOG_ERRORLOG_MSG;
                        break;
                    }
                }
            }
            catch(NullPointerException ne)
            {}
            catch(Exception e)
            {
                System.err.println("在生成\"cics error 數目\"警報數據時產生異常");
                e.printStackTrace();
            }
        }

        if(AlertProperties.isNotAction(AlertProperties.cics_transaction_level))
        {
            try
            { //cics transaxion 數目
                String[] timestamp = DBAccess.getLatestData(
                    "select timestamp from cicslogspace where ipaddress='" + hostip +
                    "' order by id desc");
                Vector usagesV = DBAccess.getBatchData(
                    "select freepages ,total from cicslogspace where ipaddress='" +
                    hostip +
                    "' and timestamp='" + timestamp[0] + "'");
                for(int i = 0; i < usagesV.size(); )
                {
                    int freepages = Integer.parseInt( (String)usagesV.elementAt(i++));
                    int total = Integer.parseInt( (String)usagesV.elementAt(i++));
                    int ratio = freepages / total;
                    if(ratio > AlertProperties.cics_transaction_min)
                    {
                        msg += WarningMsg.CICS_TRANSACTION_MSG;
                        break;
                    }
                }
            }
            catch(NullPointerException ne)
            {}
            catch(Exception e)
            {
                System.err.println("在生成\"cics transaction 數目\"警報數據時產生異常");
                e.printStackTrace();
            }

        }

        if(AlertProperties.isNotAction(AlertProperties.cics_region_pool_level))
        {
            try
            { //region pool RATIO
                String[] timestamp = DBAccess.getLatestData(
                    "select timestamp from cicsregspar where ipaddress='" + hostip +
                    "' order by id desc");
                Vector usagesV = DBAccess.getBatchData(
                    "select RCurrentAllocated ,RegionPoolSize from cicsregspar where ipaddress='" +
                    hostip +
                    "' and timestamp='" + timestamp[0] + "'");
                for(int i = 0; i < usagesV.size(); )
                {
                    int RCurrentAllocated = Integer.parseInt( (String)usagesV.elementAt(
                        i++));
                    int RegionPoolSize = Integer.parseInt( (String)usagesV.elementAt(i++));
                    int ratio = (RegionPoolSize - RCurrentAllocated) * 100 /
                        RegionPoolSize;
                    if(ratio < AlertProperties.cics_region_pool_min)
                    {
                        msg += WarningMsg.CICS_REGION_POOL_MSG;
                        break;
                    }
                }
            }
            catch(NullPointerException ne)
            {}
            catch(Exception e)
            {
                System.err.println("在生成\"cics transaction 數目\"警報數據時產生異常");
                e.printStackTrace();
            }
        }

        if(AlertProperties.isNotAction(AlertProperties.cics_task_share_level))
        {
            try
            { //region pool RATIO
                String[] timestamp = DBAccess.getLatestData(
                    "select timestamp from cicsregspar where ipaddress='" + hostip +
                    "' order by id desc");
                Vector usagesV = DBAccess.getBatchData(
                    "select TCurrentAllocated ,TaskShrPoolSize from cicsregspar where ipaddress='" +
                    hostip +
                    "' and timestamp='" + timestamp[0] + "'");
                for(int i = 0; i < usagesV.size(); )
                {
                    int TCurrentAllocated = Integer.parseInt( (String)usagesV.elementAt(
                        i++));
                    int TaskShrPoolSize = Integer.parseInt( (String)usagesV.elementAt(i++));
                    int ratio = (TaskShrPoolSize - TCurrentAllocated) * 100 /
                        TaskShrPoolSize;
                    if(ratio < AlertProperties.cics_task_share_min)
                    {
                        msg += WarningMsg.CICS_REGION_TASKSHARE_MSG;
                        break;
                    }
                }
            }
            catch(NullPointerException ne)
            {}
            catch(Exception e)
            {
                System.err.println("在生成\"cics transaction 數目\"警報數據時產生異常");
                e.printStackTrace();
            }
        }

        if(AlertProperties.isNotAction(AlertProperties.cics_applicatin_level))
        {
            try
            { //CICS APPLICATION 數目
                String[] timestamp = DBAccess.getLatestData(
                    "select timestamp from cicsregspar where ipaddress='" + hostip +
                    "' order by id desc");
                Vector usagesV = DBAccess.getBatchData(
                    "select AppServerFull from cicsregspar where ipaddress='" + hostip +
                    "' and timestamp='" + timestamp[0] + "'");
                for(int i = 0; i < usagesV.size(); i++)
                {
                    int AppServerFull = Integer.parseInt( (String)usagesV.elementAt(i));
                    if(AppServerFull > AlertProperties.cics_applicatin_min)
                    {
                        msg += WarningMsg.CICS_APPLICATIONSERVER_MSG;
                        break;
                    }
                }
            }
            catch(NullPointerException ne)
            {}
            catch(Exception e)
            {
                System.err.println("在生成\"cics error 數目\"警報數據時產生異常");
                e.printStackTrace();
            }
        }

        if(AlertProperties.isNotAction(AlertProperties.cics_abend_level))
        {
            try
            { //CICS TaskTransabended 數目
                String[] timestamp = DBAccess.getLatestData(
                    "select timestamp from cicsregspar where ipaddress='" + hostip +
                    "' order by id desc");
                Vector usagesV = DBAccess.getBatchData(
                    "select TaskTransabended from cicsregspar where ipaddress='" +
                    hostip +
                    "' and timestamp='" + timestamp[0] + "'");
                for(int i = 0; i < usagesV.size(); i++)
                {
                    int TaskTransabended = Integer.parseInt( (String)usagesV.elementAt(i));
                    if(TaskTransabended > AlertProperties.cics_abend_min)
                    {
                        msg += WarningMsg.CICS_ABEND_MSG;
                        break;
                    }
                }
            }
            catch(NullPointerException ne)
            {}
            catch(Exception e)
            {
                System.err.println("在生成\"cics error 數目\"警報數據時產生異常");
                e.printStackTrace();
            }
        }

        if(AlertProperties.isNotAction(AlertProperties.cics_jam_level))
        {
            try
            { //CICS TaskTransabended 數目
                String[] timestamp = DBAccess.getLatestData(
                    "select timestamp from cicsregspar where ipaddress='" + hostip +
                    "' order by id desc");
                Vector usagesV = DBAccess.getBatchData(
                    "select TaskPeak from cicsregspar where ipaddress='" + hostip +
                    "' and timestamp='" + timestamp[0] + "'");
                for(int i = 0; i < usagesV.size(); i++)
                {
                    int TaskPeak = Integer.parseInt( (String)usagesV.elementAt(i));
                    if(TaskPeak > AlertProperties.cics_jam_min)
                    {
                        msg += WarningMsg.CICS_JAM_MSG;
                        break;
                    }
                }
            }
            catch(NullPointerException ne)
            {}
            catch(Exception e)
            {
                System.err.println("在生成\"cics error 數目\"警報數據時產生異常");
                e.printStackTrace();
            }
        }

        if(AlertProperties.isNotAction(AlertProperties.sna_linkstation_level))
        {
            try
            { //SNA linkstation status
                String[] timestamp = DBAccess.getLatestData(
                    "select timestamp from snals where ipaddress='" + hostip +
                    "' order by id desc");
                Vector result = DBAccess.getBatchData(
                    "select state from snals where ipaddress='" + hostip +
                    "' and timestamp='" + timestamp[0] + "'");
                for(int i = 0; i < result.size(); i++)
                {
                    String status = (String)result.elementAt(i);
                    if(!status.equalsIgnoreCase(AlertProperties.sna_linkstation_normal))
                    {
                        msg += WarningMsg.SNA_LINKSTATION_MSG;
                        break;
                    }
                }
            }
            catch(NullPointerException ne)
            {}
            catch(Exception e)
            {
                System.err.println("在生成\"CICS regions \"警報數據時產生異常");
                e.printStackTrace();
            }
        }

        if(AlertProperties.isNotAction(AlertProperties.sna_LU_level))
        {
            try
            { //SNA linkstation status
                String[] timestamp = DBAccess.getLatestData(
                    "select timestamp from snasession where ipaddress='" + hostip +
                    "' order by id desc");
                Vector result = DBAccess.getBatchData(
                    "select Session from snasession where ipaddress='" + hostip +
                    "' and timestamp='" + timestamp[0] + "'");
                for(int i = 0; i < result.size(); i++)
                {
                    String status = (String)result.elementAt(i);
                    if("".equals(status))
                    {
                        msg += WarningMsg.SNA_LU_MSG;
                        break;
                    }
                }
            }
            catch(NullPointerException ne)
            {}
            catch(Exception e)
            {
                System.err.println("在生成\"snasession\"警報數據時產生異常");
                e.printStackTrace();
            }
        }

        // System.out.println("電話報警信息:" + msg);
        if(msg.equals(init))
        { //如果沒有得到任何警告信息
            msg = null;
        }

        return msg;
    }

    public static String getAutoRunScripts(String hostip)
    {
        String init = "";
        String scripts = init;

        try
        { //fs
            String[] timestamp = DBAccess.getLatestData(
                "select timestamp from fs where ipaddress='" + hostip +
                "' order by id desc");
            Vector result = DBAccess.getBatchData(
                "select used ,Mounted from fs where ipaddress='" + hostip +
                "' and timestamp='" + timestamp[0] + "'");
            for(int i = 0; i < result.size() / 2; i++)
            {
                String tempUsed = (String)result.elementAt(i * 2);
                int value = Integer.parseInt(tempUsed);
                if(value > AlertProperties.fs_use_min)
                {
                    scripts += "fs." + (String)result.elementAt(i * 2 + 1) + ".ritem@";

                }
            }

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲6080在线| 91黄色免费看| 国产精品国产三级国产aⅴ原创| 国产呦萝稀缺另类资源| 亚洲日本在线看| 国产欧美日产一区| 欧美乱妇15p| www.亚洲人| 青青草原综合久久大伊人精品 | eeuss鲁片一区二区三区| 三级欧美韩日大片在线看| 国产日韩欧美麻豆| 91麻豆精品国产自产在线观看一区 | 激情小说欧美图片| 天天综合色天天| **性色生活片久久毛片| 久久一夜天堂av一区二区三区| 99re在线视频这里只有精品| 国产精品亚洲一区二区三区在线| 一区二区高清免费观看影视大全| 国产精品系列在线| 久久久av毛片精品| 日韩欧美国产1| 日韩一区二区三区免费看| 在线播放欧美女士性生活| 欧美性色欧美a在线播放| 99re热这里只有精品免费视频| 国产尤物一区二区在线| 一本大道av伊人久久综合| 99久久综合色| 欧美日韩高清影院| 欧美日本国产一区| 精品毛片乱码1区2区3区| 久久久综合九色合综国产精品| 日韩精品资源二区在线| 亚洲国产精品成人久久综合一区| 中文字幕乱码一区二区免费| 亚洲日本va在线观看| 一区二区三区中文字幕| 亚洲一区视频在线| 亚洲一二三四在线| 日韩**一区毛片| 麻豆久久久久久| 国内国产精品久久| 日本精品视频一区二区| 欧美吻胸吃奶大尺度电影| 欧美日韩国产一级| 欧美成人欧美edvon| 国产精品九色蝌蚪自拍| 午夜精品福利一区二区蜜股av| 日本不卡一区二区三区| 国产精品66部| 91麻豆国产精品久久| 韩国一区二区在线观看| 国产成人免费av在线| 91黄色激情网站| 久久先锋影音av| 国产精品私人影院| 一区二区三区免费网站| 久久91精品久久久久久秒播| 成人国产在线观看| 日韩精品一区二区三区在线观看| 久久久不卡影院| 婷婷久久综合九色国产成人 | 视频精品一区二区| av电影在线观看一区| 在线观看网站黄不卡| 日韩欧美精品在线视频| 亚洲成人动漫精品| 欧美羞羞免费网站| 亚洲图片欧美视频| 欧美日韩不卡视频| 丝袜美腿亚洲一区二区图片| 欧美三级日韩在线| 午夜亚洲国产au精品一区二区| 91丨九色丨蝌蚪富婆spa| 欧美极品美女视频| 国产乱码字幕精品高清av| 精品国产伦一区二区三区观看体验 | 欧美丰满高潮xxxx喷水动漫| 亚洲免费色视频| 精品国产一区二区三区不卡 | 日本久久一区二区| 午夜不卡av在线| 国产亚洲自拍一区| av在线不卡观看免费观看| 一色桃子久久精品亚洲| 99精品黄色片免费大全| 亚洲一区二区在线观看视频 | 精品奇米国产一区二区三区| 麻豆精品在线观看| 国产精品免费网站在线观看| 欧美亚洲综合在线| 久久成人av少妇免费| 国产欧美视频在线观看| 在线观看三级视频欧美| 精品亚洲porn| 亚洲成人在线观看视频| 国产精品久久久久久久久搜平片| 欧美亚洲综合在线| 福利一区二区在线观看| 午夜视频一区二区| 国产精品嫩草影院com| 欧美不卡视频一区| 精品久久国产97色综合| 欧美日韩一区小说| 成人高清av在线| 国产一区二区女| 精品一区二区精品| 日韩精品亚洲一区| 午夜影视日本亚洲欧洲精品| 久久精品视频一区二区三区| 91麻豆国产福利精品| 91美女片黄在线观看91美女| 偷拍亚洲欧洲综合| 日日摸夜夜添夜夜添亚洲女人| 亚洲视频资源在线| 亚洲天堂成人在线观看| 亚洲欧洲色图综合| 51精品国自产在线| 精品国产91久久久久久久妲己| 欧美日韩中字一区| 色天使色偷偷av一区二区| 在线观看一区不卡| 91老司机福利 在线| 欧美曰成人黄网| 欧美一区二区精美| 欧美激情一区二区三区在线| 日韩三级在线观看| 久久这里只有精品视频网| 国产精品精品国产色婷婷| 亚洲国产成人午夜在线一区| 亚洲一区国产视频| 狠狠色综合色综合网络| 99久久精品免费| 日韩欧美一二三四区| 中文天堂在线一区| 国产一区二区三区四区在线观看| 国产成人在线免费| 欧美精品一区二区三区在线| 亚洲一区二区三区在线看| 亚洲国产精品尤物yw在线观看| 韩国在线一区二区| 欧美日韩国产一级片| 国产精品视频一二| 久久国产尿小便嘘嘘尿| 在线观看日韩国产| 一区二区免费在线播放| 色狠狠色狠狠综合| 色美美综合视频| ●精品国产综合乱码久久久久| 国产精品一区二区免费不卡 | av成人老司机| 91麻豆精品国产91久久久更新时间| 中文字幕一区二区三区在线不卡 | 久久久综合激的五月天| 亚洲天堂免费在线观看视频| 成人激情免费视频| 国产精品污网站| 99久久精品国产导航| 一区二区三区.www| 欧美午夜精品免费| 亚洲美女免费视频| 在线免费观看不卡av| 亚洲va韩国va欧美va精品| 制服丝袜亚洲播放| 成人av资源在线观看| 亚洲欧美日韩国产一区二区三区 | 美国精品在线观看| 精品蜜桃在线看| va亚洲va日韩不卡在线观看| 国产精品国产三级国产| av亚洲精华国产精华精华| 亚洲日本电影在线| 欧美va在线播放| 欧美剧在线免费观看网站| 成人激情文学综合网| 极品少妇一区二区| 久久99热国产| 欧美吻胸吃奶大尺度电影| 中文字幕在线观看一区| 欧美一区二区三区在线视频| 91精品婷婷国产综合久久竹菊| 在线欧美日韩国产| 精品一区免费av| www.视频一区| www.亚洲激情.com| 国产aⅴ综合色| 国产大陆a不卡| 激情五月播播久久久精品| 国产精品一区二区久久不卡| 麻豆精品新av中文字幕| 午夜精品久久久久久久蜜桃app| 综合久久给合久久狠狠狠97色| 精品日本一线二线三线不卡| 2020国产精品自拍| 7777精品伊人久久久大香线蕉完整版| 色呦呦一区二区三区| 91福利在线观看| 欧美在线你懂得|