Nagios errors in pre-flight

Subhendu Ghosh sghosh at sghosh.org
Thu Jan 9 04:15:10 CET 2003


the use statement below refers to a template - not a contact group.

Perhaps your service-template "int-pri-page" needs to have a contact_group 
field called "int-pri-page"

-sg

On Wed, 8 Jan 2003, Scott Whitney wrote:

> I've been looking at this for awhile, and I'm a little confused.  Perhaps the semantics are confusing me.  This might be boneheaded, but...
> 
> Nagios says:
> Warning: Contact group 'int-pri-page' is not used in any hostgroup/service definitions or host/hostgroup/service escalations!
> Warning: Contact group 'int-sec-email' is not used in any hostgroup/service definitions or host/hostgroup/service escalations!
> Warning: Contact group 'int-sec-page' is not used in any hostgroup/service definitions or host/hostgroup/service escalations!
> Warning: Contact group 'john' is not used in any hostgroup/service definitions or host/hostgroup/service escalations!
> Warning: Contact group 'nagios' is not used in any hostgroup/service definitions or host/hostgroup/service escalations!
> 
> These are all used in quite a few service definitions.  About what, exactly, is it complaining?
> 
> Sample from the config where you will see that a couple of these are definitely used:
> 
> ####################### BEGIN SERVICE DEFINITION #######################
> define service {
>   use                             int-service
>   host_name                       lorax
>   service_description             disk_root
>   check_command                   check_nrpe!root
> }
> 
> define serviceescalation {
>   use                             int-pri-page
>   host_name                       lorax
>   service_description             disk_root
> }
> define serviceescalation {
>   use                             int-sec-email
>   host_name                       lorax
>   service_description             disk_root
> }
> define serviceescalation {
>   use                             int-sec-page
>   host_name                       lorax
>   service_description             disk_root
> }
> ######################## END SERVICE DEFINITION ########################
> 

-- 




-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com




More information about the Users mailing list