We want to define some services just so we statistical data. This means that we do not want the service to appear in the Open Problems display nor do any notifications. I know I can update the service (re-configure) so that I won't alert and I know I can turn off notifications manually for a service. But, I can I copy/clone that so I don't have to manually update 500 services?
Tried using the Bulk Clone/Import Wizard but it didn't work. The Sample host & services have the correct settings but the cloned host/services did not keep those settings. Tried updating my template but still no luck.
Have Service not Alert
Re: Have Service not Alert
Are you talking about the "Open Service Problems" page?
Even if you disabled notifications, the service would still show up on this page if it is in a hard non-OK state, not in downtime, and not acknowledged... I am not sure how you are preventing it from showing up on the page.
Can you give us an example of a host/service config that doesn't import properly via the Bulk Clone/Import Wizard? Also, show us an example of the template that you are applying to the host/services.
Note: You can disable notifications on all 500 services in "one go" via the Bulk Modifications Tool - select your services, click on "Save Changes", and apply configuration.
Can you give us an example of a host/service config that doesn't import properly via the Bulk Clone/Import Wizard? Also, show us an example of the template that you are applying to the host/services.
Note: You can disable notifications on all 500 services in "one go" via the Bulk Modifications Tool - select your services, click on "Save Changes", and apply configuration.
You do not have the required permissions to view the files attached to this post.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Have Service not Alert
Thanks for the help. We have NOT gotten the service to NOT show up on the Open Problems. That was the point of this case. I apologize for the confusion. I did go to the notifications tab for the service and removed the notifications for all users. But, it still shows up on the Open Problems. We don't want that. If it's not possible, that's fine. Just wondering if we can do that.
Re: Have Service not Alert
I don't think you can do this. This is whole point - the open service problems page shows all services in non-ok state, that are not acknowledged, and not in downtime... This is by design.
You do not have the required permissions to view the files attached to this post.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Have Service not Alert
There's a file /usr/local/nagios/libexec/negate that will change the status of a check to whatever you want it to be. The OP would need to define a command to use negate. Since it seems the OP has many duplicate checks, it might be a pain to redefine the checks. One thing that comes to mind is to copy the service .cfg files to the import dir, use sed to modify them, then run the reconfig script.
Re: Have Service not Alert
Thanks for the tips and advice - please close this case.