Page 1 of 1

NagiosQL Host not update in Nagios Core

Posted: Tue Apr 12, 2016 2:40 am
by narin_pao
Nagios version 4.1.1
NagiosQL version 3.2.0
CentOS 7
pnp4nagios version 0.6.25
----------------------------------------------------------------------------
vi /usr/local/nagios/etc/nagios.cfg

# You can specify individual object config files as shown below:
#cfg_file=/usr/local/nagios/etc/objects/commands.cfg
#cfg_file=/usr/local/nagios/etc/objects/contacts.cfg
#cfg_file=/usr/local/nagios/etc/objects/timeperiods.cfg
#cfg_file=/usr/local/nagios/etc/objects/templates.cfg

# Definitions for monitoring the local (Linux) host
#cfg_file=/usr/local/nagios/etc/objects/localhost.cfg

# Definitions for monitoring a Windows machine
#cfg_file=/usr/local/nagios/etc/objects/windows.cfg

# Definitions for monitoring a router/switch
#cfg_file=/usr/local/nagios/etc/objects/switch.cfg

# Definitions for monitoring a network printer
#cfg_file=/usr/local/nagios/etc/objects/printer.cfg

# You can also tell Nagios to process all config files (with a .cfg
# extension) in a particular directory by using the cfg_dir
# directive as shown below:

cfg_dir=/etc/nagiosql

----------------------------------------------------------------------------
it verify OK
command : /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg

and restart nagios
command : systemctl restart nagios.service

In First time, The hosts (and services) that I config in Nagiosql shown in Nagios core.
when I modify host or service in Nagiosql (and restart nagios service), The host file (of nagiosql) was changed but the host in Nagios core not change (not sync).

How can I track this problem ?

Thank You

Re: NagiosQL Host not update in Nagios Core

Posted: Tue Apr 12, 2016 1:29 pm
by tmcdonald
Is this using a pre-built VM from us or did you install Core + QL yourself?

Re: NagiosQL Host not update in Nagios Core

Posted: Thu Apr 21, 2016 2:30 pm
by grantdoug
I have the same issue. The install was Core + Nagios QL, not XI.

Re: NagiosQL Host not update in Nagios Core

Posted: Thu Apr 21, 2016 2:34 pm
by tmcdonald
Unfortunately we aren't able to provide support for NagiosQL issues since this is not our product. We offer a pre-built VM that has been tested and is guaranteed to work, but QL + Core installed on their own is out of scope.

Re: NagiosQL Host not update in Nagios Core

Posted: Thu Apr 21, 2016 3:45 pm
by grantdoug
I understand...

Re: NagiosQL Host not update in Nagios Core

Posted: Thu Apr 21, 2016 5:02 pm
by rkennedy
@narin_pao - let us know when you get a chance to get back to us.

Re: NagiosQL Host not update in Nagios Core

Posted: Wed Apr 27, 2016 5:35 pm
by grantdoug
I have overcome this problem adapting a removal script supplied for Nagios XI, then implementing a fresh install of Core 4.1.1 and NagiosQL.

Re: NagiosQL Host not update in Nagios Core

Posted: Thu Apr 28, 2016 9:33 am
by tmcdonald
I'd be careful the first few times you go that route - there are some differences between the original QL code and our CCM we use in XI.

I'll be closing this thread now, but feel free to open another if you need anything in the future!