Problem with changes to services beeing ignored

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
eneait
Posts: 2
Joined: Thu Feb 20, 2014 4:02 am

Problem with changes to services beeing ignored

Post by eneait »

Hi, i am having a problem with modifying services...

if i go to CCM and change a service the modification i saved but does not work, it still uses the original service line that were before i modified it.
if i check under the other way, i just search for the host at the top of the nagios page and click the service
(http://nagiosxi/includes/components/xic ... ackButton=# )
and the choose configure and then Re-configure this service:
(http://nagiosxi/config/configobject.php ... vicedetail )

there the "Monitor the service with this command" does not change.. :(
and if i try to change it manually there for this example trying to add --sni to the line: "check_xi_service_http! -f ok -I 10.10.10.10 -u '/something/page.aspx' -S -p 443"
so it reads "check_xi_service_http! -f ok -I 10.10.10.10 -u '/something/page.aspx' -S -p 443 --sni" instead, and clicking on the update button, it does not give any errors but it does not update the line..
if i check it again it still reads: "check_xi_service_http! -f ok -I 10.10.10.10 -u '/something/page.aspx' -S -p 443"

is there any way to update a service without having to delete the entire host and redoing the add new host wizard ?

the Nagiosxi is updated to the latest version, but i have had this problem for a long time now..
i have done a database repair..

BR
Daniel
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: Problem with changes to services beeing ignored

Post by rkennedy »

Is your database offloaded by any chance? What version of XI are you running?

In the past I've seen it due to time not syncing up between the db <-> system. Could you show us the output of these commands?

Code: Select all

grep "date.timezone" /etc/php.ini
ls -l /etc/localtime
php -r 'echo date("D M j G:i:s T Y")."\n";'
date
mysql -unagiosxi -pn@gweb -e "SELECT NOW();"
Former Nagios Employee
Locked