Page 1 of 3
Problems With Core Config
Posted: Mon Nov 18, 2013 11:35 am
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
Re: Problems With Core Config
Posted: Mon Nov 18, 2013 11:54 am
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?
Re: Problems With Core Config
Posted: Mon Nov 18, 2013 11:56 am
by lmiltchev
Go to the CCM->Services->find your service, click on the "View Text Config" (the diskette icon) and show us the output.
Re: Problems With Core Config
Posted: Mon Nov 18, 2013 1:08 pm
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
Re: Problems With Core Config
Posted: Mon Nov 18, 2013 1:41 pm
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.
Re: Problems With Core Config
Posted: Mon Nov 18, 2013 2:46 pm
by dhughes
Will do - I felt I'd need to do something like that.
Re: Problems With Core Config
Posted: Mon Nov 18, 2013 3:29 pm
by lmiltchev
Sounds good! I will keep this thread open for a while, in case you have more questions.
Re: Problems With Core Config
Posted: Mon Nov 18, 2013 3:42 pm
by dhughes
Thank you! I will be out tomorrow so I won't be working on this again until Wednesday.
Dan
Re: Problems With Core Config
Posted: Mon Nov 18, 2013 4:03 pm
by abrist
Great, we will wait to hear from you then.
Re: Problems With Core Config
Posted: Wed Nov 20, 2013 9:32 am
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?