"enable_flap_detection=0" - Not Working?

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
User avatar
rkane
Posts: 114
Joined: Wed Aug 15, 2018 3:56 pm

"enable_flap_detection=0" - Not Working?

Post by rkane »

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?

Post 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:

Code: Select all

service nagios restart
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.
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!
jforcier

Re: "enable_flap_detection=0" - Not Working?

Post 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
You do not have the required permissions to view the files attached to this post.
User avatar
rkane
Posts: 114
Joined: Wed Aug 15, 2018 3:56 pm

Re: "enable_flap_detection=0" - Not Working?

Post 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:

Code: Select all

service nagios restart
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.
User avatar
rkane
Posts: 114
Joined: Wed Aug 15, 2018 3:56 pm

Re: "enable_flap_detection=0" - Not Working?

Post 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
You do not have the required permissions to view the files attached to this post.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: "enable_flap_detection=0" - Not Working?

Post 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.
User avatar
rkane
Posts: 114
Joined: Wed Aug 15, 2018 3:56 pm

Re: "enable_flap_detection=0" - Not Working?

Post 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.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: "enable_flap_detection=0" - Not Working?

Post 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
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked