Disabling Flapping system wide
Disabling Flapping system wide
Is there a way to disable flapping for every node?
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Disabling Flapping system wide
in the nagios.cfg set
restart nagios
Code: Select all
enable_flap_detection=0
Re: Disabling Flapping system wide
Negative. I tried that first, when I went to the GUI and it still states that flapping is ENABLED on all nodes.
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Disabling Flapping system wide
That is the config value, if you have it enabled by clicking enable in the UI, you would need to disable through the UI because a runtime setting takes precedence and you are retaining state across restarts.
Once you disable form "Performance Info" click "Disable flap detection" it will be off globally
Once you disable form "Performance Info" click "Disable flap detection" it will be off globally
Re: Disabling Flapping system wide
Thank you, that makes since. We have thousands of nodes that over the years flapping has been enabled via the GUI. Is there a way to disable it problematically (script)?
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Disabling Flapping system wide
If you want to do them individually you cna use one of these commands
for host
https://old.nagios.org/developerinfo/ex ... mand_id=77
and services
https://old.nagios.org/developerinfo/ex ... and_id=150
for host
https://old.nagios.org/developerinfo/ex ... mand_id=77
and services
https://old.nagios.org/developerinfo/ex ... and_id=150
Re: Disabling Flapping system wide
I will give it a show. Thank you very much.
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Disabling Flapping system wide
Let us know if you have any trouble
Re: Disabling Flapping system wide
I just added a for loop to those scripts and was able to disable flapping on the nodes and services that I needed. This was absolutely perfect.
Thank you!
Thank you!
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Disabling Flapping system wide
Glad I could help.
Locking!
Locking!