nagios设置gtalk为报警方式
时间:2010-09-25 来源:hx10
contacts.cfg的内容如下:
- define contact{
- contact_name nagiosadmin ; Short name of user
- use generic-contact ; Inherit default values from generic-contact template (defined above)
- alias Nagios Admin ; Full name of user
- pager hx10,hx100 ; gtalk
- email support@hx10.com ; <<***** CHANGE THIS TO YOUR EMAIL ADDRESS ******
- }
- ###############################################################################
- ###############################################################################
- #
- # CONTACT GROUPS
- #
- ###############################################################################
- ###############################################################################
- # We only have one contact in this simple configuration file, so there is
- # no need to create more than one contact group.
- define contactgroup{
- contactgroup_name admins
- alias Nagios Administrators
- members nagiosadmin
- }
相关阅读 更多 +