Problems With Core Config

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
dhughes
Posts: 25
Joined: Thu Nov 14, 2013 2:24 pm

Problems With Core Config

Post by dhughes »

I have a system that I have a list of processes and programs that I am monitoring. I wanted to add a new alert so I used Core Config Manager to set up the new process. It was a check_local_procs – it passed the test, so I saved it and applied it. It did not show up in the list of processes being monitored. I am very new to Nagios so I’m sort of fumbling around. But I did find under Reconfigure this Host – Monitor - the command that I built using Core Config. I tried the Update button, still without success. Can I get some guidance?

Dan
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Problems With Core Config

Post by abrist »

Go to the core config manager --> services. Search for the service in question. Is it listed as active and synced? Did you add a host to it?
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Problems With Core Config

Post by lmiltchev »

Go to the CCM->Services->find your service, click on the "View Text Config" (the diskette icon) and show us the output.
Be sure to check out our Knowledgebase for helpful articles and solutions!
dhughes
Posts: 25
Joined: Thu Nov 14, 2013 2:24 pm

Re: Problems With Core Config

Post by dhughes »

abrist wrote:Go to the core config manager --> services. Search for the service in question. Is it listed as active and synced? Did you add a host to it?
No, it's not there and I did add a host to it.


I applied it again - it said it was succesfull - here is the output:

Code: Select all

Nagios Core 3.5.0
Copyright (c) 2009-2011 Nagios Core Development Team and Community Contributors
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 03-15-2013
License: GPL

Website: http://www.nagios.org
Reading configuration data...
   Read main config file okay...
Processing object config directory '/usr/local/nagios/etc/static'...
Processing object config file '/usr/local/nagios/etc/static/xitest.cfg'...
Processing object config file '/usr/local/nagios/etc/static/xiobjects.cfg'...
Processing object config file '/usr/local/nagios/etc/static/xitemplates.cfg'...
Processing object config file '/usr/local/nagios/etc/contacttemplates.cfg'...
Processing object config file '/usr/local/nagios/etc/contactgroups.cfg'...
Processing object config file '/usr/local/nagios/etc/contacts.cfg'...
Processing object config file '/usr/local/nagios/etc/timeperiods.cfg'...
Processing object config file '/usr/local/nagios/etc/commands.cfg'...
Processing object config file '/usr/local/nagios/etc/hostgroups.cfg'...
Processing object config file '/usr/local/nagios/etc/servicegroups.cfg'...
Processing object config file '/usr/local/nagios/etc/hosttemplates.cfg'...
Processing object config file '/usr/local/nagios/etc/servicetemplates.cfg'...
Processing object config file '/usr/local/nagios/etc/servicedependencies.cfg'...
Processing object config file '/usr/local/nagios/etc/serviceescalations.cfg'...
Processing object config file '/usr/local/nagios/etc/hostdependencies.cfg'...
Processing object config file '/usr/local/nagios/etc/hostescalations.cfg'...
Processing object config file '/usr/local/nagios/etc/hostextinfo.cfg'...
Processing object config file '/usr/local/nagios/etc/serviceextinfo.cfg'...
Processing object config directory '/usr/local/nagios/etc/hosts'...
Processing object config file '/usr/local/nagios/etc/hosts/umbin1.umaryland.edu.cfg'...
Processing object config file '/usr/local/nagios/etc/hosts/localhost.cfg'...
Processing object config file '/usr/local/nagios/etc/hosts/zone45.umaryland.edu.cfg'...
Processing object config file '/usr/local/nagios/etc/hosts/simsfs01.umaryland.edu.cfg'...
Processing object config file '/usr/local/nagios/etc/hosts/gpdb.umaryland.edu.cfg'...
Processing object config directory '/usr/local/nagios/etc/services'...
Processing object config file '/usr/local/nagios/etc/services/umbin1.umaryland.edu.cfg'...
Processing object config file '/usr/local/nagios/etc/services/localhost.cfg'...
Processing object config file '/usr/local/nagios/etc/services/zone45.umaryland.edu.cfg'...
Processing object config file '/usr/local/nagios/etc/services/simsfs01.umaryland.edu.cfg'...
Processing object config file '/usr/local/nagios/etc/services/gpdb.umaryland.edu.cfg'...
   Read object config files okay...

