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

# service hp-snmp-agents restart
You can also manipulate the /opt/hp/hp-snmp-agents/cma.conf file which contains one
or more exclude directives. Any string after the exclude keyword is interpreted as an agent name
that should not be started. Examples include:
exclude cmahealthd
exclude cmastdeqd
These two lines exclude two agents from the startup: the Health Agent (cmahealthd) and the
Standard Equipment Agent (cmastdeqd).
Starting and stopping agents and services
After the initial installation, both the ProLiant Management Agents and the Health Monitor are
loaded. Upon a reboot, the initscripts /etc/init.d/hp-health and /etc/init.d/
hp-snmp-agents reload the Health Monitor and SNMP agents and drivers, even if a different
kernel was used for the new run.
To start and stop the hp-health service at runtime, type:
# /etc/init.d/hp-health stop
# /etc/init.d/hp-health start
Or
# service hp-health stop
# service hp-health start
To start and stop the hp-snmp-agents at runtime, type:
# /etc/init.d/hp-snmp-agents stop
# /etc/init.d/hp-snmp-agents start
Or
# service hp-snmp-agents stop
# service hp-snmp-agents start
Parameters
This section lists parameters for various agents and services.
Table 12: Parameters for NIC agents includes the command line arguments that can be passed to
the NIC agents (cmanicd) from the /opt/hp/hp-snmp-agents/nic/etc/cmanicd script.
Table 12 Parameters for NIC agents
DescriptionParameter
This parameter specifies the number of seconds between data caching and poll
intervals. NIC drivers are only queried when a request comes in and the cached
-p poll_time
information is older than the specified poll interval. The default value is 20 seconds.
The minimum poll time is 10 seconds.
This parameter specifies whether SNMP set commands are allowed for this agent. A
set_state of OK (default) means that SNMP set commands are allowed. A set_state of
NOT_OK means that SNMP set commands are not allowed.
-s set_state
This parameter specifies whether the NIC Agent is allowed to send traps or not. A
trap_state of OK (default) indicates the NIC Agent can send SNMP traps. A trap_state
of NOT_OK means that the NIC Agent is not allowed to send traps.
-t trap_state
For example, to set the poll interval to 30 seconds and prevent traps, change PFLAGS= to PFLAGS="-
p30 -t NOT_OK" in the /opt/hp/hp-snmp-agents/nic/etc/cmanicd script.
22 Customization