Nagios & Jenkins

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Nagios & Jenkins

FirstName LastName
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/9761f99d-1169-4aa2-b19d-c01c0bb7ee6f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: Nagios & Jenkins

Robert Hales
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 [hidden email].
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.