Nagios & Jenkins

9 views
Skip to first unread message

FirstName LastName

unread,
Oct 4, 2017, 7:11:58 PM10/4/17
to Jenkins Users
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?

Robert Hales

unread,
Oct 4, 2017, 7:26:58 PM10/4/17
to Jenkins Users
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). 
Reply all
Reply to author
Forward
0 new messages