Added Host and I not getting any alert

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
Kimba7070
Posts: 34
Joined: Sat Oct 12, 2013 1:20 pm

Added Host and I not getting any alert

Post by Kimba7070 »

I have added the host through the CCM and I have configured alerts to be sent to my email I have not received any

Please advise

Thank you
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Added Host and I not getting any alert

Post by tmcdonald »

We will need a lot more details in order to help:

What version of XI are you using?
Have you clicked "Apply Config"?
Did you assign a user or a contact to the host?

Can you post the config for the host? Find it in the CCM and click the diskette icon to the right for "View Text Config" and paste the results here.
Former Nagios employee
Kimba7070
Posts: 34
Joined: Sat Oct 12, 2013 1:20 pm

Re: Added Host and I not getting any alert

Post by Kimba7070 »

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/xitemplates.cfg'...
Processing object config file '/usr/local/nagios/etc/static/xiobjects.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/192.168.17.2.cfg'...
Processing object config file '/usr/local/nagios/etc/hosts/192.168.130.68.cfg'...
Processing object config file '/usr/local/nagios/etc/hosts/192.168.130.70.cfg'...
Processing object config file '/usr/local/nagios/etc/hosts/128.11.72.117.cfg'...
Processing object config file '/usr/local/nagios/etc/hosts/192.168.130.73.cfg'...
Processing object config file '/usr/local/nagios/etc/hosts/192.168.130.80.cfg'...
Processing object config file '/usr/local/nagios/etc/hosts/localhost.cfg'...
Processing object config file '/usr/local/nagios/etc/hosts/192.168.130.77.cfg'...
Processing object config file '/usr/local/nagios/etc/hosts/192.168.130.69.cfg'...
Processing object config directory '/usr/local/nagios/etc/services'...
Processing object config file '/usr/local/nagios/etc/services/192.168.130.68.cfg'...
Processing object config file '/usr/local/nagios/etc/services/192.168.130.70.cfg'...
Processing object config file '/usr/local/nagios/etc/services/192.168.130.73.cfg'...
Processing object config file '/usr/local/nagios/etc/services/192.168.130.80.cfg'...
Processing object config file '/usr/local/nagios/etc/services/localhost.cfg'...
Processing object config file '/usr/local/nagios/etc/services/192.168.130.77.cfg'...
Processing object config file '/usr/local/nagios/etc/services/192.168.130.69.cfg'...
Error: Invalid max_attempts, check_interval, retry_interval, or notification_interval value for service 'BBCS-Queues-Stage' on host '192.168.130.68'
Error: Could not register service (config file '/usr/local/nagios/etc/services/192.168.130.70.cfg', starting on line 48)
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 defintions. 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.
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Added Host and I not getting any alert

Post by slansing »

Okay, so you are missing a number of config definitions that will cause you to not receive notifications. I would read through each definition that the verification showed you it failed on and make sure you assign the correct values from the CCM:

http://nagios.sourceforge.net/docs/3_0/ ... tions.html
Kimba7070
Posts: 34
Joined: Sat Oct 12, 2013 1:20 pm

Re: Added Host and I not getting any alert

Post by Kimba7070 »

thank you for the link it was helpful
Locked