HP Insight Management Agents 8.40 Managing ProLiant Servers with Linux HOW TO Whitepaper

Managing ProLiant Servers with Linux HOWTO
v8.40
32
2. Start the Threshold agent using the following command:
# /opt/hp/hp-snmp-agents/server/etc/cmasthreshd start
Issue 12 Disabling SNMP sets for a specific agent
Workaround Stop the agent associated with the desired MIB. Change the agent command line argument
set switch to “-s NOT_OK” in the corresponding /opt/hp/hp-snmp-
agents/<agent>/etc/<subagent> file. This disables the SNMP sets for this agent only.
Restart the agent for the changes to take effect.
Issue 13 Disabling SNMP traps for a specific agent
Workaround Stop the agent. Change the agent command line argument trap switch to “-t NOT_OK” in
the /opt/hp/hp-snmp-agents/<agent>/etc/<subagent> file. This disables SNMP traps for
this agent only. Restart the stopped agent for the changes to take effect.
Issue 14 Disabling remote reboot
Workaround Stop the server Standard Equipment Agent with the following command:
# /opt/hp/hp-snmp-agents/server/etc/cmastdeqd stop
Edit /opt/hp/hp-snmp-agents/server/etc/cmastdeqd and change the cmastdeqd agent
command line reboot switch to “-r NOT_OK”. This disables SNMP reboots for this device
only. Restart the Standard Equipment Agent for the new changes to take effect.
Issue 15 Peer Agents will not run
Workaround Check the /var/log/hp-snmp-agents/cma.log file for messages. If it is caused by not running
snmpd, then configure snmpd to start automatically during boot. If you changed the
snmpd.conf files, you must restart snmpd and agents with the following commands:
# /etc/init.d/snmpd restart
# /etc/init.d/hp-snmp-agents restart
Appendix C – hp-snmp-agents command lines and
arguments
Table 18 lists the command lines and Table 19 lists the command arguments for hp-snmp-agents.
Table 18: Command lines for hp-snmp-agents
Component Description Command
Server Agents
cmahostd Host daemon to collect data about installed
software, firmware and agent conditions
/opt/hp/hp-snmp-agents/server/etc/cmahostd
{start|stop|restart|status}
cmapeerd Host daemon collected data made available to
SNMP requesters
/opt/hp/hp-snmp-agents/server/etc/cmapeerd
{start|stop|restart|status}
cmathreshold Daemon to monitor MIB items to exceed a certain
threshold
/opt/hp/hp-snmp-agents/server/etc/cmathreshd
{start|stop|restart|status}