> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:nagios-users-
> [EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED]
> Sent: Friday, December 15, 2006 10:25 AM
> To: [email protected]
> Subject: [Nagios-users] help please..kindly
> 
> After entering all the necessary configurations in the nagiosfiles, i
have
> narrowed down to the following error which i seem not to make head of:
> Error: Invalid max_check_attempts value for host 'localhosts'
> Error: Could not register host (config file
> '/usr/local/nagios/etc/localhost.cfg', starting on line 175)
> Any idea of where the error might be coming from since ive gone
through

Within the host definition that begins on line 175 of localhost.cfg.
It'll be the line that begins with 'max_check_attempts' and ends with an
invalid value ;) Probably starts out like --

define host {
        host_name       localhosts
        ...
        max_check_attempts      <something wrong here>
}

http://nagios.sourceforge.net/docs/2_0/xodtemplate.html#host will help
you with what should be there.

> And something else, when i access the web interface i get an Internal
> server Error talking of a misconfiguration

You've got to give us more than that it you seriously want help. When
troubleshooting, specific error messages are usually the most important
piece of information you could provide. Configuration information and
specific actions you've taken to resolve the problem are a close second.
Also, you're likely to find very useful error information in your web
server's error logs. Finally, review the documentation on configuring
your web server here --
http://nagios.sourceforge.net/docs/2_0/installweb.html

--
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
[email protected]
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

Reply via email to