.nav

来自「监控大型网络的软件。能够自动发现拓扑结构」· NAV 代码 · 共 17 行

NAV
17
字号
# Important! Do not change this if you don't know what you're doing.# Fields are:# type: 	decides what catid to match on in netbox# interface:	set to 1 if we are gathering if-data# giga:		set to 1 if this is giga-interfaces# table:	what table to gather data from# name:		what field(s) to use as name, may specify join-char with the join-parameter# join:		specify how to join name-fields if more than one# descr:        a complete sql-sentence to fetch info from the database. It might be wise to ensure that#               the values you ask for exists...type = SW,GSWinterface = 1name = module,portjoin = _descr = SELECT portname, type.descr, room.locationid, room.roomid, room.descr FROM swport LEFT JOIN module USING (moduleid) LEFT JOIN netbox USING (netboxid) LEFT JOIN type USING (typeid) LEFT JOIN room USING (roomid) WHERE swportid=$idtable = swport

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?