Cacti + Nagios full Guide (4) one-click deployment of cacti and use advanced ping to monitor IDC bandwidth Quality

Source: Internet
Author: User
Tags snmp query

 

Ping value monitoring takes at least one consecutive week to determine whether the bandwidth quality is good or bad. For the number of Route hops, the attachment provides a script, because we need to build a cacti platform on many devices, of course, you also need to make the added devices into the script form, but the scripts I have made are a little more accurate, so you can laugh at me. First, let's take a look at the usage of the cacti command line. All commands are under the cacti/cli directory. 1. Add host configuration. Php add_device.php -- description = GameServer -- ip = 121.22.x.x -- template = 3 -- version = 2 -- Community = public# Description is the description of the host, for example, php add_device.php -- description = GameServer -- ip = 121.22.x.x -- template = 3 -- version = 2 -- community = public 2. add a Monitoring Chart template and a data source to generate an image for the added host. Two types of data need to be added. One is the template used by the monitoring chart, one is that the data in this graph is obtained from the information such as snmp. The following two steps are respectively taken. (1. add the template php add_graphs.php -- host-id = [] -- graph-type = cg -- graph-template-id = [] Php add_graphs.php -- list-graph-templates # View existing image templates Php add_graphs.php -- list-hosts # View existing hostsFor example, php add_graphs.php -- host-id = 11 -- graph-type = cg -- graph-template-id = 32 (2. add data query information. If data query corresponds to a graph and Multiple snmp fields need to be added, run php add_graphs.php -- host-id = [] -- graph-type = ds -- graph-template-id = [] -- snmp-query-id = [] -- snmp-query -type-id = [] -- snmp-field = [s] -- snmp-value = [s] is troublesome in this step, you need to use the following items to query the data query parameters. You need to perform the following steps to query the templates required for the added data query, field and related information php add_graphs.php -- list-snmp-queries Query The type of snmp query refers to the method used to query remote data, for example: 1 SNMP-interface statistics php add_graphs.php -- list-query-types -- snmp-query-id = [] What type is in the query type, simply put, is based on the Protocol (snmp-query-id), you can find something, such as: 14 input/output bit (64-bit count) php add_graphs.php -- list-snmp-fields -- host-id = [] -- snmp-query-id = [] query based on host-id and snmp-query-id, this means that when this snmp is used to check this information, there are related information, such: ifName php add_graphs.php -- list-snmp-values -- host-id = 3 -- snmp-query-id = 1 -- snmp-fiel D = ifName # This refers to the values of the specified sub-fields in the data on this information. For example: php add_graphs.php -- host-id = 11 -- graph-type = ds -- graph-template-id = 32 -- snmp-query-id = 1 -- snmp-query-type-id = 14 -- snmp-field = ifName -- snmp-value = eth0 3. to add a tree-like display menu, use add_tree.php to add it to the menu. Note that you can add two types to the menu: Tree and node. if you add a host to the menu, that is to add a node php add_tree.php -- type = node -- node-type = host -- tree-id = [] -- host-id = [] the above data needs to be queried through the following information: Php add_graphs.php -- list-hosts # View existing hosts Php-q add_tree.php -- list-trees # View the tree IDFor example, php add_tree.php -- type = node -- node-type = host -- tree-id = 2 -- host-id = 5 php-q C: \ Inetpub \ wwwroot \ cacti \ cli \ add_graphs.php -- list-hostsphp-q C: \ Inetpub \ wwwroot \ cacti \ cli \ add_graphs.php -- list-graph-templatesphp-q C: \ Inetpub \ wwwroot \ cacti \ cli \ add_tree.php -- list-trees because it is only to monitor the ping value of the IDC bandwidth, you do not need to build environments one by one, the following one-click installation of cacti running on windows is recommended. The advanced_ping template is included in the attachment. One-click deployment of CACTI:  Http://forums.cacti.net/viewtopic.php? F = 3 & t = 14946 Scripts for IISThe following ip addresses are China Telecom ip addresses. Since there is a problem with cacti's display of Chinese characters and you are too lazy to modify the ip addresses, the ip addresses are written in pinyin. The cacti installation is by default, so the path is on disk C. Note:: Cygz. copy the dll file to the c: \ spine folder, so that the polling speed is faster. 4) if there is a problem with the time zone, go to gloabl. in the PHP file, add a line: "date_default_timezone_set ('Asia/Shanghai');" to change the system time to your own time zone. Otherwise, the default utc time is used for plotting.

