I would like do a alarm check 100% constant cpu in a period of last 12 hours.
It’s doesn’t worked.
{
“checks”: {
“check_cpu_stalled”: {
“command”: “/opt/sensu/embedded/bin/ruby /etc/sensu/plugins/checks/check_cpu.rb -w 95 -c 100”,
“interval”: 600,
“subscribers”: [ “all” ],
“handlers”: [“slack”, “victorops”],
“aggregate”: true,
“occurrences”: 72,
“refresh”: 900
}
}
}
tks
Joao