惠普系统pipe理电子邮件通知Linux

有没有人知道一个方法让惠普Linux服务器发送和发送电子邮件时,确定问题,如硬盘故障? 惠普系统manament安装,但是我只能看到SNMP和没有电子邮件选项。 什么是最好的解决scheme呢?

谢谢

您需要确保已安装HP ProLiant Support Pack或HP Service Pack for ProLiant软件包。 这可以通过几种方法之一完成。 tar.gz存档,HP SPP DVD,或者我的首选方法,通过Yum和HP Software Delivery Repository 。

一旦你安装了这些软件包,获取SNMP陷阱和电子邮件通知很容易。

对于电子邮件,只需编辑/opt/hp/hp-snmp-agents/cma.conf

trapemail节下,或者replace“root”的电子邮件目的地或在操作系统级,将根邮件redirect到适当的地方。

 ######################################################################## # trapemail is used for configuring email command(s) which will be # executed whenever a SNMP trap is generated. # Multiple trapemail lines are allowed. # Note: any command that reads standard input can be used. For example: # trapemail /usr/bin/logger # will log trap messages into system log (/var/log/messages). ######################################################################## trapemail /bin/mail -s 'HP Insight Management Agents Trap Alarm' [email protected] 

保存该文件并使用service hp-snmp-agents restart HPpipe理代理。 拉动电源线,断开ILO网线或testing电子邮件警报。