Ram disk and config errors

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Ram disk and config errors

Post by Box293 »

Ok I think what you need to do is:
  • Edit the host template xiwizard_linuxserver_host
    Alert Settings tab
    Manage Contactgroups button
    Under Contactgroup Options select the + radio
    Click Close
    Click Save
    Apply Configuation
Let me know if this works.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
jbennett
Posts: 522
Joined: Mon Apr 16, 2012 3:00 pm

Re: Ram disk and config errors

Post by jbennett »

I just made the change as requested, applied changes after saving, and went to write configs to file, then verify, and I'm still getting a long list of hosts that have no default contacts or contactgroups defined.
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Ram disk and config errors

Post by Box293 »

Can you please PM me your system profile:
  • Click the Admin menu
    System Config > System Profile
    Click the Download Profile button and PM me that file
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
jbennett
Posts: 522
Joined: Mon Apr 16, 2012 3:00 pm

Re: Ram disk and config errors

Post by jbennett »

Done!
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Ram disk and config errors

Post by Box293 »

Thanks for the profile.

I can still see some issue with some hosts having a contact_groups directive but no values assigned (which would override the template regardless).

Let's try this:

Go into CCM
Tools > Write Config Files
Click the Delete button
It will say "Successfully deleted all Host / Service Config Files"
Click the Write Button
It will show an output of all the files it creates
Click the Verify button

At this point do you still get the warning about hosts not having default contact groups?

In any case you should finish off with.
Quick Tools > Apply Configuration
Click the Apply Configuration button
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
jbennett
Posts: 522
Joined: Mon Apr 16, 2012 3:00 pm

Re: Ram disk and config errors

Post by jbennett »

:(

Unfortunately, they're all coming back still:

Code: Select all

Warning: Host 'xxxx' has no default contacts or contactgroups defined! 
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Ram disk and config errors

Post by lmiltchev »

Can you post the host definition of Host 'xxxx'? Hide sensitive info.
Be sure to check out our Knowledgebase for helpful articles and solutions!
jbennett
Posts: 522
Joined: Mon Apr 16, 2012 3:00 pm

Re: Ram disk and config errors

Post by jbennett »

Code: Select all

###############################################################################
#
# Host configuration file
#
# Created by: Nagios Core Config Manager 2.2.2
# Date:	      2014-10-24 13:57:34
# Version:    Nagios 3.x config file
#
# --- DO NOT EDIT THIS FILE BY HAND --- 
# Nagios CCM will overwrite all manual settings during the next update if you 
# would like to edit files manually, place them in the 'static' directory or 
# import your configs into the CCM by placing them in the 'import' directory.
#
###############################################################################

define host {
	host_name			xxxx
	use				xiwizard_genericnetdevice_host_xxxx
	alias				xxxx 
	display_name			xxxx 
	address				xx.xx.xx.xx
	check_command			check_ping!3000.0,80%!5000.0,100%!!!!!!
	passive_checks_enabled		1
	check_freshness			0
	contact_groups			
	action_url			http://xx.xx.xx.xx/
	icon_image			snmp.png
	_xiwizard			snmp
	register			1
	}	

###############################################################################
#
# Host configuration file
#
# END OF FILE
#
###############################################################################
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Ram disk and config errors

Post by Box293 »

I'm going to be out of the office for a few days and the team is going to look into it more.

From what you are demonstrating, it seems like there is a bug in the bulk modification tool which is causing this blank "contact_groups" directive in the host objects.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
jbennett
Posts: 522
Joined: Mon Apr 16, 2012 3:00 pm

Re: Ram disk and config errors

Post by jbennett »

Sounds good to me. Thanks!
Locked