📄 links.pod
字号:
=head1 NAMELinks=head1 DESCRIPTIONYou can add, edit and delete entries to the NMIS Links table.These are keyed by subnet, so the subnet field value must be unique.Links are typically autogenerated by 'nmis.pl type=links' as a crontab command, run every 24 hrs - see the install docs.The type=links looks for interfaces with ip addresses and checks via thesubnet mask/ip address if they are adjacent, if they are, it enters themin links.csv. If you are monitoring switches, these are layer 2 and have no ipaddresses, so it can't work out what's connected (unless it's a layer 3switch aka a router).You can manually create links if you wish though. So long as you configure a unique subnet value, the manually created entrieswill survive an auto-generated update.Links is also used by L<Map|map.pod> to draw links between devices on a world map.=head2 subnetA string, of the form x.x.x.x=head2 dependN/A - not used=head2 ifIndex1SNMP ifIndex of the link on endpoint device 1.=head2 ifIndex2SNMP ifIndex of the link on endpoint device 2.=head2 ifSpeedSNMP ifSpeed of link - taken to be the lower speed if the two terminating interfaces have different rates.=head2 ifTypeSNMP ifType of link 1=head2 interface1SNMP ifName of interface 1=head2 interface2SNMP ifName of interface 1=head2 linkSNMP ifDescr of link 1=head2 masksubnet mask associated with 'subnet'=head2 node1name of device that endpoint 1 of this link terminates on=head2 node2name of device that endpoint 2 of this link terminates on=head2 roledevice 1 role from L<Nodes Table|nodes.pod>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -