Looking for a solution to enable all service/host notifications that happen to be disabled.
We disabled/enable notifications on service groups automatically as part of our release process. For fear of accidentally disabling and not re-enabling notifications, I run a report a couple times a day to see what has services disabled.
I have a new requirement to automatically enable all disabled notification every morning.
I know about the feature to turn all notifications off/on - that's not what i'm looking for.
I know I can use the bulk modification tool - but it's manual and I have 8k services.
For example... if I have 30 random services with notifications disabled - I want to be able to automate turning them all on at a specific time each day.
I'm running XI 5.4.9 currently
Enable all "forgotten" disabled notifications
-
npolovenko
- Support Tech
- Posts: 3457
- Joined: Mon May 15, 2017 5:00 pm
Re: Enable all "forgotten" disabled notifications
Hello, @ckiernan.
Take a look here:
https://old.nagios.org/developerinfo/ex ... mand_id=91
And here:
https://old.nagios.org/developerinfo/ex ... mand_id=92
Basically, you'd need to create a new service group in XI and have it include all the other service groups that you plan to enable/disable notifications for. After that use the newly created service group with two scripts from above. All children service groups should automatically inherit the notification options from the parent service group.
Let us know if it worked for you.
Take a look here:
https://old.nagios.org/developerinfo/ex ... mand_id=91
And here:
https://old.nagios.org/developerinfo/ex ... mand_id=92
Basically, you'd need to create a new service group in XI and have it include all the other service groups that you plan to enable/disable notifications for. After that use the newly created service group with two scripts from above. All children service groups should automatically inherit the notification options from the parent service group.
Let us know if it worked for you.
You do not have the required permissions to view the files attached to this post.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.