Hi
I’ve installed and configured nagios in centos5.5
i can able to log in web
I have 5 linux Server running and UP
I want to monitor this 5 linux server i installed in 1 linux server so 4 linux are not yet monitored
what i did in nagios.cfg is to add new line
Definitions for monitoring the local (Linux) host
cfg_file=/usr/local/nagios/etc/objects/localhost.cfg <----- 1 linux server
cfg_file=/usr/local/nagios/etc/objects/server2.cfg
then
on the objects path i copied the localhost.cfg in server1.cfg
i modified the hostname and group_host
#####host#####
define host{
use linux-server ; Name of host template$
; This host definition $
; in (or inherited by) $
host_name 192.168.50.224
alias Server2
address 192.168.50.224
}
######host_group#####
define hostgroup{
hostgroup_name linux-servers2 ; The name of the hostgroup
alias Server2 ; Long name of the group
members 192.168.50.224 ; Comma separated list of hosts that$
}
when i run the command to confirm theres no error
now what ive noticed is that
the result from localhost.cfg is the same in server2.cfg which i modified some codes
such as:
current load
Current users
partitions
swap
please anyhelp is highly appreciated.
thanks