Anyone tested WizardVan in Ubuntu 16.04? All services (sensu-server, sensu-client, redis, carbon-cache, …) are running but the metrics did not create in graphite dashboard. Graphite works normal because I test it using the plaintext protocol and the metrix was create. No error message is logs, but relay not works:
{“timestamp”:“2017-04-07T09:59:10.687390-0300”,“level”:“info”,“message”:“received check request”,“check”:{“type”:“metric”,“command”:“/etc/sensu/plugins/netif-metrics.rb”,“handler”:“relay”,“name”:“netif_metrics”,“issued”:1491569950}}
{“timestamp”:“2017-04-07T09:59:12.104029-0300”,“level”:“info”,“message”:“publishing check result”,“payload”:{“client”:“labc2_monitoring”,“check”:{“type”:“metric”,“command”:“/etc/sensu/plugins/netif-metrics.rb”,“handler”:“relay”,“name”:“netif_metrics”,“issued”:1491569950,“subscribers”:[“all”],“interval”:30,“executed”:1491569950,“duration”:1.415,“output”:“monitoring.lo.rx_kB_per_sec 8.0 1491569952\nmonitoring.lo.tx_kB_per_sec 8.0 1491569952\nmonitoring.eth3.rx_kB_per_sec 0.0 1491569952\nmonitoring.eth3.tx_kB_per_sec 0.0 1491569952\nmonitoring.eth2.rx_kB_per_sec 0.0 1491569952\nmonitoring.eth2.tx_kB_per_sec 0.0 1491569952\nmonitoring.eth1.rx_kB_per_sec 0.0 1491569952\nmonitoring.eth1.tx_kB_per_sec 0.0 1491569952\nmonitoring.eth0.rx_kB_per_sec 2.0 1491569952\nmonitoring.eth0.tx_kB_per_sec 0.0 1491569952\n”,“status”:0}}}
{“timestamp”:“2017-04-07T09:59:13.470442-0300”,“level”:“info”,“message”:“received check request”,“check”:{“type”:“check”,“command”:“/opt/sensu/embedded/bin/check-cpu.rb -w 90 -c 95”,“occurrences_quantity_to_alarm”:360,“handlers”:[“mailer”,“slack”],“name”:“cpu_check”,“issued”:1491569953}}
{“timestamp”:“2017-04-07T09:59:14.978617-0300”,“level”:“info”,“message”:“publishing check result”,“payload”:{“client”:“labc2_monitoring”,“check”:{“type”:“check”,“command”:“/opt/sensu/embedded/bin/check-cpu.rb -w 90 -c 95”,“occurrences_quantity_to_alarm”:360,“handlers”:[“mailer”,“slack”],“name”:“cpu_check”,“issued”:1491569953,“subscribers”:[“all”],“interval”:10,“executed”:1491569953,“duration”:1.507,“output”:“CheckCPU TOTAL OK: total=2.26 user=2.01 nice=0.0 system=0.25 idle=97.74 iowait=0.0 irq=0.0 softirq=0.0 steal=0.0 guest=0.0 guest_nice=0.0\n”,“status”:0}}}
{“timestamp”:“2017-04-07T09:59:20.044717-0300”,“level”:“info”,“message”:“received check request”,“check”:{“type”:“check”,“command”:“/opt/sensu/embedded/bin/check-memory-percent.rb -w 90 -c 95”,“occurrences_quantity_to_alarm”:360,“handlers”:[“mailer”,“slack”],“name”:“memory_check”,“issued”:1491569960}}
{“timestamp”:“2017-04-07T09:59:20.392340-0300”,“level”:“info”,“message”:“publishing check result”,“payload”:{“client”:“labc2_monitoring”,“check”:{“type”:“check”,“command”:“/opt/sensu/embedded/bin/check-memory-percent.rb -w 90 -c 95”,“occurrences_quantity_to_alarm”:360,“handlers”:[“mailer”,“slack”],“name”:“memory_check”,“issued”:1491569960,“subscribers”:[“all”],“interval”:10,“executed”:1491569960,“duration”:0.347,“output”:“MEM OK - system memory usage: 28%\n”,“status”:0}}}
{“timestamp”:“2017-04-07T09:59:23.472891-0300”,“level”:“info”,“message”:“received check request”,“check”:{“type”:“check”,“command”:“/opt/sensu/embedded/bin/check-cpu.rb -w 90 -c 95”,“occurrences_quantity_to_alarm”:360,“handlers”:[“mailer”,“slack”],“name”:“cpu_check”,“issued”:1491569963}}
{“timestamp”:“2017-04-07T09:59:24.796795-0300”,“level”:“info”,“message”:“publishing check result”,“payload”:{“client”:“labc2_monitoring”,“check”:{“type”:“check”,“command”:“/opt/sensu/embedded/bin/check-cpu.rb -w 90 -c 95”,“occurrences_quantity_to_alarm”:360,“handlers”:[“mailer”,“slack”],“name”:“cpu_check”,“issued”:1491569963,“subscribers”:[“all”],“interval”:10,“executed”:1491569963,“duration”:1.323,“output”:“CheckCPU TOTAL OK: total=1.75 user=1.25 nice=0.0 system=0.5 idle=98.25 iowait=0.0 irq=0.0 softirq=0.0 steal=0.0 guest=0.0 guest_nice=0.0\n”,“status”:0}}}
{“timestamp”:“2017-04-07T09:59:27.491564-0300”,“level”:“info”,“message”:“received check request”,“check”:{“type”:“metric”,“command”:“/etc/sensu/plugins/cpu-usage-metrics.sh”,“handler”:“relay”,“name”:“cpu_usage_metrics”,“issued”:1491569967}}
{“timestamp”:“2017-04-07T09:59:28.518973-0300”,“level”:“info”,“message”:“publishing check result”,“payload”:{“client”:“labc2_monitoring”,“check”:{“type”:“metric”,“command”:“/etc/sensu/plugins/cpu-usage-metrics.sh”,“handler”:“relay”,“name”:“cpu_usage_metrics”,“issued”:1491569967,“subscribers”:[“all”],“interval”:30,“executed”:1491569967,“duration”:1.026,“output”:“monitoring.cpu.usage 1 1491569968\n”,“status”:0}}}
{“timestamp”:“2017-04-07T09:59:30.045205-0300”,“level”:“info”,“message”:“received check request”,“check”:{“type”:“check”,“command”:“/opt/sensu/embedded/bin/check-memory-percent.rb -w 90 -c 95”,“occurrences_quantity_to_alarm”:360,“handlers”:[“mailer”,“slack”],“name”:“memory_check”,“issued”:1491569970}}
{“timestamp”:“2017-04-07T09:59:30.351437-0300”,“level”:“info”,“message”:“publishing check result”,“payload”:{“client”:“labc2_monitoring”,“check”:{“type”:“check”,“command”:“/opt/sensu/embedded/bin/check-memory-percent.rb -w 90 -c 95”,“occurrences_quantity_to_alarm”:360,“handlers”:[“mailer”,“slack”],“name”:“memory_check”,“issued”:1491569970,“subscribers”:[“all”],“interval”:10,“executed”:1491569970,“duration”:0.305,“output”:“MEM OK - system memory usage: 28%\n”,“status”:0}}}
{“timestamp”:“2017-04-07T09:59:33.475322-0300”,“level”:“info”,“message”:“received check request”,“check”:{“type”:“check”,“command”:“/opt/sensu/embedded/bin/check-cpu.rb -w 90 -c 95”,“occurrences_quantity_to_alarm”:360,“handlers”:[“mailer”,“slack”],“name”:“cpu_check”,“issued”:1491569973}}
{“timestamp”:“2017-04-07T09:59:34.981405-0300”,“level”:“info”,“message”:“publishing check result”,“payload”:{“client”:“labc2_monitoring”,“check”:{“type”:“check”,“command”:“/opt/sensu/embedded/bin/check-cpu.rb -w 90 -c 95”,“occurrences_quantity_to_alarm”:360,“handlers”:[“mailer”,“slack”],“name”:“cpu_check”,“issued”:1491569973,“subscribers”:[“all”],“interval”:10,“executed”:1491569973,“duration”:1.505,“output”:“CheckCPU TOTAL OK: total=3.53 user=2.77 nice=0.0 system=0.76 idle=96.47 iowait=0.0 irq=0.0 softirq=0.0 steal=0.0 guest=0.0 guest_nice=0.0\n”,“status”:0}}}
{“timestamp”:“2017-04-07T09:59:36.187629-0300”,“level”:“info”,“message”:“received check request”,“check”:{“type”:“metric”,“command”:“/etc/sensu/plugins/memory-metrics.rb”,“handler”:“relay”,“name”:“memory_metrics”,“issued”:1491569976}}
{“timestamp”:“2017-04-07T09:59:36.591680-0300”,“level”:“info”,“message”:“publishing check result”,“payload”:{“client”:“labc2_monitoring”,“check”:{“type”:“metric”,“command”:“/etc/sensu/plugins/memory-metrics.rb”,“handler”:“relay”,“name”:“memory_metrics”,“issued”:1491569976,“subscribers”:[“all”],“interval”:30,“executed”:1491569976,“duration”:0.403,“output”:“monitoring.memory.total 2092527616 1491569976\nmonitoring.memory.free 1132781568 1491569976\nmonitoring.memory.buffers 278257664 1491569976\nmonitoring.memory.cached 124473344 1491569976\nmonitoring.memory.swapTotal 2298474496 1491569976\nmonitoring.memory.swapFree 2298474496 1491569976\nmonitoring.memory.dirty 229376 1491569976\nmonitoring.memory.swapUsed 0 1491569976\nmonitoring.memory.used 959746048 1491569976\nmonitoring.memory.usedWOBuffersCaches 557015040 1491569976\nmonitoring.memory.freeWOBuffersCaches 1535512576 1491569976\nmonitoring.memory.swapUsedPercentage 0 1491569976\n”,“status”:0}}}
{“timestamp”:“2017-04-07T09:59:37.546764-0300”,“level”:“info”,“message”:“received check request”,“check”:{“type”:“metric”,“command”:“/etc/sensu/plugins/disk-usage-metrics.rb”,“handler”:“relay”,“name”:“disk_usage_metrics”,“issued”:1491569977}}
{“timestamp”:“2017-04-07T09:59:37.974754-0300”,“level”:“info”,“message”:“publishing check result”,“payload”:{“client”:“labc2_monitoring”,“check”:{“type”:“metric”,“command”:“/etc/sensu/plugins/disk-usage-metrics.rb”,“handler”:“relay”,“name”:“disk_usage_metrics”,“issued”:1491569977,“subscribers”:[“all”],“interval”:30,“executed”:1491569977,“duration”:0.427,“output”:“monitoring.disk_usage.root.used 3491 1491569977\nmonitoring.disk_usage.root.avail 42152 1491569977\nmonitoring.disk_usage.root.used_percentage 8 1491569977\n”,“status”:0}}}
{“timestamp”:“2017-04-07T10:01:58.591007-0300”,“level”:“info”,“message”:“handler extension output”,“extension”:{“type”:“extension”,“name”:“relay”,“mutator”:“metrics”},“output”:“”,“status”:0}
{“timestamp”:“2017-04-07T10:01:58.595065-0300”,“level”:“info”,“message”:“handler extension output”,“extension”:{“type”:“extension”,“name”:“relay”,“mutator”:“metrics”},“output”:“”,“status”:0}
{“timestamp”:“2017-04-07T10:01:58.603395-0300”,“level”:“info”,“message”:“handler extension output”,“extension”:{“type”:“extension”,“name”:“relay”,“mutator”:“metrics”},“output”:“”,“status”:0}
{“timestamp”:“2017-04-07T10:01:58.607570-0300”,“level”:“info”,“message”:“handler extension output”,“extension”:{“type”:“extension”,“name”:“relay”,“mutator”:“metrics”},“output”:“”,“status”:0}
{“timestamp”:“2017-04-07T10:01:58.611007-0300”,“level”:“info”,“message”:“handler extension output”,“extension”:{“type”:“extension”,“name”:“relay”,“mutator”:“metrics”},“output”:“”,“status”:0}
{“timestamp”:“2017-04-07T10:01:58.613816-0300”,“level”:“info”,“message”:“handler extension output”,“extension”:{“type”:“extension”,“name”:“relay”,“mutator”:“metrics”},“output”:“”,“status”:0}
{“timestamp”:“2017-04-07T10:01:59.544969-0300”,“level”:“info”,“message”:“publishing check request”,“payload”:{“type”:“check”,“command”:“/opt/sensu/embedded/bin/check-netstat-tcp.rb -p 443 --states CLOSE_WAIT --warning 10 --critical 30”,“occurrences_quantity_to_alarm”:360,“handlers”:[“slack”],“name”:“check_netstat_443”,“issued”:1491570119},“subscribers”:[“pacificador”]}
{“timestamp”:“2017-04-07T10:02:00.091726-0300”,“level”:“info”,“message”:“publishing check request”,“payload”:{“type”:“check”,“command”:“/opt/sensu/embedded/bin/check-memory-percent.rb -w 90 -c 95”,“occurrences_quantity_to_alarm”:360,“handlers”:[“mailer”,“slack”],“name”:“memory_check”,“issued”:1491570120},“subscribers”:[“all”]}
{“timestamp”:“2017-04-07T10:02:00.628799-0300”,“level”:“info”,“message”:“determining stale clients”}
{“timestamp”:“2017-04-07T10:02:00.630028-0300”,“level”:“info”,“message”:“determining stale check results”}
{“timestamp”:“2017-04-07T10:02:00.662008-0300”,“level”:“info”,“message”:“processing event”,“event”:{“client”:{“address”:“10.67.125.17”,“subscriptions”:[“all”,“mapserver”],“name”:“labc2_mapserver4”,“version”:“0.25.6”,“timestamp”:1490804494},“check”:{“thresholds”:{“warning”:120,“critical”:180},“name”:“keepalive”,“issued”:1491570120,“executed”:1491570120,“output”:“No keepalive sent from client for 765626 seconds (>=180)”,“status”:2,“type”:“standard”,“history”:[“2”,“2”,“2”,“2”,“2”,“2”,“2”,“2”,“2”,“2”,“2”,“2”,“2”,“2”,“2”,“2”,“2”,“2”,“2”,“2”,“2”],“total_state_change”:0},“occurrences”:4789,“action”:“create”,“timestamp”:1491570120,“id”:“24cbfbb4-f0ed-4a5f-b09c-f1a58a22ced0”,“last_state_change”:1490959435,“last_ok”:null}}
{“timestamp”:“2017-04-07T10:02:00.668643-0300”,“level”:“info”,“message”:“handler output”,“handler”:{“type”:“pipe”,“command”:“cat”,“name”:“default”},“output”:[“{"client":{"address":"10.67.125.17","subscriptions":["all","mapserver"],"name":"labc2_mapserver4","version":"0.25.6","timestamp":1490804494},"check":{"thresholds":{"warning":120,"critical":180},"name":"keepalive","issued":1491570120,"executed":1491570120,"output":"No keepalive sent from client for 765626 seconds (>=180)","status":2,"type":"standard","history":["2","2","2","2","2","2","2","2","2","2","2","2","2","2","2","2","2","2","2","2","2"],"total_state_change":0},"occurrences":4789,"action":"create","timestamp":1491570120,"id":"24cbfbb4-f0ed-4a5f-b09c-f1a58a22ced0","last_state_change":1490959435,"last_ok":null}”]}
{“timestamp”:“2017-04-07T10:02:00.696324-0300”,“level”:“info”,“message”:“processing event”,“event”:{“client”:{“address”:“10.67.125.16”,“subscriptions”:[“all”,“mapserver”],“name”:“labc2_mapserver3”,“version”:“0.25.6”,“timestamp”:1490805194},“check”:{“thresholds”:{“warning”:120,“critical”:180},“name”:“keepalive”,“issued”:1491570120,“executed”:1491570120,“output”:“No keepalive sent from client for 764926 seconds (>=180)”,“status”:2,“type”:“standard”,“history”:[“2”,“2”,“2”,“2”,“2”,“2”,“2”,“2”,“2”,“2”,“2”,“2”,“2”,“2”,“2”,“2”,“2”,“2”,“2”,“2”,“2”],“total_state_change”:0},“occurrences”:4805,“action”:“create”,“timestamp”:1491570120,“id”:“90eab9cc-c3fa-4435-b854-3670e8f831b9”,“last_state_change”:1490805073,“last_ok”:null}}
{“timestamp”:“2017-04-07T10:02:00.699106-0300”,“level”:“info”,“message”:“processing event”,“event”:{“client”:{“address”:“10.0.2.15”,“subscriptions”:[“all”,“monitoring”],“name”:“default-ubuntu-1604”,“version”:“0.25.6”,“timestamp”:1490804479},“check”:{“thresholds”:{“warning”:120,“critical”:180},“name”:“keepalive”,“issued”:1491570120,“executed”:1491570120,“output”:“No keepalive sent from client for 765641 seconds (>=180)”,“status”:2,“type”:“standard”,“history”:[“2”,“2”,“2”,“2”,“2”,“2”,“2”,“2”,“2”,“2”,“2”,“2”,“2”,“2”,“2”,“2”,“2”,“2”,“2”,“2”,“2”],“total_state_change”:0},“occurrences”:4789,“action”:“create”,“timestamp”:1491570120,“id”:“ada08946-fb61-449b-b594-610ef869545a”,“last_state_change”:1490959435,“last_ok”:null}}
{“timestamp”:“2017-04-07T10:02:00.703514-0300”,“level”:“info”,“message”:“handler output”,“handler”:{“type”:“pipe”,“command”:“cat”,“name”:“default”},“output”:[“{"client":{"address":"10.67.125.16","subscriptions":["all","mapserver"],"name":"labc2_mapserver3","version":"0.25.6","timestamp":1490805194},"check":{"thresholds":{"warning":120,"critical":180},"name":"keepalive","issued":1491570120,"executed":1491570120,"output":"No keepalive sent from client for 764926 seconds (>=180)","status":2,"type":"standard","history":["2","2","2","2","2","2","2","2","2","2","2","2","2","2","2","2","2","2","2","2","2"],"total_state_change":0},"occurrences":4805,"action":"create","timestamp":1491570120,"id":"90eab9cc-c3fa-4435-b854-3670e8f831b9","last_state_change":1490805073,"last_ok":null}”]}
{“timestamp”:“2017-04-07T10:02:00.704141-0300”,“level”:“info”,“message”:“handler output”,“handler”:{“type”:“pipe”,“command”:“cat”,“name”:“default”},“output”:[“{"client":{"address":"10.0.2.15","subscriptions":["all","monitoring"],"name":"default-ubuntu-1604","version":"0.25.6","timestamp":1490804479},"check":{"thresholds":{"warning":120,"critical":180},"name":"keepalive","issued":1491570120,"executed":1491570120,"output":"No keepalive sent from client for 765641 seconds (>=180)","status":2,"type":"standard","history":["2","2","2","2","2","2","2","2","2","2","2","2","2","2","2","2","2","2","2","2","2"],"total_state_change":0},"occurrences":4789,"action":"create","timestamp":1491570120,"id":"ada08946-fb61-449b-b594-610ef869545a","last_state_change":1490959435,"last_ok":null}”]}
{“timestamp”:“2017-04-07T10:02:03.522786-0300”,“level”:“info”,“message”:“publishing check request”,“payload”:{“type”:“check”,“command”:“/opt/sensu/embedded/bin/check-cpu.rb -w 90 -c 95”,“occurrences_quantity_to_alarm”:360,“handlers”:[“mailer”,“slack”],“name”:“cpu_check”,“issued”:1491570123},“subscribers”:[“all”]}
The sames configs works well in ubuntu 12.04 but not in 16.04.