Page 1 of 1
"enable_flap_detection=0" - Not Working?
Posted: Fri Sep 28, 2018 12:15 pm
by rkane
So I've added this flag to my nagios.conf file and restarted the system. It is still running flap detection, thoughts?
Re: "enable_flap_detection=0" - Not Working?
Posted: Fri Sep 28, 2018 1:13 pm
by benjaminsmith
If you make a change the configuration, it is best to:
1. Verify the configuration
Code: Select all
/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg
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:
Code: Select all
/usr/local/nagiosxi/scripts/reset_config_perms.sh
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.
Re: "enable_flap_detection=0" - Not Working?
Posted: Fri Sep 28, 2018 1:15 pm
by jforcier
Do you have it enabled in the UI? Go to Admin > System Information > Monitoring Engine Status and make sure that
Flap Detection is disabled.
example01.PNG
Re: "enable_flap_detection=0" - Not Working?
Posted: Fri Sep 28, 2018 1:38 pm
by rkane
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.
benjaminsmith wrote:If you make a change the configuration, it is best to:
1. Verify the configuration
Code: Select all
/usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg
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:
Code: Select all
/usr/local/nagiosxi/scripts/reset_config_perms.sh
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.
Re: "enable_flap_detection=0" - Not Working?
Posted: Fri Sep 28, 2018 1:40 pm
by rkane
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.
example01.PNG
Re: "enable_flap_detection=0" - Not Working?
Posted: Fri Sep 28, 2018 3:23 pm
by ssax
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?
Posted: Mon Oct 01, 2018 9:25 am
by rkane
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.
Re: "enable_flap_detection=0" - Not Working?
Posted: Mon Oct 01, 2018 10:48 am
by scottwilkerson
rkane 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.
Sounds good