Nagios errors !!

Jai Ganesh r_jai_ganesh at yahoo.com
Wed Jan 5 10:56:23 CET 2005


okay, i get this now

Checking services...
Error: Check period '24x7' specified for service
'HTTP' on host '10.10.22.220' is not defined anywhere!
Error: Notification period '24x7' specified for
service 'HTTP' on host '10.10.22.220' is not defined
anywhere!
Error: Check period '24x7' specified for service
'PING' on host '10.10.22.220' is not defined anywhere!
Error: Notification period '24x7' specified for
service 'PING' on host '10.10.22.220' is not defined
anywhere!
        Checked 2 services.
Checking hosts...
Error: Host '10.10.22.220'  has no default contact
group(s) defined!
Error: Notification period '24x7' specified for host
'10.10.22.220' is not defined anywhere!
        Checked 1 hosts.
Checking host groups...
        Checked 1 host groups.
Checking service groups...
        Checked 0 service groups.
Checking contacts...
Error: Service notification command 'notify-by-epager'
specified for contact 'admin' is not defined anywhere!
Error: Service notification command 'notify-by-email'
specified for contact 'admin' is not defined anywhere!
Error: Host notification command
'host-notify-by-epager' specified for contact 'admin'
is not defined anywhere!
Error: Host notification command
'host-notify-by-email' specified for contact 'admin'
is not defined anywhere!
Error: Service notification period '24x7' specified
for contact 'admin' is not defined anywhere!
Error: Host notification period '24x7' specified for
contact 'admin' is not defined anywhere!
        Checked 1 contacts.
Checking contact groups...
        Checked 1 contact groups.
Checking service escalations...
        Checked 0 service escalations.
Checking service dependencies...
        Checked 0 service dependencies.
Checking host escalations...
        Checked 0 host escalations.
Checking host dependencies...
        Checked 0 host dependencies.
Checking commands...
        Checked 16 commands.
Checking time periods...
        Checked 0 time periods.
Checking extended host info definitions...
        Checked 0 extended host info definitions.
Checking extended service info definitions...
        Checked 0 extended service info definitions.
Checking for circular paths between hosts...
Checking for circular host and service dependencies...
Checking global event handlers...
Checking obsessive compulsive processor commands...
Checking misc settings...
 
Total Warnings: 0
Total Errors:   12
 
***> One or more problems was encountered while
running the pre-flight check...


example.com is renamed to 10.10.22.220



 --- Peter Hicks <peter.hicks at poggs.co.uk> wrote: 
> On Wed, Jan 05, 2005 at 09:26:43AM +0000, Jai Ganesh
> wrote:
> 
> > now i get this error :
> > 
> > /usr/local/nagios/bin/nagios -v
> > /usr/local/nagios/etc/nagios.cfg
> > 
> > Error: Invalid host object directive '#'.
> > Error: Could not add object property in file
> > '/usr/local/nagios/etc/hosts.cfg' on line 3.
> 
> The hosts.cfg you've pasted has line-wraps:
> 
> > # Generic host definition template
> > define host{
> >  # The name of this host template - referenced i
> >  name                            generic-host
> >  n other host definitions, used for template
> > recursion/resolution
> >  # Host notifications are enabled
> >  notifications_enabled           1
> 
> Comments start from a # and run to the end of the
> line - they don't span
> multiple lines.  Can you remove the comments and run
> nagios -v again?
> 
> Best wishes,
> 
> 
> Peter.
>  


	
	
		
___________________________________________________________ 
ALL-NEW Yahoo! Messenger - all new features - even more fun! http://uk.messenger.yahoo.com


-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
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