You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
class { 'sensu::agent':
subscriptions => ['default', 'linux', $hostname, 'nuc']
}
It does not work. If I suddenly shutdown a server, nothing happeds.
What is the proper way to do this?
It is posible any other aproach?
Long time ago there was another solution, class sensu had the parameter client_keepalive but it is not available anymore.
Thanks.
The text was updated successfully, but these errors were encountered:
icalvete
changed the title
Sensu-Go ::: Set handler for keepalive check with puppet
[question] Sensu-Go ::: Set handler for keepalive check with puppet
Jan 30, 2023
[QUESTION]
I want to be able to get notified when a server is down.
Puppet: sensu/sensu-puppet v5.9.0
Based on sensu/sensu-go#1960, I tried this code without success.
Since there is a special static handler called "keepalive", I create a set handler "keepalive" and include my telegram handler (telegram_ops) in it.
BACKEND Code
AGENT Code (Very simple code.)
It does not work. If I suddenly shutdown a server, nothing happeds.
What is the proper way to do this?
It is posible any other aproach?
Long time ago there was another solution, class sensu had the parameter client_keepalive but it is not available anymore.
Thanks.
The text was updated successfully, but these errors were encountered: