<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.2769" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=433472515-07032007><FONT face=Arial
color=#0000ff size=2>Hey All,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=433472515-07032007><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=433472515-07032007><FONT face=Arial
color=#0000ff size=2>Its only a wild guess but there is a space in your config
file name ....</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=433472515-07032007><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=433472515-07032007>config file
'/opt/hptc/nagios/etc/xc- hostgroups.cfg',</SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=433472515-07032007><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=433472515-07032007><FONT face=Arial
color=#0000ff size=2>xc- hostgroups.cfg</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=433472515-07032007><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=433472515-07032007><FONT face=Arial
color=#0000ff size=2>Should it not be xc-hostgroups.cfg.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=433472515-07032007><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=433472515-07032007><FONT face=Arial
color=#0000ff size=2>Check your nagios.cfg file where you specified the above
filename and verify it is the same as the actual hostgroups.cfg
file.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=433472515-07032007><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=433472515-07032007><FONT face=Arial
color=#0000ff size=2>HTH</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=433472515-07032007><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=433472515-07032007><FONT face=Arial
color=#0000ff size=2>Tom</FONT></SPAN></DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> nagios-users-bounces@lists.sourceforge.net
[mailto:nagios-users-bounces@lists.sourceforge.net] <B>On Behalf Of
</B>srikalyan tangirala<BR><B>Sent:</B> 07 March 2007 14:03<BR><B>To:</B>
Nagios-users@lists.sourceforge.net<BR><B>Subject:</B> Re: [Nagios-users] NAGIOS
2.3.1 version issues<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV>Hi all: </DIV>
<DIV> As
I'm trying to verify the configuration file, I'm getting this error message. We
have this HP Cluster setup and NAGIOS is installed there. There are 18 nodes(n1
through n18) n18 being the main node. All the nodes are up and running. Can any
one help me out? </DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV>Best,</DIV>
<DIV>Sri</DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT><FONT face=Arial color=#0000ff
size=2></FONT><BR> </DIV>
<P>-bash-3.00# /opt/hptc/nagios/bin/nagios -v
/opt/hptc/nagios/etc/nagios.cfg</P>
<P>Nagios 2.3.1<BR>Copyright (c) 1999-2006 Ethan Galstad (<A
href="http://www.nagios.org/">http://www.nagios.org</A>)<BR>Last Modified:
05-15-2006<BR>License: GPL</P>
<P>Reading configuration data...</P>
<P>Warning: Could not get group entry for 'nagios'<BR>Error: Could not find any
host matching 'n1'<BR>Error: Could not expand member hosts specified in
hostgroup (config file '/opt/hptc/nagios/etc/xc- hostgroups.cfg', starting on
line 90)</P>
<P>***> One or more problems was encountered while processing the config
files...</P>
<P> Check your configuration file(s) to ensure that they
contain valid<BR> directives and data defintions.
If you are upgrading from a previous<BR> version of
Nagios, you should be aware that some variables/definitions
<BR> may have been removed or modified in this
version. Make sure to read<BR> the HTML
documentation regarding the config files, as well as
the<BR> 'Whats New' section to find out what has
changed.<BR></P><BR>
<DIV><SPAN class=gmail_quote>On 3/5/07, <B class=gmail_sendername>srikalyan
tangirala</B> <<A
href="mailto:srikalyan.tangirala@gmail.com">srikalyan.tangirala@gmail.com</A>>
wrote:</SPAN>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<DIV>Hi All:</DIV>
<DIV>
I'm using NAGIOS 2.3.1 version.Installed and configured it with authenticated
users as nagiosadmin and guest. Now, when I logged in as nagiosadmin and
trying to check if the services under Monitoring list works, they dont
seem to work and the information that it provides is the below. I configured
the additional permissions to CGI also with system information, commands, all
hosts,services according to the documentation. It does not seem to
work. Can anyone help me? I'm a newbie and need some help. </DIV>
<DIV> </DIV>
<DIV>Whoops!</DIV>
<P><STRONG><FONT color=red>Error: Could not read host and service status
information!</FONT></STRONG></P>
<P>The most common cause of this error message (especially for new users), is
the fact that Nagios is not actually running. If Nagios is indeed not running,
this is a normal error message. It simply indicates that the CGIs could not
obtain the current status of hosts and services that are being monitored. If
you've just installed things, make sure you read the documentation on starting
Nagios. </P>
<P>Some other things you should check in order to resolve this error include:
</P>
<P>
<OL>
<LI>Check the Nagios log file for messages relating to startup or status
data errors.
<LI>Always verify configuration options using the <B>-v</B> command-line
option before starting or restarting Nagios!
<LI>Make sure you've compiled the main program and the CGIs to use the same
status data storage options (i.e. text file or database). If the main
program is storing status data in a text file and the CGIs are trying to
read status data from a database, you'll have problems. </LI></OL>
<P></P>
<DIV>Make sure you read the documentation on installing, configuring and
running Nagios thoroughly before continuing. If all else fails, try sending a
message to one of the mailing </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>thanks </DIV>
<DIV>sri</DIV>
<P></P>
<P></P></BLOCKQUOTE></DIV><BR></BODY></HTML>