- 论坛徽章:
- 0
|
Website: http://www.nagios.org
Reading configuration data...
Read main config file okay...
Processing object config file '/usr/local/nagios//etc/objects/commands.cfg'...
Processing object config file '/usr/local/nagios//etc/objects/contacts.cfg'...
Processing object config file '/usr/local/nagios//etc/objects/timeperiods.cfg'...
Processing object config file '/usr/local/nagios//etc/objects/templates.cfg'...
Processing object config file '/usr/local/nagios//etc/objects/windows.cfg'...
Processing object config file '/usr/local/nagios//etc/objects/localhost.cfg'...
Processing object config file '/usr/local/nagios//etc/objects/windows.cfg'...
Warning: Duplicate definition found for host 'hehe' (config file '/usr/local/nagios//etc/objects/windows.cfg', starting on line 25)
Error: Could not add object property in file '/usr/local/nagios//etc/objects/windows.cfg' on line 27.
Error processing object config files!
配置文件是这样- # Define a host for the Windows machine we'll be monitoring
- # Change the host_name, alias, and address to fit your situation
- define host{#25行
- use windows-server
- host_name hehe#27行
- alias myhehe
- address 192.168.18.130
- }
复制代码 |
|