Nagios errors !!

Jai Ganesh r_jai_ganesh at yahoo.com
Wed Jan 5 10:37:17 CET 2005


okay, now i am getting this output :

Reading configuration data...
 
Running pre-flight check on configuration data...
 
Checking services...
Error: Contact group 'flcd-admins' specified in
service 'HTTP' for host 'example.com' is not defined
anywhere!
Error: Check period '24x7' specified for service
'HTTP' on host 'example.com' is not defined anywhere!
Error: Notification period '24x7' specified for
service 'HTTP' on host 'example.com' is not defined
anywhere!
Error: Contact group 'flcd-admins' specified in
service 'PING' for host 'example.com' is not defined
anywhere!
Error: Check period '24x7' specified for service
'PING' on host 'example.com' is not defined anywhere!
Error: Notification period '24x7' specified for
service 'PING' on host 'example.com' is not defined
anywhere!
        Checked 2 services.
Checking hosts...
Error: Host 'example.com'  has no default contact
group(s) defined!
Error: Notification period '24x7' specified for host
'example.com' 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...
Warning: Contact group 'admin' is not used in any
hostgroup/service definitions or
host/hostgroup/service escalations!
        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: 1
Total Errors:   14
 
***> One or more problems was encountered while
running the pre-flight check...
 

what next ? still web interface gives the same
error...
thanks for ur continued help



 --- Peter Hicks <peter.hicks at poggs.co.uk> wrote: 
> 
>
*****************************************************************************
> N.B. Please make sure you cc: the list in, as other
> people can then benefit
>      from reading this thread.
>
*****************************************************************************
> 
> On Wed, Jan 05, 2005 at 09:01:49AM +0000, Jai Ganesh
> wrote:
> 
> > hostgroups.cfg :
> > 
> > define hostgroup{
> >         hostgroup_name  flcd-servers
> >         alias           The Free Linux CD Project
> Servers
> >         contact_groups  flcd-admins
> >         members         example.com
> >         members         10.10.22.220
> > }
> 
> As the error said:
> 
>   Error: Invalid hostgroup object directive
> 'contact_groups'.
>   Error: Could not add object property in file
>     '/usr/local/nagios/etc/hostgroups.cfg' on line
> 4.
> 
> 'contact_groups' is not a valid statement inside a
> hostgroup definition -
> see
>
http://nagios.sourceforge.net/docs/2_0/xodtemplate.html#hostgroup.
> 
> The behaviour has changed between Nagios 1.x and
> 2.x, documented in the
> changelog:
> 
>   "Contact group changes - The contact_groups
> directive has been moved from
>   hostgroup definitions to host definitions. This
> was done in order to
>   maintain consistency with the way service contacts
> are specified. Make
>   sure to update your config files!"
> 
> 
> 
> Peter.
> 
> 
>
-------------------------------------------------------
> 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
>  


	
	
		
___________________________________________________________ 
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