Page 1 of 1

contact groups

Posted: Fri Sep 21, 2018 7:22 pm
by zark
Folks,
I am new to this have tried googling and I decided to post here, This is the error I am getting.

[root@nagios objects]# /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg

Nagios Core 4.4.2
Copyright (c) 2009-present Nagios Core Development Team and Community Contributors
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 2018-08-16
License: GPL

Website: https://www.nagios.org
Reading configuration data...
Read main config file okay...
Error: Contactgroup 'admins' is not defined anywhere
Error: Could not add contactgroup 'admins' to service (config file '/usr/local/nagios/etc/objects/server.cfg', starting on line 117)
Error processing object config files!


***> One or more problems was encountered while processing the config files...

Check your configuration file(s) to ensure that they contain valid
directives and data definitions. If you are upgrading from a previous
version of Nagios, you should be aware that some variables/definitions
may have been removed or modified in this version. Make sure to read
the HTML documentation regarding the config files, as well as the
'Whats New' section to find out what has changed.
======================================================================================================
I am running red hat 6 on my machine, Thank you.

Re: contact groups

Posted: Mon Sep 24, 2018 7:46 am
by scottwilkerson
You either need to create a contactgrouyp "admins" OR you need to remove the admins contactgroup definition from the object that starts on line 117 in /usr/local/nagios/etc/objects/server.cfg

Re: contact groups

Posted: Wed Oct 10, 2018 5:19 pm
by zark
ty

Re: contact groups

Posted: Thu Oct 11, 2018 7:02 am
by scottwilkerson
zark wrote:ty
May we close this case?

Re: contact groups

Posted: Tue Oct 30, 2018 11:13 am
by zark
Yes and thank you, sir.

Re: contact groups

Posted: Tue Oct 30, 2018 2:17 pm
by benjaminsmith
Yes and thank you, sir.
Thank you for using the Nagios customer support forums.