contact groups

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
zark
Posts: 5
Joined: Fri Sep 21, 2018 7:04 pm

contact groups

Post 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.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: contact groups

Post 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
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
zark
Posts: 5
Joined: Fri Sep 21, 2018 7:04 pm

Re: contact groups

Post by zark »

ty
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: contact groups

Post by scottwilkerson »

zark wrote:ty
May we close this case?
Former Nagios employee
Creator:
ahumandesign.com
enneagrams.com
zark
Posts: 5
Joined: Fri Sep 21, 2018 7:04 pm

Re: contact groups

Post by zark »

Yes and thank you, sir.
benjaminsmith
Posts: 5324
Joined: Wed Aug 22, 2018 4:39 pm
Location: saint paul

Re: contact groups

Post by benjaminsmith »

Yes and thank you, sir.
Thank you for using the Nagios customer support forums.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked