Hello,
I have sent some passive checks to nagios xi that had invalid argument in the services value.
So after I accepted the checks it couldn't apply the configuration which is normal. But somehow the services are now in my nagios config.
And when I try to delete them it gives me an error as per the image attached.
Cannot Delete Service
Cannot Delete Service
You do not have the required permissions to view the files attached to this post.
Last edited by dwhitfield on Mon Oct 10, 2016 10:10 am, edited 1 time in total.
Reason: marking with green check mark
Reason: marking with green check mark
-
developerx9
- Posts: 20
- Joined: Sun Jun 05, 2016 9:07 am
Re: Cannot Delete Service
Hi,
Have you imported them manually?
If so , remove them form /usr/local/nagios/etc/import/*
else, manually modify the checks in /usr/local/nagios/etc/services/ and run the reconfigure_nagios scripts in /usr/local/nagiosxi/scripts/
Have you imported them manually?
If so , remove them form /usr/local/nagios/etc/import/*
else, manually modify the checks in /usr/local/nagios/etc/services/ and run the reconfigure_nagios scripts in /usr/local/nagiosxi/scripts/
-
dwhitfield
- Former Nagios Staff
- Posts: 4583
- Joined: Wed Sep 21, 2016 10:29 am
- Location: NoLo, Minneapolis, MN
- Contact:
Re: Cannot Delete Service
On top of @developerx9's suggestion, could you please let us know what OS version and what version of XI you are running?
Your XI version is in the lower left of the web UI. Getting your OS version is going to depend on the OS, but is likely something like rpm --query centos-release
Your XI version is in the lower left of the web UI. Getting your OS version is going to depend on the OS, but is likely something like rpm --query centos-release
Re: Cannot Delete Service
Hello,
Thank you for the reply.
My OS version is the below:
centos-release-6-6.el6.centos.12.2.x86_64
Best Regards,
Peter
Thank you for the reply.
My OS version is the below:
centos-release-6-6.el6.centos.12.2.x86_64
Best Regards,
Peter
-
dwhitfield
- Former Nagios Staff
- Posts: 4583
- Joined: Wed Sep 21, 2016 10:29 am
- Location: NoLo, Minneapolis, MN
- Contact:
Re: Cannot Delete Service
For clarity, what's your XI version? It will show in the lower left of the WebUI.
Also, did you follow @developerx9's suggestion?
Also, did you follow @developerx9's suggestion?
Re: Cannot Delete Service
Hello,
Version is : Nagios XI 2014R2.7
Sorry I haven't read the previous reply. Thank you for that.
Somehow deleting the checks for each hosts separately made the trick.
Thank you,
Peter
Version is : Nagios XI 2014R2.7
Sorry I haven't read the previous reply. Thank you for that.
Somehow deleting the checks for each hosts separately made the trick.
Thank you,
Peter
-
dwhitfield
- Former Nagios Staff
- Posts: 4583
- Joined: Wed Sep 21, 2016 10:29 am
- Location: NoLo, Minneapolis, MN
- Contact:
Re: Cannot Delete Service
It sounds like this issue has been resolved. Please let us know if I am misinterpreting that. Is it okay if we lock this thread? Thanks for choosing the Nagios forums!
Re: Cannot Delete Service
Yes problem solved. Thank you for your assistance
-
dwhitfield
- Former Nagios Staff
- Posts: 4583
- Joined: Wed Sep 21, 2016 10:29 am
- Location: NoLo, Minneapolis, MN
- Contact:
Re: Cannot Delete Service
Glad to hear it is resolved. I am going to lock the thread.