different contact_groups not used

Tom Nail tom.nail at amd.com
Thu Oct 4 17:41:30 CEST 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1



Dirk H. Schulz wrote:
> Hi folks,
> 
> we are running Nagios 2.3.1 and use different email contacts that are 
> consolidated in different contact_groups which are used within the host 
> definitions.
> 

Are you doing any templating for your host or service objects? It sounds
like you are overriding your contact_group definition at some point, so
you're going to have to figure out where that is occurring.

> But ALL email notifications are sent to the same contact(_group), not 
> minding which contact_group is used in the host/service definition that 
> email is concerned about.
> 
> I have tried to find a fault in nagios.cfg and in the several other cfg 
> files, but there seems to be none.
> 
> Any help or hint is appreciated.
> 
> Dirk

It's hard to tell what you have defined without looking over your config
file(s), but for starters, what does the command "nagios -v
/path/to/nagios_config_file" show? Are there any contact errors?

Cheers,

- -=Tom Nail
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHBQmq1zsLRjt/NQ0RAtsBAJwMgDlT1jv3Lns55DBBLQduSzNK/ACcDfow
aImKZDCWJZtIqdfiBSPSe6w=
=zB4/
-----END PGP SIGNATURE-----



-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
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