"enable_flap_detection=0" - Not Working?
"enable_flap_detection=0" - Not Working?
So I've added this flag to my nagios.conf file and restarted the system. It is still running flap detection, thoughts?
-
benjaminsmith
- Posts: 5324
- Joined: Wed Aug 22, 2018 4:39 pm
- Location: saint paul
Re: "enable_flap_detection=0" - Not Working?
If you make a change the configuration, it is best to:
1. Verify the configuration
2. If there are no configuration errors, restart the nagios service by running the following command on the Nagios XI server:
If you are still having trouble, there could be a permissions or ab issue with the sudoers settings. In order to reset the permissions, run the following command from the command line:
More on details on this condition on our knowledgebase at:
https://support.nagios.com/kb/article/n ... ce-39.html
Let us know if that resolves this issue for you.
1. Verify the configuration
Code: Select all
/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg
Code: Select all
service nagios restart
Code: Select all
/usr/local/nagiosxi/scripts/reset_config_perms.sh
https://support.nagios.com/kb/article/n ... ce-39.html
Let us know if that resolves this issue for you.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
jforcier
Re: "enable_flap_detection=0" - Not Working?
Do you have it enabled in the UI? Go to Admin > System Information > Monitoring Engine Status and make sure that Flap Detection is disabled.
You do not have the required permissions to view the files attached to this post.
Re: "enable_flap_detection=0" - Not Working?
1. Verify the configuration: check, no issues found
2. Restart the service: check, it had already been done but did it again for good measure
3. Reset permissions: check, went ahead and did this for good measure too
Will monitor for a few days and see if that resolves it. Appreciate the help.
2. Restart the service: check, it had already been done but did it again for good measure
3. Reset permissions: check, went ahead and did this for good measure too
Will monitor for a few days and see if that resolves it. Appreciate the help.
benjaminsmith wrote:If you make a change the configuration, it is best to:
1. Verify the configuration2. If there are no configuration errors, restart the nagios service by running the following command on the Nagios XI server:Code: Select all
/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfgIf you are still having trouble, there could be a permissions or ab issue with the sudoers settings. In order to reset the permissions, run the following command from the command line:Code: Select all
service nagios restartMore on details on this condition on our knowledgebase at:Code: Select all
/usr/local/nagiosxi/scripts/reset_config_perms.sh
https://support.nagios.com/kb/article/n ... ce-39.html
Let us know if that resolves this issue for you.
Re: "enable_flap_detection=0" - Not Working?
Negative, was looking for that setting in the UI...thanks! I'll flip it to off here if the other fix doesn't work. It was my impression that putting that flag in the config file is the ultimate overriding setting (over a UI setting).
jforcier wrote:Do you have it enabled in the UI? Go to Admin > System Information > Monitoring Engine Status and make sure that Flap Detection is disabled.
You do not have the required permissions to view the files attached to this post.
Re: "enable_flap_detection=0" - Not Working?
Think of the settings in the UI as the running configuration, they will take priority over what is in the nagios.cfg file if they differ.
Re: "enable_flap_detection=0" - Not Working?
Appreciate it, thank you!
I've set the setting here - will report back if it doesn't work for some reason.
I've set the setting here - will report back if it doesn't work for some reason.
ssax wrote:Think of the settings in the UI as the running configuration, they will take priority over what is in the nagios.cfg file if they differ.
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: "enable_flap_detection=0" - Not Working?
Sounds goodrkane wrote:Appreciate it, thank you!
I've set the setting here - will report back if it doesn't work for some reason.
ssax wrote:Think of the settings in the UI as the running configuration, they will take priority over what is in the nagios.cfg file if they differ.