Cannot Delete Service

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
peter19x
Posts: 119
Joined: Tue Dec 08, 2015 10:16 am

Cannot Delete Service

Post by peter19x »

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.
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
developerx9
Posts: 20
Joined: Sun Jun 05, 2016 9:07 am

Re: Cannot Delete Service

Post by developerx9 »

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/
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: Cannot Delete Service

Post by dwhitfield »

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
peter19x
Posts: 119
Joined: Tue Dec 08, 2015 10:16 am

Re: Cannot Delete Service

Post by peter19x »

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
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: Cannot Delete Service

Post by dwhitfield »

For clarity, what's your XI version? It will show in the lower left of the WebUI.

Also, did you follow @developerx9's suggestion?
peter19x
Posts: 119
Joined: Tue Dec 08, 2015 10:16 am

Re: Cannot Delete Service

Post by peter19x »

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
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: Cannot Delete Service

Post by dwhitfield »

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!
peter19x
Posts: 119
Joined: Tue Dec 08, 2015 10:16 am

Re: Cannot Delete Service

Post by peter19x »

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

Post by dwhitfield »

Glad to hear it is resolved. I am going to lock the thread.
Locked