官术网_书友最值得收藏!

Conventions

In this book, you will find a number of text styles that distinguish between different kinds of information. Here are some examples of these styles and an explanation of their meaning.

Code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles are shown as follows: "On the Zabbix server-side, you need to carefully set the value of StartTrappers=."

A block of code is set as follows:

#First of all we need to import csv and Networkx
import csv
import networkx as nx
#Then we need to define who is our zabbix server and some other detail to properly produce the DOT file
zabbix_service_ipaddr = "192.168.1.100"
main_loop_ipaddr = "10.12.20.1"

When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:

# we can open our CSV file
csv_reader = csv.DictReader( open( 'my_export.csv' ), \
 delimiter=",", \
 fieldnames=( "ipaddress", "hostname", "oid", "dontcare", "neighbors" ))
# Skip the header
csv_reader.next()

Any command-line input or output is written as follows:

# chkconfig --level 345 zabbix-server on

New terms and important words are shown in bold. Words that you see on the screen, for example, in menus or dialog boxes, appear in the text like this: "There is a clear warning on the website that warns us with this statement: The Appliance is not intended for serious production use at this time."

Note

Warnings or important notes appear in a box like this.

Tip

Tips and tricks appear like this.

主站蜘蛛池模板: 黄梅县| 鸡东县| 武义县| 景东| 商丘市| 蒙阴县| 洪江市| 从江县| 永寿县| 图木舒克市| 芮城县| 四平市| 廊坊市| 凉城县| 鄂托克旗| 普兰店市| 岑溪市| 土默特左旗| 宁晋县| 凤台县| 镇平县| 虎林市| 聂荣县| 封开县| 木兰县| 秦安县| 玉溪市| 明溪县| 武胜县| 扬州市| 峨眉山市| 巢湖市| 察隅县| 福建省| 布拖县| 潜江市| 文山县| 高邑县| 汝阳县| 东乡族自治县| 望江县|