Question about hosts when setting up

Marc Powell marc at ena.com
Mon Jan 15 23:06:29 CET 2007



> -----Original Message-----
> From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-
> bounces at lists.sourceforge.net] On Behalf Of Formoso, Travis
> Sent: Monday, January 15, 2007 2:04 PM
> To: nagios-users
> Subject: [Nagios-users] Question about hosts when setting up
> 
> Hello,
> 
> 
> 
> I have setup monitoring on our companies website and when I check to
see
> if it will run correctly I get this message.
> 
> 
> 
> Error: Could not find any host matching '(username)'
> 
> Error: Could not expand member hosts specified in hostgroup (config
file
> '/etc/nagios/hostgroups.cfg', starting on line2)

What does the definition starting on line 2 of
/etc/nagios/hostgroups.cfg look like? That's what nagios is complaining
about and it's a unique configuration that you've created. I would guess
that you've included '(username)' on the members line as if it were a
host. You shouldn't. Only host names should go there, not contacts.
 
http://nagios.sourceforge.net/docs/2_0/xodtemplate.html#hostgroup

--
Marc



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
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