Page 2 of 2

Re: newvs1.nagios.com and Nagios XI

Posted: Tue Apr 30, 2013 1:12 pm
by disrael
scottwilkerson wrote:I don't see anything in here that is calling out to api.nagios.com
i had it filtered out, there was another:

Code: Select all

tcpdump | grep nagios
14:11:02.952378 IP usa7061lv981.62915 > usa7061ns004.na.XYZ.net.domain: 36331+                                                                                         A? api.nagios.com. (32)
14:11:02.952387 IP usa7061lv981.62915 > usa7061ns004.na.XYZ.net.domain: 52189+                                                                                         AAAA? api.nagios.com. (32)
14:11:02.953151 IP usa7061ns004.na.XYZ.net.domain > usa7061lv981.62915: 36331 2/0/0 CNAME vs1.nagios.com., A 50.116.21.73 (66)
14:11:02.953208 IP usa7061ns004.na.XYZ.net.domain > usa7061lv981.62915: 52189 1/1/0 CNAME vs1.nagios.com. (120)
PM sent for the two servers

Re: newvs1.nagios.com and Nagios XI

Posted: Tue Apr 30, 2013 1:20 pm
by scottwilkerson
Also, can you run the following as root on both

Code: Select all

  echo "select * from xi_options where name='auto_update_check';"|psql nagiosxi nagiosxi

Re: newvs1.nagios.com and Nagios XI

Posted: Tue Apr 30, 2013 1:28 pm
by scottwilkerson
I think I have this sorted out. Pouring through the code, it is requiring one update to be successful (we will need to rethink this.

For your environment you can do the following to make it believe it was checked once

Code: Select all

echo "update xi_options set value=1 where name='last_update_check_succeeded';update xi_options set value=1367272622 where name='last_update_check_time';"|psql nagiosxi nagiosxi
We will likely re-think this logic for the next release

Re: newvs1.nagios.com and Nagios XI

Posted: Tue Apr 30, 2013 1:38 pm
by disrael
This is from only one server:

Code: Select all

 option_id |       name        | value
-----------+-------------------+-------
        31 | auto_update_check | 0
(1 row)

and...

UPDATE 1
UPDATE 1

Re: newvs1.nagios.com and Nagios XI

Posted: Tue Apr 30, 2013 1:40 pm
by disrael
disrael wrote:This is from only one server:

Code: Select all

 option_id |       name        | value
-----------+-------------------+-------
        31 | auto_update_check | 0
(1 row)

and...

UPDATE 1
UPDATE 1
I got the same info from both servers.

Re: newvs1.nagios.com and Nagios XI

Posted: Tue Apr 30, 2013 1:52 pm
by scottwilkerson
This should stop them from checking, let us know if any problem persists.