Can not delete service

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
CSykes1
Posts: 34
Joined: Wed Mar 05, 2014 2:21 pm

Re: Can not delete service

Post by CSykes1 »

Now when I go into services in the CCM it is blank.
npolovenko
Support Tech
Posts: 3457
Joined: Mon May 15, 2017 5:00 pm

Re: Can not delete service

Post by npolovenko »

@CSykes1, Please navigate to:

Code: Select all

cd /usr/local/nagiosxi/scripts/
And run the following script:

Code: Select all

./reconfigure_nagios.sh 
Post the output here so we could see if there are any errors.

Also, in Nagios XI web interface navigate to the admin menu and from there click on Reset security credentials. Don't change anything, just click on Update Settings.

After that please run:

Code: Select all

service nagios restart
service httpd restart
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Can not delete service

Post by scottwilkerson »

If you have a search still in the search box, you may need to remove that and search for a blank string
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
CSykes1
Posts: 34
Joined: Wed Mar 05, 2014 2:21 pm

Re: Can not delete service

Post by CSykes1 »

FIxed. Thank you here is the output, Let me know if I need to make further steps.


[root@kensnagios scripts]# ./reconfigure_nagios.sh
URL: http://localhost/nagiosxi/includes/components/ccm/
CMDLINE
/usr/bin/wget --save-cookies nagiosql.cookies --keep-session-cookies http://localhost/nagiosxi/includes/components/ccm/ --no-check-certificate --post-data 'submit=Login&hidelog=true&loginSubmitted=true&backend=1&username=nagiosxi&password=oueh88' -O nagiosql.login--2017-12-29 15:43:57-- http://localhost/nagiosxi/includes/components/ccm/
Resolving localhost... ::1, 127.0.0.1
Connecting to localhost|::1|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: “nagiosql.login”

[ <=> ] 36,673 --.-K/s in 0.03s

2017-12-29 15:43:58 (1.39 MB/s) - “nagiosql.login” saved [36673]

LOGIN SUCCESSFUL!
IMPORTING CONFIG FILES...URL: http://localhost/nagiosxi/includes/components/ccm/
Array
(
)
RESETTING PERMS
URL: http://localhost/nagiosxi/includes/components/ccm/
CMDLINE
/usr/bin/wget --save-cookies nagiosql.cookies --keep-session-cookies http://localhost/nagiosxi/includes/components/ccm/ --no-check-certificate --post-data 'submit=Login&hidelog=true&loginSubmitted=true&backend=1&username=nagiosxi&password=oueh88' -O nagiosql.login--2017-12-29 15:43:58-- http://localhost/nagiosxi/includes/components/ccm/
Resolving localhost... ::1, 127.0.0.1
Connecting to localhost|::1|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: “nagiosql.login”

[ <=> ] 36,673 --.-K/s in 0.02s

2017-12-29 15:43:59 (1.82 MB/s) - “nagiosql.login” saved [36673]

LOGIN SUCCESSFUL!
URL: http://localhost/nagiosxi/includes/components/ccm/
CMDLINE:
/usr/bin/wget --load-cookies=nagiosql.cookies http://localhost/nagiosxi/includes/components/ccm/ --no-check-certificate --post-data 'backend=1&cmd=apply&type=writeConfig' -O nagiosql.export.monitoring
--2017-12-29 15:43:59-- http://localhost/nagiosxi/includes/components/ccm/
Resolving localhost... ::1, 127.0.0.1
Connecting to localhost|::1|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: “nagiosql.export.monitoring”

[ <=> ] 21,519 --.-K/s in 0.02s

2017-12-29 15:44:00 (1.13 MB/s) - “nagiosql.export.monitoring” saved [21519]

WRITE CONFIGS SUCCESSFUL!
OUTPUT:
Nagios Core 4.2.4
Copyright (c) 2009-present Nagios Core Development Team and Community Contributors
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 12-07-2016
License: GPL

Website: https://www.nagios.org
Reading configuration data...
Read main config file okay...
Read object config files okay...

Running pre-flight check on configuration data...

Checking objects...
Checked 324 services.
Checked 38 hosts.
Checked 2 host groups.
Checked 0 service groups.
Checked 3 contacts.
Checked 2 contact groups.
Checked 128 commands.
Checked 9 time periods.
Checked 0 host escalations.
Checked 0 service escalations.
Checking for circular paths...
Checked 38 hosts
Checked 0 service dependencies
Checked 0 host dependencies
Checked 9 timeperiods
Checking global event handlers...
Checking obsessive compulsive processor commands...
Checking misc settings...

Total Warnings: 0
Total Errors: 0

Things look okay - No serious problems were detected during the pre-flight check
RET: 0
Running configuration check...
Stopping nagios:. done.
Starting nagios: done.
[root@kensnagios scripts]#
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Can not delete service

Post by scottwilkerson »

you should be all set!
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked