Deploying Debian 5 GNU/Linux with Insight Control for Linux Version 6.0 and 6.1
16
cat <<EOF5 > /etc/snmp/HostGUID.sh
#!/bin/sh
echo .1.3.6.1.4.1.232.11.2.10.3.0
echo string
echo "$HostGUID"
EOF5
cat <<EOF6 > /etc/snmp/OsName.sh
#!/bin/sh
echo .1.3.6.1.4.1.232.11.2.2.1.0.15
echo string
echo "$osname"
EOF6
chmod +x /etc/snmp/CntlrAgentLocation.sh
chmod +x /etc/snmp/ProductName.sh
chmod +x /etc/snmp/MibStatusArray.sh
chmod +x /etc/snmp/HostGUID.sh
chmod +x /etc/snmp/OsName.sh
###########################################
#
# Configure SNMP to serve the Info
#
###########################################
#
# HP SIM address
#
HPSIM=$HP_SIM_Server_IP_Address
cat - /etc/snmp/snmpd.conf <<EOF > /etc/snmp/snmpd.conf.new
###########################################
#
# HP ICELX authorization
#
trapsink $HPSIM
rocommunity public $HPSIM
rocommunity 127.0.0.1
###########################################
#
# HP ICELX Overrides
#
pass .1.3.6.1.4.1.232.9.2.2.10.0 /etc/snmp/CntlrAgentLocation.sh
pass .1.3.6.1.4.1.232.2.2.4.2.0 /etc/snmp/ProductName.sh
pass .1.3.6.1.4.1.232.11.2.10.1.0 /etc/snmp/MibStatusArray.sh
pass .1.3.6.1.4.1.232.11.2.10.3.0 /etc/snmp/HostGUID.sh
pass .1.3.6.1.4.1.232.11.2.2.1.0 /etc/snmp/OsName.sh
EOF
mv /etc/snmp/snmpd.conf /etc/snmp/snmpd.conf.old
mv /etc/snmp/snmpd.conf.new /etc/snmp/snmpd.conf
4. Save the file and exit the text editor.
Step 10: Installing Debian5-i386 on a target system
You can now install the Debian5-i386 operating system on a target managed system. The instructions
for installing an operating system to a target managed system are in the section titled āGeneric
procedure for installing an OS to one or more managed systemsā of the HP Insight Control
Environment for Linux User Guide. This section supplements the procedure in that section.
Before you begin, you will need the following information: