# vi /usr/local/nagios/etc/objects/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
email testbed.twisc@gmail.com ; <<***** CHANGE THIS TO YOUR EMAIL ADDRESS ******
}
**查Nagios設定是否有問題**
# nagios -v /usr/local/nagios/etc/nagios.cfg
**重新啟動Nagios**
# rcnagios restart
**Windows client安裝**
下載:http://sourceforge.net/projects/nscplus/files/nscplus/
此次選擇:NSCP-0.4.1.90-win32.zip
Allowed hosts:設定Nagios Server的IP
password:選項
Modules to load:前三項需勾選
此次選擇:NSCP-0.4.1.90-win32.zip
Allowed hosts:設定Nagios Server的IP
password:選項
Modules to load:前三項需勾選
安裝完成於cmd執行:netstat -abn -p tcp
查看是否有執行:
TCP 0.0.0.0:12489 0.0.0.0:0 LISTENING 3464