Can you set your nagios to not alert so quickly? Make it have a couple more failures or an extra minute between checks so it goes into a soft state for a minute first.
Why can't you write a brief downtime to the nagios.cmd file in Jenkins first? You could disable notifications using a curl command (google it). On Wednesday, October 4, 2017 at 5:11:58 PM UTC-6, FirstName LastName wrote: > > have a simple Jenkins deploy job (works great) > > however, every time a deploy is done, app restarts , we get alert that app > is down > > is there a way to have Jenkins start a deploy by disabling nagios, wait x > min, > then do the app restart? configuring downtime windows, or manually > setting on > before a deploy is not an option. > > Hopefully someone's already got an elegant solution for this? > -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/0ae21045-3227-49d7-b179-f2f736ff160b%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
