Re: Nagios & Jenkins

2017-10-04 Thread 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 jenkinsci-users+unsubscr...@googlegroups.com.
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.


Nagios & Jenkins

2017-10-04 Thread 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 jenkinsci-users+unsubscr...@googlegroups.com.
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.