Nagios Error: Could not find any host matching/Could not expand hostgroups and/or hosts
Jim Avery
jim at jimavery.me.uk
Sat Apr 4 09:55:56 CEST 2009
> Error: Could not find any host matching 'win4503'
Nagios has found an object which refers to a host called win4503, but
can't find a host definition for it anywhere in your configuration
files.
> Error: Could not expand hostgroups and/or hosts specified in service (config
> file '/usr/local/nagios/etc/windows.cfg', starting on line 36)
This tells you where Nagios found this problem.
It looks like you have defined a service in your windows.cfg file, but
have not created a host definition for host "win4503'. Have a look
through the sample configuration files to see what a host definition
should look like, or see
http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html#host
An excellent way to get started with Nagios is to read the book
"Nagios" by Wolfgang Barth. http://nostarch.com/nagios_2e.htm
hth,
Jim
------------------------------------------------------------------------------
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list