Host not found


#1

When I ran
/usr/local/bin/nagios -v nagios.cfg

I go tthe Error as Below:-

Error: Could not find any host matching 'admin-office.net
Error: Could not expand member hosts specified in hostgroup (config file ‘/usr/local/etc/nagios/hostgroups.cfg’, starting on line 13)


#2

I would bet that there is a typo in your hosts file or you don’t have the host specified. If you have a hostgroup you have to have hosts for it.


#3

Well there is host name admin and I checked that hosts.cfg file there is no typing mistakes.But still I m getting that error.