Running pre-flight check on configuration data...

Checking services...
Warning: Service '/ Disk Usage' on host 'simsfs01.umaryland.edu' has no default contacts or contactgroups defined!
Warning: Service 'CPU Stats' on host 'simsfs01.umaryland.edu' has no default contacts or contactgroups defined!
Warning: Service 'Cron Scheduling Daemon' on host 'simsfs01.umaryland.edu' has no default contacts or contactgroups defined!
Warning: Service 'Load' on host 'simsfs01.umaryland.edu' has no default contacts or contactgroups defined!
Warning: Service 'Memory Usage' on host 'simsfs01.umaryland.edu' has no default contacts or contactgroups defined!
Warning: Service 'Open Files' on host 'simsfs01.umaryland.edu' has no default contacts or contactgroups defined!
Warning: Service 'Ping' on host 'simsfs01.umaryland.edu' has no default contacts or contactgroups defined!
Warning: Service 'SSH Server' on host 'simsfs01.umaryland.edu' has no default contacts or contactgroups defined!
Warning: Service 'Sendmail' on host 'simsfs01.umaryland.edu' has no default contacts or contactgroups defined!
Warning: Service 'Total Processes' on host 'simsfs01.umaryland.edu' has no default contacts or contactgroups defined!
Warning: Service 'Users' on host 'simsfs01.umaryland.edu' has no default contacts or contactgroups defined!
	Checked 37 services.
Checking hosts...
Warning: Host 'simsfs01.umaryland.edu' has no default contacts or contactgroups defined!
	Checked 5 hosts.
Checking host groups...
	Checked 22 host groups.
Checking service groups...
	Checked 0 service groups.
Checking contacts...
	Checked 3 contacts.
Checking contact groups...
	Checked 13 contact groups.
Checking service escalations...
	Checked 0 service escalations.
Checking service dependencies...
	Checked 0 service dependencies.
Checking host escalations...
	Checked 0 host escalations.
Checking host dependencies...
	Checked 0 host dependencies.
Checking commands...
	Checked 108 commands.
Checking time periods...
	Checked 9 time periods.
Checking for circular paths between hosts...
Checking for circular host and service dependencies...
Checking global event handlers...
Checking obsessive compulsive processor commands...
Checking misc settings...

Total Warnings: 12
Total Errors:   0
Things look okay - No serious problems were detected during the pre-flight check
Last edited by slansing on Mon Nov 18, 2013 1:39 pm, edited 2 times in total.
Reason: Do not make double posts, just edit your previous post, thank you. Also, please use code wraps for your code.
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Problems With Core Config

Post by slansing »

Please re-create your host, and the check under it by following some of the guidelines here:

http://assets.nagios.com/downloads/nagi ... gement.pdf

Once they are both created, apply configuration.
dhughes
Posts: 25
Joined: Thu Nov 14, 2013 2:24 pm

Re: Problems With Core Config

Post by dhughes »

Will do - I felt I'd need to do something like that.
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Problems With Core Config

Post by lmiltchev »

Sounds good! I will keep this thread open for a while, in case you have more questions.
Be sure to check out our Knowledgebase for helpful articles and solutions!
dhughes
Posts: 25
Joined: Thu Nov 14, 2013 2:24 pm

Re: Problems With Core Config

Post by dhughes »

Thank you! I will be out tomorrow so I won't be working on this again until Wednesday.

Dan
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Problems With Core Config

Post by abrist »

Great, we will wait to hear from you then.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
dhughes
Posts: 25
Joined: Thu Nov 14, 2013 2:24 pm

Re: Problems With Core Config

Post by dhughes »

Okay, I'm starting to feel a bit fooling here. In my zeal to get think right I deleted the host complelely. So, I guess I'm at a blank slate.

From here, would it be best to use the Solaris Monitoring Wizard and re-add the system and then follow the steps you have provided or should I set the system up in advance using http://assets.nagios.com/downloads/nagi ... gement.pdf?
Locked