网创优客建站品牌官网
为成都网站建设公司企业提供高品质网站建设
热线:028-86922220
成都专业网站建设公司

定制建站费用3500元

符合中小企业对网站设计、功能常规化式的企业展示型网站建设

成都品牌网站建设

品牌网站建设费用6000元

本套餐主要针对企业品牌型网站、中高端设计、前端互动体验...

成都商城网站建设

商城网站建设费用8000元

商城网站建设因基本功能的需求不同费用上面也有很大的差别...

成都微信网站建设

手机微信网站建站3000元

手机微信网站开发、微信官网、微信商城网站...

建站知识

当前位置:首页 > 建站知识

DefineAServiceGroup-创新互联

View has been monitoring Cisco machine:

创新互联为企业提供:品牌网站设计、网络营销策划、小程序定制开发、营销型网站建设和网站运营托管,一站式网络营销整体服务。实现不断获取潜在客户之核心目标,建立了企业专属的“全网整合营销推广”,就用不着再为了获取潜在客户而苦恼,相反,客户会主动找您,生意就找上门来了!

# cd /etc/nagios/Cisco/

HYQH-BJ.cfg  HYQH-SH.cfg  HYQH-ZQ.cfg

View existing configuration:

# cat HYQH-BJ.cfg | grep -A 3 -B 3 Flow

define service{

    use           generic-service,srv-pnp

    host_name        HYQH.BJ

    service_description   serial 0/0/0:0 Flow

    check_command      check_snmp!-C HYQH.BJ -o ifInOctets.7 -w 5000000000-6000000000 -c 6000000000-8000000000   ; The total number of octets received on the interface,including framing characters

    }

define service{

    use           generic-service,srv-pnp

    host_name        HYQH.BJ

    service_description   serial 0/0/1:0 Flow

    check_command      check_snmp!-C HYQH.BJ -o ifInOctets.8 -w 5000000000-6000000000 -c 6000000000-8000000000

    }

# cat HYQH-SH.cfg | grep -v "#" |grep -A 3 -B 3 Flow

define service{

    use           generic-service,srv-pnp

    host_name        HYQH.SH

    service_description   Serial0/0/0:0 Flow

    check_command      check_snmp!-C SH -o ifInOctets.11 -w 5000000000-6000000000 -c 6000000000-8000000000   ; The total number of octets received on the interface,including framing characters

    }

define service{

    use           generic-service,srv-pnp

    host_name        HYQH.SH

    service_description   Serial0/0/1:0 Flow

    check_command      check_snmp!-C SH -o ifInOctets.12 -w 5000000000-6000000000 -c 6000000000-8000000000   ; The total number of octets received on the interface,including framing characters

    }

define service{

    use           generic-service,srv-pnp

    host_name        HYQH.SH

    service_description   Serial0/1/1:0 Flow

    check_command      check_snmp!-C SH -o ifInOctets.14 -w 5000000000-6000000000 -c 6000000000-8000000000   ; The total number of octets received on the interface,including framing characters

    }

define service{

    use           generic-service,srv-pnp

    host_name        HYQH.SH

    service_description   Serial0/2/0:0 Flow

    check_command      check_snmp!-C SH -o ifInOctets.15 -w 5000000000-6000000000 -c 6000000000-8000000000   ; The total number of octets received on the interface,including framing characters

    }

# cat HYQH-ZQ.cfg | grep -v "#" |grep -A 3 -B 3 Flow

define service{

    use           generic-service,srv-pnp

    host_name        HYQH.ZQ

    service_description   serial 0/0/0:0 Flow

    check_command      check_snmp!-C ZQ -o ifInOctets.7 -w 5000000000-6000000000 -c 6000000000-8000000000   ; The total number of octets received on the interface,including framing characters

    }

define service{

    use           generic-service,srv-pnp

    host_name        HYQH.ZQ

    service_description   serial 0/0/1:0 Flow

    check_command      check_snmp!-C ZQ -o ifInOctets.8 -w 5000000000-6000000000 -c 6000000000-8000000000

    }

Create a classified directory&&Creating the configuration file:

# mkdir ../Servicegroups/

# vi ../Servicegroups/Flow.cfg

define servicegroup{

    servicegroup_name    HYQH.BJ-Flow

    alias          HYQH.BJ

    members         HYQH.BJ,serial 0/0/0:0 Flow,HYQH.BJ,serial 0/0/1:0 Flow

}

define servicegroup{

    servicegroup_name    HYQH.SH-Flow

    alias          HYQH.SH

    members         HYQH.SH,Serial0/0/0:0 Flow,HYQH.SH,Serial0/0/1:0 Flow,HYQH.SH,Serial0/1/1:0 Flow,HYQH.SH,Serial0/2/0:0 Flow

}

define servicegroup{

    servicegroup_name    HYQH.ZQ-Flow

    alias          HYQH.ZQ

    members         HYQH.ZQ,serial 0/0/0:0 Flow,HYQH.ZQ,serial 0/0/1:0 Flow

}

# chown -R nagios:nagios ../Servicegroups/

Modify the main configuration file:

cfg_dir=/etc/nagios/Servicegroups

Check the syntax and restart:

# /usr/local/nagios/bin/nagios -v /etc/nagios/nagios.cfg

# service nagios restart

另外有需要云服务器可以了解下创新互联scvps.cn,海内外云服务器15元起步,三天无理由+7*72小时售后在线,公司持有idc许可证,提供“云服务器、裸金属服务器、高防服务器、香港服务器、美国服务器、虚拟主机、免备案服务器”等云主机租用服务以及企业上云的综合解决方案,具有“安全稳定、简单易用、服务可用性高、性价比高”等特点与优势,专为企业上云打造定制,能够满足用户丰富、多元化的应用场景需求。


标题名称:DefineAServiceGroup-创新互联
文章来源:http://bjjierui.cn/article/dgpphj.html

其他资讯