Start --- Cmd-cd \ -- cd php --- execute the following text php C: \ Inetpub \ wwwroot \ cacti \ cli \ add_device.php -- description = hubei -- ip = 202.103.44.1 -- template = 0 -- avail = ping -- ping_method = icmp -- version = 2 -- community = publicphp C: \ Inetpub \ wwwroot \ cacti \ cli \ add_device.php -- description = shanghai -- ip = 202.96.209.5 -- template = 0 -- avail = ping -- ping_method = icmp -- version = 2 -- community = publicphp C: \ Inetpub \ wwwroot \ cacti \ cli \ add_device.php -- description = zhejiang -- ip = 60.190.20.17 -- template = 0 -- avail = ping -- ping_method = icmp -- version = 2 -- community = publicphp C: \ Inetpub \ wwwroot \ cacti \ cli \ add_device.php -- description = jiangsu -- ip = 61.147.82.193 -- template = 0 -- avail = ping -- ping_method = icmp -- version = 2 -- community = publicphp C: \ Inetpub \ wwwroot \ cacti \ cli \ add_device.php -- description = fujiian -- ip = 61.131.11.200 -- template = 0 -- avail = ping -- ping_method = icmp -- version = 2 -- community = publicphp C: \ Inetpub \ wwwroot \ cacti \ cli \ add_device.php -- description = yunan -- ip = 220.165.254.254 -- template = 0 -- avail = ping -- ping_method = icmp -- version = 2 -- community = publicphp C: \ Inetpub \ wwwroot \ cacti \ cli \ add_device.php -- description = sichuan -- ip = 61.157.77.1 -- template = 0 -- avail = ping -- ping_method = icmp -- version = 2 -- community = publicphp C: \ Inetpub \ wwwroot \ cacti \ cli \ add_device.php -- description = Xi'an -- ip = 125.76.216.1 -- template = 0 -- avail = ping -- ping_method = icmp -- version = 2 -- community = publicphp c: \ Inetpub \ wwwroot \ cacti \ cli \ add_device.php -- description = taiyuan -- ip = 219.149.156.2 -- template = 0 -- avail = ping -- ping_method = icmp -- version = 2 -- community = publicphp C: \ Inetpub \ wwwroot \ cacti \ cli \ add_device.php -- description = henan -- ip = 219.150.150.1 -- template = 0 -- avail = ping -- ping_method = icmp -- version = 2 -- community = publicphp C: \ Inetpub \ wwwroot \ cacti \ cli \ add_device.php -- description = xizang -- ip = 219.151.48.168 -- template = 0 -- avail = ping -- ping_method = icmp -- version = 2 -- community = publicphp C: \ Inetpub \ wwwroot \ cacti \ cli \ add_device.php -- description = shandong -- ip = 222.173.180.53 -- template = 0 -- avail = ping -- ping_method = icmp -- version = 2 -- community = publicphp C: \ Inetpub \ wwwroot \ cacti \ cli \ add_device.php -- description = guangzhou -- ip = 202.96.128.79 -- template = 0 -- avail = ping -- ping_method = icmp -- version = 2 -- community = publicphp C: \ Inetpub \ wwwroot \ cacti \ cli \ add_device.php -- description = hebei -- ip = 219.148.62.3 -- template = 0 -- avail = ping -- ping_method = icmp -- version = 2 -- community = publicphp C: \ Inetpub \ wwwroot \ cacti \ cli \ add_device.php -- description = tianjin -- ip = 219.146.0.132 -- template = 0 -- avail = ping -- ping_method = icmp -- version = 2 -- community = publicphp C: \ Inetpub \ wwwroot \ cacti \ cli \ add_device.php -- description = hunan -- ip = 222.240.142.25 -- template = 0 -- avail = ping -- ping_method = icmp -- version = 2 -- community = publicphp C: \ Inetpub \ wwwroot \ cacti \ cli \ add_device.php -- description = liaoning -- ip = 219.148.206.2 -- template = 0 -- avail = ping -- ping_method = icmp -- version = 2 -- community = publicphp C: \ Inetpub \ wwwroot \ cacti \ cli \ add_device.php -- description = heilongjiang -- ip = 124.42.35.1 -- template = 0 -- avail = ping -- ping_method = icmp -- version = 2 -- community = public import advanced ping template, run Php C: \ Inetpub \ wwwroot \ cacti \ cli \ add_graphs.php -- list-graph-templates obtain the template ID,Run Php C: \ Inetpub \ wwwroot \ cacti \ cli \ add_graphs.php -- list-hostsPhp C: \ Inetpub \ wwwroot \ cacti \ cli \ add_graphs.php -- host-id = 3 -- graph-type = cg -- graph-template-id = 41php C: \ Inetpub \ wwwroot \ cacti \ cli \ add_graphs.php -- host-id = 4 -- graph-type = cg -- graph-template-id = 41php C: \ Inetpub \ wwwroot \ cacti \ cli \ add_graphs.php -- host-id = 5 -- graph-type = cg -- graph-template-id = 41php C: \ Inetpub \ wwwroot \ cacti \ cli \ add_graphs.php -- host-id = 6 -- graph-type = cg -- graph-template-id = 41php C: \ Inetpub \ wwwroot \ cacti \ cli \ add_graphs.php -- host-id = 7 -- graph-type = cg -- graph-template-id = 41php C: \ Inetpub \ wwwroot \ cacti \ cli \ add_graphs.php -- host-id = 8 -- graph-type = cg -- graph-template-id = 41php C: \ Inetpub \ wwwroot \ cacti \ cli \ add_graphs.php -- host-id = 9 -- graph-type = cg -- graph-template-id = 41php C: \ Inetpub \ wwwroot \ cacti \ cli \ add_graphs.php -- host-id = 10 -- graph-type = cg -- graph-template-id = 41php C: \ Inetpub \ wwwroot \ cacti \ cli \ add_graphs.php -- host-id = 11 -- graph-type = cg -- graph-template-id = 41php C: \ Inetpub \ wwwroot \ cacti \ cli \ add_graphs.php -- host-id = 12 -- graph-type = cg -- graph-template-id = 41php C: \ Inetpub \ wwwroot \ cacti \ cli \ add_graphs.php -- host-id = 13 -- graph-type = cg -- graph-template-id = 41php C: \ Inetpub \ wwwroot \ cacti \ cli \ add_graphs.php -- host-id = 14 -- graph-type = cg -- graph-template-id = 41php C: \ Inetpub \ wwwroot \ cacti \ cli \ add_graphs.php -- host-id = 15 -- graph-type = cg -- graph-template-id = 41php C: \ Inetpub \ wwwroot \ cacti \ cli \ add_graphs.php -- host-id = 16 -- graph-type = cg -- graph-template-id = 41php C: \ Inetpub \ wwwroot \ cacti \ cli \ add_graphs.php -- host-id = 17 -- graph-type = cg -- graph-template-id = 41php C: \ Inetpub \ wwwroot \ cacti \ cli \ add_graphs.php -- host-id = 18 -- graph-type = cg -- graph-template-id = 41php C: \ Inetpub \ wwwroot \ cacti \ cli \ add_graphs.php -- host-id = 19 -- graph-type = cg -- graph-template-id = 41 create a tree tag and execute Php-q C: \ Inetpub \ wwwroot \ cacti \ cli \ add_tree.php -- list-treesPhp C: \ Inetpub \ wwwroot \ cacti \ cli \ add_tree.php -- type = node -- node-type = host -- tree-id = 4 -- host-id = 3php C: \ Inetpub \ wwwroot \ cacti \ cli \ add_tree.php -- type = node -- node-type = host -- tree-id = 4 -- host-id = 4php C: \ Inetpub \ wwwroot \ cacti \ cli \ add_tree.php -- type = node -- node-type = host -- tree-id = 4 -- host-id = 5php C: \ Inetpub \ wwwroot \ cacti \ cli \ add_tree.php -- type = node -- node-type = host -- tree-id = 4 -- host-id = 6php C: \ Inetpub \ wwwroot \ cacti \ cli \ add_tree.php -- type = node -- node-type = host -- tree-id = 4 -- host-id = 7php C: \ Inetpub \ wwwroot \ cacti \ cli \ add_tree.php -- type = node -- node-type = host -- tree-id = 4 -- host-id = 8php C: \ Inetpub \ wwwroot \ cacti \ cli \ add_tree.php -- type = node -- node-type = host -- tree-id = 4 -- host-id = 9php C: \ Inetpub \ wwwroot \ cacti \ cli \ add_tree.php -- type = node -- node-type = host -- tree-id = 4 -- host-id = 10php C: \ Inetpub \ wwwroot \ cacti \ cli \ add_tree.php -- type = node -- node-type = host -- tree-id = 4 -- host-id = 11php C: \ Inetpub \ wwwroot \ cacti \ cli \ add_tree.php -- type = node -- node-type = host -- tree-id = 4 -- host-id = 12php C: \ Inetpub \ wwwroot \ cacti \ cli \ add_tree.php -- type = node -- node-type = host -- tree-id = 4 -- host-id = 13php C: \ Inetpub \ wwwroot \ cacti \ cli \ add_tree.php -- type = node -- node-type = host -- tree-id = 4 -- host-id = 14php C: \ Inetpub \ wwwroot \ cacti \ cli \ add_tree.php -- type = node -- node-type = host -- tree-id = 4 -- host-id = 15php C: \ Inetpub \ wwwroot \ cacti \ cli \ add_tree.php -- type = node -- node-type = host -- tree-id = 4 -- host-id = 16php C: \ Inetpub \ wwwroot \ cacti \ cli \ add_tree.php -- type = node -- node-type = host -- tree-id = 4 -- host-id = 17php C: \ Inetpub \ wwwroot \ cacti \ cli \ add_tree.php -- type = node -- node-type = host -- tree-id = 4 -- host-id = 18php C: \ Inetpub \ wwwroot \ cacti \ cli \ add_tree.php -- type = node -- node-type = host -- tree-id = 4 -- host-id = 19php C: \ Inetpub \ wwwroot \ cacti \ cli \ add_tree.php -- type = node -- node-type = host -- tree-id = 4 -- host-id = 20 The following apache scripts are for reference only script Telecom php C: \ Apache2 \ htdocs \ cacti \ cli \ add_device.php -- description = hubei -- ip = 202.103.44.1 -- template = 0 -- avail = ping -- ping_method = icmp -- version = 2 -- community = publicphp C: \ Apache2 \ htdocs \ cacti \ cli \ add_device.php -- description = shanghai -- ip = 202.96.209.5 -- template = 0 -- avail = ping -- ping_method = icmp -- version = 2 -- community = publicphp C: \ Apache2 \ htdocs \ cacti \ cli \ add_device.php -- description = zhejiang -- ip = 60.190.20.17 -- template = 0 -- avail = ping -- ping_method = icmp -- version = 2 -- community = publicphp C: \ Apache2 \ htdocs \ cacti \ cli \ add_device.php -- description = jiangsu -- ip = 61.147.82.193 -- template = 0 -- avail = ping -- ping_method = icmp -- version = 2 -- community = publicphp C: \ Apache2 \ htdocs \ cacti \ cli \ add_device.php -- description = fujiian -- ip = 61.131.11.200 -- template = 0 -- avail = ping -- ping_method = icmp -- version = 2 -- community = publicphp C: \ Apache2 \ htdocs \ cacti \ cli \ add_device.php -- description = yunan -- ip = 220.165.254.254 -- template = 0 -- avail = ping -- ping_method = icmp -- version = 2 -- community = publicphp C: \ Apache2 \ htdocs \ cacti \ cli \ add_device.php -- description = sichuan -- ip = 61.157.77.1 -- template = 0 -- avail = ping -- ping_method = icmp -- version = 2 -- community = publicphp C: \ Apache2 \ htdocs \ cacti \ cli \ add_device.php -- description = Xi'an -- ip = 125.76.216.1 -- template = 0 -- avail = ping -- ping_method = icmp -- version = 2 -- community = publicphp c: \ Apache2 \ htdocs \ cacti \ cli \ add_device.php -- description = taiyuan -- ip = 219.149.156.2 -- template = 0 -- avail = ping -- ping_method = icmp -- version = 2 -- community = publicphp C: \ Apache2 \ htdocs \ cacti \ cli \ add_device.php -- description = henan -- ip = 219.150.150.1 -- template = 0 -- avail = ping -- ping_method = icmp -- version = 2 -- community = publicphp C: \ Apache2 \ htdocs \ cacti \ cli \ add_device.php -- description = xizang -- ip = 219.151.48.168 -- template = 0 -- avail = ping -- ping_method = icmp -- version = 2 -- community = publicphp C: \ Apache2 \ htdocs \ cacti \ cli \ add_device.php -- description = shandong -- ip = 222.173.180.53 -- template = 0 -- avail = ping -- ping_method = icmp -- version = 2 -- community = publicphp C: \ Apache2 \ htdocs \ cacti \ cli \ add_device.php -- description = guangzhou -- ip = 202.96.128.79 -- template = 0 -- avail = ping -- ping_method = icmp -- version = 2 -- community = publicphp C: \ Apache2 \ htdocs \ cacti \ cli \ add_device.php -- description = hebei -- ip = 219.148.62.3 -- template = 0 -- avail = ping -- ping_method = icmp -- version = 2 -- community = publicphp C: \ Apache2 \ htdocs \ cacti \ cli \ add_device.php -- description = tianjin -- ip = 219.146.0.132 -- template = 0 -- avail = ping -- ping_method = icmp -- version = 2 -- community = publicphp C: \ Apache2 \ htdocs \ cacti \ cli \ add_device.php -- description = hunan -- ip = 222.240.142.25 -- template = 0 -- avail = ping -- ping_method = icmp -- version = 2 -- community = publicphp C: \ Apache2 \ htdocs \ cacti \ cli \ add_device.php -- description = liaoning -- ip = 219.148.206.2 -- template = 0 -- avail = ping -- ping_method = icmp -- version = 2 -- community = publicphp C: \ Apache2 \ htdocs \ cacti \ cli \ add_device.php -- description = heilongjiang -- ip = 124.42.35.1 -- template = 0 -- avail = ping -- ping_method = icmp -- version = 2 -- community = public Netcom 202.106.196.1 beijing Unicom Hebei Shijiazhuang Unicom Shanxi Taiyuan Unicom 60.216.191.98 Shandong Jinan Unicom 202.102.224.1 Henan Zhengzhou Unicom Henan Nanyang Unicom 58.248.1.2 Guangzhou Unicom Jiangsu Suzhou Unicom Anhui Hefei Unicom 221.212.1.142 Harbin Unicom Jilin Unicom 218.25.4.1 shenyang Unicom 58.17.157.1 Chongqing Unicom php C: \ Apache2 \ htdocs \ cacti \ cli \ add_device.php -- description = beijing-cnc -- ip = 202.106.196.1 -- template = 0 -- avail = ping -- ping_method = icmp -- version = 2 -- community = publicphp c: \ Apache2 \ htdocs \ cacti \ cli \ add_device.php -- description = shijiazhuang-cnc -- ip = 202.99.160.68 -- template = 0 -- avail = ping -- ping_method = icmp -- version = 2 -- community = publicphp c: \ Apache2 \ htdocs \ cacti \ cli \ add_device.php -- description = taiyuan-cnc -- ip = 218.26.123.38 -- template = 0 -- avail = ping -- ping_method = icmp -- version = 2 -- community = publicphp c: \ Apache2 \ htdocs \ cacti \ cli \ add_device.php -- description = jinan-cnc -- ip = 60.216.191.98 -- template = 0 -- avail = ping -- ping_method = icmp -- version = 2 -- community = publicphp c: \ Apache2 \ htdocs \ cacti \ cli \ add_device.php -- description = zhengzhou-cnc -- ip = 125.46.11.1 -- template = 0 -- avail = ping -- ping_method = icmp -- version = 2 -- community = publicphp c: \ Apache2 \ htdocs \ cacti \ cli \ add_device.php -- description = nanyang-cnc -- ip = 61.168.154.174 -- template = 0 -- avail = ping -- ping_method = icmp -- version = 2 -- community = publicphp c: \ Apache2 \ htdocs \ cacti \ cli \ add_device.php -- description = guangzhou-cnc -- ip = 58.248.1.2 -- template = 0 -- avail = ping -- ping_method = icmp -- version = 2 -- community = publicphp c: \ Apache2 \ htdocs \ cacti \ cli \ add_device.php -- description = suzhou-cnc -- ip = 218.104.32.134 -- template = 0 -- avail = ping -- ping_method = icmp -- version = 2 -- community = publicphp c: \ Apache2 \ htdocs \ cacti \ cli \ add_device.php -- description = hefei-cnc -- ip = 218.104.71.168 -- template = 0 -- avail = ping -- ping_method = icmp -- version = 2 -- community = publicphp c: \ Apache2 \ htdocs \ cacti \ cli \ add_device.php -- description = haerbin-cnc -- ip = 221.212.1.142 -- template = 0 -- avail = ping -- ping_method = icmp -- version = 2 -- community = publicphp c: \ Apache2 \ htdocs \ cacti \ cli \ add_device.php -- description = jilin-cnc -- ip = 202.98.27.138 -- template = 0 -- avail = ping -- ping_method = icmp -- version = 2 -- community = publicphp c: \ Apache2 \ htdocs \ cacti \ cli \ add_device.php -- description = shenyang-cnc -- ip = 218.25.4.1 -- template = 0 -- avail = ping -- ping_method = icmp -- version = 2 -- community = publicphp c: \ Apache2 \ htdocs \ cacti \ cli \ add_device.php -- description = chongqing-cnc -- ip = 58.17.157.1 -- template = 0 -- avail = ping -- ping_method = icmp -- version = 2 -- community = public php C: \ Apache2 \ htdocs \ cacti \ cli \ add_graphs.php -- host-id = 3 -- graph-type = cg -- graph-template-id = 41php C: \ Apache2 \ htdocs \ cacti \ cli \ add_graphs.php -- host-id = 4 -- graph-type = cg -- graph-template-id = 41php C: \ Apache2 \ htdocs \ cacti \ cli \ add_graphs.php -- host-id = 5 -- graph-type = cg -- graph-template-id = 41php C: \ Apache2 \ htdocs \ cacti \ cli \ add_graphs.php -- host-id = 6 -- graph-type = cg -- graph-template-id = 41php C: \ Apache2 \ htdocs \ cacti \ cli \ add_graphs.php -- host-id = 7 -- graph-type = cg -- graph-template-id = 41php C: \ Apache2 \ htdocs \ cacti \ cli \ add_graphs.php -- host-id = 8 -- graph-type = cg -- graph-template-id = 41php C: \ Apache2 \ htdocs \ cacti \ cli \ add_graphs.php -- host-id = 9 -- graph-type = cg -- graph-template-id = 41php C: \ Apache2 \ htdocs \ cacti \ cli \ add_graphs.php -- host-id = 10 -- graph-type = cg -- graph-template-id = 41php C: \ Apache2 \ htdocs \ cacti \ cli \ add_graphs.php -- host-id = 11 -- graph-type = cg -- graph-template-id = 41php C: \ Apache2 \ htdocs \ cacti \ cli \ add_graphs.php -- host-id = 12 -- graph-type = cg -- graph-template-id = 41php C: \ Apache2 \ htdocs \ cacti \ cli \ add_graphs.php -- host-id = 13 -- graph-type = cg -- graph-template-id = 41php C: \ Apache2 \ htdocs \ cacti \ cli \ add_graphs.php -- host-id = 14 -- graph-type = cg -- graph-template-id = 41php C: \ Apache2 \ htdocs \ cacti \ cli \ add_graphs.php -- host-id = 15 -- graph-type = cg -- graph-template-id = 41php C: \ Apache2 \ htdocs \ cacti \ cli \ add_graphs.php -- host-id = 16 -- graph-type = cg -- graph-template-id = 41php C: \ Apache2 \ htdocs \ cacti \ cli \ add_graphs.php -- host-id = 17 -- graph-type = cg -- graph-template-id = 41php C: \ Apache2 \ htdocs \ cacti \ cli \ add_graphs.php -- host-id = 18 -- graph-type = cg -- graph-template-id = 41php C: \ Apache2 \ htdocs \ cacti \ cli \ add_graphs.php -- host-id = 19 -- graph-type = cg -- graph-template-id = 41php C: \ Apache2 \ htdocs \ cacti \ cli \ add_graphs.php -- host-id = 20 -- graph-type = cg -- graph-template-id = 41php C: \ Apache2 \ htdocs \ cacti \ cli \ add_graphs.php -- host-id = 21 -- graph-type = cg -- graph-template-id = 41php C: \ Apache2 \ htdocs \ cacti \ cli \ add_graphs.php -- host-id = 22 -- graph-type = cg -- graph-template-id = 41php C: \ Apache2 \ htdocs \ cacti \ cli \ add_graphs.php -- host-id = 23 -- graph-type = cg -- graph-template-id = 41php C: \ Apache2 \ htdocs \ cacti \ cli \ add_graphs.php -- host-id = 24 -- graph-type = cg -- graph-template-id = 41php C: \ Apache2 \ htdocs \ cacti \ cli \ add_graphs.php -- host-id = 25 -- graph-type = cg -- graph-template-id = 41php C: \ Apache2 \ htdocs \ cacti \ cli \ add_graphs.php -- host-id = 26 -- graph-type = cg -- graph-template-id = 41php C: \ Apache2 \ htdocs \ cacti \ cli \ add_graphs.php -- host-id = 27 -- graph-type = cg -- graph-template-id = 41php C: \ Apache2 \ htdocs \ cacti \ cli \ add_graphs.php -- host-id = 28 -- graph-type = cg -- graph-template-id = 41php C: \ Apache2 \ htdocs \ cacti \ cli \ add_graphs.php -- host-id = 29 -- graph-type = cg -- graph-template-id = 41php C: \ Apache2 \ htdocs \ cacti \ cli \ add_graphs.php -- host-id = 30 -- graph-type = cg -- graph-template-id = 41php C: \ Apache2 \ htdocs \ cacti \ cli \ add_graphs.php -- host-id = 31 -- graph-type = cg -- graph-template-id = 41php C: \ Apache2 \ htdocs \ cacti \ cli \ add_graphs.php -- host-id = 32 -- graph-type = cg -- graph-template-id = 41php C: \ Apache2 \ htdocs \ cacti \ cli \ add_graphs.php -- host-id = 33 -- graph-type = cg -- graph-template-id = 41php C: \ Apache2 \ htdocs \ cacti \ cli \ add_graphs.php -- host-id = 34 -- graph-type = cg -- graph-template-id = 41php C: \ Apache2 \ htdocs \ cacti \ cli \ add_graphs.php -- host-id = 35 -- graph-type = cg -- graph-template-id = 41php C: \ Apache2 \ htdocs \ cacti \ cli \ add_graphs.php -- host-id = 36 -- graph-type = cg -- graph-template-id = 41php C: \ Apache2 \ htdocs \ cacti \ cli \ add_graphs.php -- host-id = 37 -- graph-type = cg -- graph-template-id = 41php C: \ Apache2 \ htdocs \ cacti \ cli \ add_graphs.php -- host-id = 38 -- graph-type = cg -- graph-template-id = 41php C: \ Apache2 \ htdocs \ cacti \ cli \ add_graphs.php -- host-id = 39 -- graph-type = cg -- graph-template-id = 41 all blame yourself for being too stupid, the script capability is not good, or it will not be so powerful. We need to strengthen this aspect in the future. if you are bored, I will introduce you to a ping value software, which is absolutely practical. refer to the following link: http://viong.blog.51cto.com/844766/660520

 

This article from the "technology lies in tossing" blog, please be sure to keep this source http://viong.blog.51cto.com/844766/660543

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.