contact groups

An open discussion forum for obtaining help with Nagios Core. Nagios Core users of all experience levels are welcome here. Subforum have been created for the discussion of Nagios Core and Nagios Plugin development.

NOTE: The SourceForge.net mailing lists have been deprecated in favor of this forum in order to expedite support and provide additional features not available on the old mailing list.

contact groups

Postby zark » Fri Sep 21, 2018 7:22 pm

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.
zark
 
Posts: 3
Joined: Fri Sep 21, 2018 7:04 pm

Re: contact groups

Postby scottwilkerson » Mon Sep 24, 2018 7:46 am

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
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
User avatar
scottwilkerson
DevOps Engineer
 
Posts: 12048
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises

Re: contact groups

Postby zark » Wed Oct 10, 2018 5:19 pm

ty
zark
 
Posts: 3
Joined: Fri Sep 21, 2018 7:04 pm

Re: contact groups

Postby scottwilkerson » Thu Oct 11, 2018 7:02 am

zark wrote:ty


May we close this case?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
User avatar
scottwilkerson
DevOps Engineer
 
Posts: 12048
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises


Return to Nagios Core

Who is online

Users browsing this forum: montemc999 and 20 guests