NagiosQL Host not update in Nagios Core

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
narin_pao
Posts: 1
Joined: Thu Mar 31, 2016 10:08 pm

NagiosQL Host not update in Nagios Core

Post 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
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: NagiosQL Host not update in Nagios Core

Post by tmcdonald »

Is this using a pre-built VM from us or did you install Core + QL yourself?
Former Nagios employee
grantdoug
Posts: 31
Joined: Wed Jan 20, 2016 4:33 pm

Re: NagiosQL Host not update in Nagios Core

Post by grantdoug »

I have the same issue. The install was Core + Nagios QL, not XI.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: NagiosQL Host not update in Nagios Core

Post 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.
Former Nagios employee
grantdoug
Posts: 31
Joined: Wed Jan 20, 2016 4:33 pm

Re: NagiosQL Host not update in Nagios Core

Post by grantdoug »

I understand...
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: NagiosQL Host not update in Nagios Core

Post by rkennedy »

@narin_pao - let us know when you get a chance to get back to us.
Former Nagios Employee
grantdoug
Posts: 31
Joined: Wed Jan 20, 2016 4:33 pm

Re: NagiosQL Host not update in Nagios Core

Post 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.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: NagiosQL Host not update in Nagios Core

Post 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!
Former Nagios employee
Locked