mirror of
https://github.com/GNS3/gns3-registry.git
synced 2025-01-29 15:43:55 +00:00
fix: extend SNMP view to mib-2; in boot.sh add hostname to DHCP client
This commit is contained in:
parent
1b0756b2d2
commit
5e55f095b9
@ -65,8 +65,10 @@ until [ $x -eq $NUM_BR ]; do
|
||||
ip link set dev br$x up
|
||||
x=$((x+1))
|
||||
done
|
||||
HOSTNAME=`hostname`
|
||||
echo "$HOSTNAME"
|
||||
|
||||
/sbin/udhcpc -R --timeout=1 --tryagain=1 -b -p /var/run/udhcpc.$MGMT_IF.pid -i $MGMT_IF
|
||||
/sbin/udhcpc -R --timeout=1 --tryagain=1 -b -p /var/run/udhcpc.$MGMT_IF.pid -i $MGMT_IF -F $HOSTNAME
|
||||
|
||||
|
||||
if [ -n "$LLDP_CHASSIS_ID" ]; then
|
||||
|
@ -7,10 +7,18 @@
|
||||
# listen on all IPs, default port
|
||||
agentAddress udp:161
|
||||
|
||||
# mib-2
|
||||
view publicview included .1.3.6.1.2.1
|
||||
|
||||
# system
|
||||
view publicview included .1.3.6.1.2.1.1
|
||||
#view publicview included .1.3.6.1.2.1.1
|
||||
|
||||
# interfaces
|
||||
view publicview included .1.3.6.1.2.1.2
|
||||
#view publicview included .1.3.6.1.2.1.2
|
||||
|
||||
# dot1dBridge
|
||||
#view publicview included .1.3.6.1.2.1.17
|
||||
|
||||
# LLDP
|
||||
view publicview included .1.0.8802.1.1.2
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user