sensu enterprise and dashboard issue

Hi

i have got below issue when i tried to configure sensu enterprise.

need your help on below 2 things.

···

=============================================================

  1. unable to install dashboard

root@ubuntu:/etc/sensu/conf.d# apt-get install sensu-enterprise-dashboard

Reading package lists… Done

Building dependency tree

Reading state information… Done

The following packages will be upgraded:

sensu-enterprise-dashboard

1 upgraded, 0 newly installed, 0 to remove and 221 not upgraded.

2 not fully installed or removed.

Need to get 0 B/7,375 kB of archives.

After this operation, 24.7 MB of additional disk space will be used.

(Reading database … 275376 files and directories currently installed.)

Preparing to unpack …/sensu-enterprise-dashboard_1%3a2.2.1-1_amd64.deb …

Unpacking sensu-enterprise-dashboard (1:2.2.1-1) over (1:2.2.1-1) …

dpkg: error processing archive /var/cache/apt/archives/sensu-enterprise-dashboard_1%3a2.2.1-1_amd64.deb (–unpack):

trying to overwrite ‘/etc/sensu/dashboard.d/.keep’, which is also in package uchiwa 0.22.0-1

Errors were encountered while processing:

/var/cache/apt/archives/sensu-enterprise-dashboard_1%3a2.2.1-1_amd64.deb

E: Sub-process /usr/bin/dpkg returned an error code (1)


root@ubuntu:/etc/sensu/conf.d# cat /etc/apt/sources.list

deb cdrom:[Ubuntu 16.04.1 LTS Xenial Xerus - Release amd64 (20160719)]/ xenial main restricted

See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to

newer versions of the distribution.

deb http://us.archive.ubuntu.com/ubuntu/ xenial main restricted

deb-src http://us.archive.ubuntu.com/ubuntu/ xenial main restricted

Major bug fix updates produced after the final release of the

distribution.

deb http://us.archive.ubuntu.com/ubuntu/ xenial-updates main restricted

deb-src http://us.archive.ubuntu.com/ubuntu/ xenial-updates main restricted

N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu

team, and may not be under a free licence. Please satisfy yourself as to

your rights to use the software. Also, please note that software in

universe WILL NOT receive any review or updates from the Ubuntu security

team.

deb http://us.archive.ubuntu.com/ubuntu/ xenial universe

deb-src http://us.archive.ubuntu.com/ubuntu/ xenial universe

deb http://us.archive.ubuntu.com/ubuntu/ xenial-updates universe

deb-src http://us.archive.ubuntu.com/ubuntu/ xenial-updates universe

N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu

team, and may not be under a free licence. Please satisfy yourself as to

your rights to use the software. Also, please note that software in

multiverse WILL NOT receive any review or updates from the Ubuntu

security team.

deb http://us.archive.ubuntu.com/ubuntu/ xenial multiverse

deb-src http://us.archive.ubuntu.com/ubuntu/ xenial multiverse

deb http://us.archive.ubuntu.com/ubuntu/ xenial-updates multiverse

deb-src http://us.archive.ubuntu.com/ubuntu/ xenial-updates multiverse

N.B. software from this repository may not have been tested as

extensively as that contained in the main release, although it includes

newer versions of some applications which may provide useful features.

Also, please note that software in backports WILL NOT receive any review

or updates from the Ubuntu security team.

deb http://us.archive.ubuntu.com/ubuntu/ xenial-backports main restricted universe multiverse

deb-src http://us.archive.ubuntu.com/ubuntu/ xenial-backports main restricted universe multiverse

Uncomment the following two lines to add software from Canonical’s

‘partner’ repository.

This software is not part of Ubuntu, but is offered by Canonical and the

respective vendors as a service to Ubuntu users.

deb http://archive.canonical.com/ubuntu xenial partner

deb-src http://archive.canonical.com/ubuntu xenial partner

deb http://security.ubuntu.com/ubuntu xenial-security main restricted

deb-src http://security.ubuntu.com/ubuntu xenial-security main restricted

deb http://security.ubuntu.com/ubuntu xenial-security universe

deb-src http://security.ubuntu.com/ubuntu xenial-security universe

deb http://security.ubuntu.com/ubuntu xenial-security multiverse

deb https://apt.dockerproject.org/repo ubuntu-xenial main

deb-src https://apt.dockerproject.org/repo ubuntu-xenial main

deb-src http://security.ubuntu.com/ubuntu xenial-security multiverse

deb http://www.rabbitmq.com/debian/ testing main


root@ubuntu:/etc/sensu/conf.d# dpkg --configure -a

Setting up runit (2.1.2-3ubuntu1) …

start: Unable to connect to Upstart: Failed to connect to socket /com/ubuntu/upstart: Connection refused

dpkg: error processing package runit (–configure):

subprocess installed post-installation script returned error exit status 1

Errors were encountered while processing:

runit


root@ubuntu:/etc/sensu/conf.d# apt-get install -f

Reading package lists… Done

Building dependency tree

Reading state information… Done

The following packages will be REMOVED:

sensu-enterprise-dashboard

0 upgraded, 0 newly installed, 1 to remove and 221 not upgraded.

2 not fully installed or removed.

After this operation, 0 B of additional disk space will be used.

Do you want to continue? [Y/n] Y

(Reading database … 275374 files and directories currently installed.)

Removing sensu-enterprise-dashboard (1:2.2.1-1) …

Setting up runit (2.1.2-3ubuntu1) …

start: Unable to connect to Upstart: Failed to connect to socket /com/ubuntu/upstart: Connection refused

dpkg: error processing package runit (–configure):

subprocess installed post-installation script returned error exit status 1

Errors were encountered while processing:

runit

E: Sub-process /usr/bin/dpkg returned an error code (1)


================================================================

  1. when i start sensu-enterprise.service manually got below o/p, and its not log any thing in log file.

root@ubuntu:/usr/bin# sensu-enterprise start

{“timestamp”:“2017-02-08T11:26:09.552000+0530”,“level”:“warn”,“message”:“loading config file”,“file”:"/etc/sensu/config.json"}

{“timestamp”:“2017-02-08T11:26:09.579000+0530”,“level”:“warn”,“message”:“loading config files from directory”,“directory”:"/etc/sensu/conf.d"}

{“timestamp”:“2017-02-08T11:26:09.579000+0530”,“level”:“warn”,“message”:“loading config file”,“file”:"/etc/sensu/conf.d/client.json"}

{“timestamp”:“2017-02-08T11:26:09.587000+0530”,“level”:“warn”,“message”:“config file applied changes”,“file”:"/etc/sensu/conf.d/client.json",“changes”:{“client”:{“name”:[“localhost”,“ubuntuADSK”],“environment”:[null,“development”],“socket”:[null,{“bind”:“127.0.0.1”,“port”:3030}],“client”:[null,{“name”:“TestCentos07”,“address”:“192.168.221.129”,“environment”:“development”,“subscriptions”:[“dev”,“Webserver”],“socket”:{“bind”:“192.168.221.129”,“port”:3030}}]}}}

{“timestamp”:“2017-02-08T11:26:09.617000+0530”,“level”:“warn”,“message”:“loading config file”,“file”:"/etc/sensu/conf.d/api.json"}

{“timestamp”:“2017-02-08T11:26:09.618000+0530”,“level”:“warn”,“message”:“config file applied changes”,“file”:"/etc/sensu/conf.d/api.json",“changes”:{“api”:{“bind”:[null,“0.0.0.0”]}}}

{“timestamp”:“2017-02-08T11:26:09.621000+0530”,“level”:“warn”,“message”:“loading config file”,“file”:"/etc/sensu/conf.d/redis.json"}

{“timestamp”:“2017-02-08T11:26:09.623000+0530”,“level”:“warn”,“message”:“config file applied changes”,“file”:"/etc/sensu/conf.d/redis.json",“changes”:{“redis”:{“host”:[“localhost”,“127.0.0.1”]}}}

{“timestamp”:“2017-02-08T11:26:09.627000+0530”,“level”:“warn”,“message”:“loading config file”,“file”:"/etc/sensu/conf.d/transport.json"}

{“timestamp”:“2017-02-08T11:26:09.629000+0530”,“level”:“warn”,“message”:“config file applied changes”,“file”:"/etc/sensu/conf.d/transport.json",“changes”:{}}

{“timestamp”:“2017-02-08T11:26:09.629000+0530”,“level”:“warn”,“message”:“loading config file”,“file”:"/etc/sensu/conf.d/rabbitmq.json"}

{“timestamp”:“2017-02-08T11:26:09.630000+0530”,“level”:“warn”,“message”:“config file applied changes”,“file”:"/etc/sensu/conf.d/rabbitmq.json",“changes”:{“rabbitmq”:{“host”:[“localhost”,“127.0.0.1”],“password”:“REDACTED”}}}

{“timestamp”:“2017-02-08T11:26:09.632000+0530”,“level”:“warn”,“message”:“loaded extension”,“type”:“bridge”,“name”:“flapjack”,“description”:“sends events to flapjack using its redis queue”}

{“timestamp”:“2017-02-08T11:26:09.634000+0530”,“level”:“warn”,“message”:“loaded extension”,“type”:“bridge”,“name”:“event_stream”,“description”:“send all events to a tcp socket”}

{“timestamp”:“2017-02-08T11:26:09.634000+0530”,“level”:“warn”,“message”:“loaded extension”,“type”:“filter”,“name”:“handle_when”,“description”:“filter events using event occurrences”}

{“timestamp”:“2017-02-08T11:26:09.643000+0530”,“level”:“warn”,“message”:“loaded extension”,“type”:“filter”,“name”:“silence_stashes”,“description”:“filter events using API stashes”}

{“timestamp”:“2017-02-08T11:26:09.651000+0530”,“level”:“warn”,“message”:“loaded extension”,“type”:“filter”,“name”:“check_dependencies”,“description”:“filter events when an event exists for a check dependency”}

{“timestamp”:“2017-02-08T11:26:09.660000+0530”,“level”:“warn”,“message”:“loaded extension”,“type”:“filter”,“name”:“occurrences”,“description”:“filter events using event occurrences”}

{“timestamp”:“2017-02-08T11:26:09.660000+0530”,“level”:“warn”,“message”:“loaded extension”,“type”:“mutator”,“name”:“output_format”,“description”:“extracts metrics from check output”}

{“timestamp”:“2017-02-08T11:26:09.661000+0530”,“level”:“warn”,“message”:“loaded extension”,“type”:“mutator”,“name”:“json”,“description”:“returns JSON formatted event data”}

{“timestamp”:“2017-02-08T11:26:09.661000+0530”,“level”:“warn”,“message”:“loaded extension”,“type”:“mutator”,“name”:“ruby_hash”,“description”:“returns ruby hash event data”}

{“timestamp”:“2017-02-08T11:26:09.667000+0530”,“level”:“warn”,“message”:“loaded extension”,“type”:“mutator”,“name”:“only_check_output”,“description”:“returns check output”}

{“timestamp”:“2017-02-08T11:26:09.674000+0530”,“level”:“warn”,“message”:“loaded extension”,“type”:“handler”,“name”:“opentsdb”,“description”:“sends metrics to opentsdb using a persistent tcp connection”}

{“timestamp”:“2017-02-08T11:26:09.674000+0530”,“level”:“warn”,“message”:“loaded extension”,“type”:“handler”,“name”:“graphite”,“description”:“sends metrics to graphite carbon using a persistent tcp connection”}

{“timestamp”:“2017-02-08T11:26:09.676000+0530”,“level”:“warn”,“message”:“loaded extension”,“type”:“handler”,“name”:“wavefront”,“description”:“sends metrics to a wavefront proxy using the wavefront data format”}

{“timestamp”:“2017-02-08T11:26:09.679000+0530”,“level”:“warn”,“message”:“loaded extension”,“type”:“handler”,“name”:“librato”,“description”:“sends metrics to librato”}

{“timestamp”:“2017-02-08T11:26:09.679000+0530”,“level”:“warn”,“message”:“loaded extension”,“type”:“handler”,“name”:“influxdb”,“description”:“sends metrics to influxdb”}

{“timestamp”:“2017-02-08T11:26:09.680000+0530”,“level”:“warn”,“message”:“loaded extension”,“type”:“handler”,“name”:“ec2”,“description”:“removes sensu clients that do not have an allowed ec2 instance state”}

{“timestamp”:“2017-02-08T11:26:09.681000+0530”,“level”:“warn”,“message”:“loaded extension”,“type”:“handler”,“name”:“rollbar”,“description”:“creates and resolves rollbar items”}

{“timestamp”:“2017-02-08T11:26:09.681000+0530”,“level”:“warn”,“message”:“loaded extension”,“type”:“handler”,“name”:“jira”,“description”:“creates, updates, and resolves jira issues”}

{“timestamp”:“2017-02-08T11:26:09.683000+0530”,“level”:“warn”,“message”:“loaded extension”,“type”:“handler”,“name”:“servicenow”,“description”:“creates and resolves servicenow incidents and manages configuration items”}

{“timestamp”:“2017-02-08T11:26:09.683000+0530”,“level”:“warn”,“message”:“loaded extension”,“type”:“handler”,“name”:“opsgenie”,“description”:“creates and closes opsgenie alerts”}

{“timestamp”:“2017-02-08T11:26:09.687000+0530”,“level”:“warn”,“message”:“loaded extension”,“type”:“handler”,“name”:“victorops”,“description”:“creates and resolves victorops incidents”}

{“timestamp”:“2017-02-08T11:26:09.687000+0530”,“level”:“warn”,“message”:“loaded extension”,“type”:“handler”,“name”:“datadog”,“description”:“creates datadog events”}

{“timestamp”:“2017-02-08T11:26:09.689000+0530”,“level”:“warn”,“message”:“loaded extension”,“type”:“handler”,“name”:“puppet”,“description”:“removes sensu clients that do not have a puppet node”}

{“timestamp”:“2017-02-08T11:26:09.690000+0530”,“level”:“warn”,“message”:“loaded extension”,“type”:“handler”,“name”:“email”,“description”:“sends event notification emails”}

{“timestamp”:“2017-02-08T11:26:09.690000+0530”,“level”:“warn”,“message”:“loaded extension”,“type”:“handler”,“name”:“pagerduty”,“description”:“creates and resolves pagerduty incidents”}

{“timestamp”:“2017-02-08T11:26:09.693000+0530”,“level”:“warn”,“message”:“loaded extension”,“type”:“handler”,“name”:“snmp”,“description”:“sends an event SNMP trap to a SNMP manager”}

{“timestamp”:“2017-02-08T11:26:09.721000+0530”,“level”:“warn”,“message”:“loaded extension”,“type”:“handler”,“name”:“chef”,“description”:“removes sensu clients that do not have a chef node”}

{“timestamp”:“2017-02-08T11:26:09.722000+0530”,“level”:“warn”,“message”:“loaded extension”,“type”:“handler”,“name”:“graylog”,“description”:“send events to a graylog raw/plaintext tcp input”}

{“timestamp”:“2017-02-08T11:26:09.722000+0530”,“level”:“warn”,“message”:“loaded extension”,“type”:“handler”,“name”:“hipchat”,“description”:“sends event notifications to a hipchat room”}

{“timestamp”:“2017-02-08T11:26:09.724000+0530”,“level”:“warn”,“message”:“loaded extension”,“type”:“handler”,“name”:“slack”,“description”:“sends event notifications to a slack channel”}

{“timestamp”:“2017-02-08T11:26:09.725000+0530”,“level”:“warn”,“message”:“loaded extension”,“type”:“handler”,“name”:“irc”,“description”:“sends event notifications to an irc channel”}

{“timestamp”:“2017-02-08T11:26:09.725000+0530”,“level”:“warn”,“message”:“loaded extension”,“type”:“handler”,“name”:“debug”,“description”:“returns raw event data”}

{“timestamp”:“2017-02-08T11:26:09.747000+0530”,“level”:“info”,“message”:“configuring sensu spawn”,“settings”:{“limit”:12}}

{“timestamp”:“2017-02-08T11:26:10.555000+0530”,“level”:“info”,“message”:“api listening”,“protocol”:“http”,“bind”:“0.0.0.0”,“port”:4567}

{“timestamp”:“2017-02-08T11:26:12.808000+0530”,“level”:“info”,“message”:“i am now the leader”}

{“timestamp”:“2017-02-08T11:26:26.643000+0530”,“level”:“info”,“message”:“publishing check request”,“payload”:{“command”:“echo -n OK”,“name”:“test”,“issued”:1486533386},“subscribers”:[“test”]}

{“timestamp”:“2017-02-08T11:26:42.823000+0530”,“level”:“info”,“message”:“determining stale clients”}

{“timestamp”:“2017-02-08T11:26:42.837000+0530”,“level”:“info”,“message”:“determining stale check results”}

{“timestamp”:“2017-02-08T11:27:12.833000+0530”,“level”:“info”,“message”:“pruning enterprise metric counters”}

{“timestamp”:“2017-02-08T11:27:12.844000+0530”,“level”:“info”,“message”:“determining stale clients”}

{“timestamp”:“2017-02-08T11:27:12.864000+0530”,“level”:“info”,“message”:“determining stale check results”}

{“timestamp”:“2017-02-08T11:27:26.691000+0530”,“level”:“info”,“message”:“publishing check request”,“payload”:{“command”:“echo -n OK”,“name”:“test”,“issued”:1486533446},“subscribers”:[“test”]}

{“timestamp”:“2017-02-08T11:27:42.850000+0530”,“level”:“info”,“message”:“determining stale clients”}

{“timestamp”:“2017-02-08T11:27:42.878000+0530”,“level”:“info”,“message”:“determining stale check results”}

{“timestamp”:“2017-02-08T11:28:12.843000+0530”,“level”:“info”,“message”:“pruning enterprise metric counters”}

{“timestamp”:“2017-02-08T11:28:12.862000+0530”,“level”:“info”,“message”:“determining stale clients”}

{“timestamp”:“2017-02-08T11:28:12.894000+0530”,“level”:“info”,“message”:“determining stale check results”}

{“timestamp”:“2017-02-08T11:28:26.697000+0530”,“level”:“info”,“message”:“publishing check request”,“payload”:{“command”:“echo -n OK”,“name”:“test”,“issued”:1486533506},“subscribers”:[“test”]}

{“timestamp”:“2017-02-08T11:28:42.865000+0530”,“level”:“info”,“message”:“determining stale clients”}

{“timestamp”:“2017-02-08T11:28:42.899000+0530”,“level”:“info”,“message”:“determining stale check results”}

{“timestamp”:“2017-02-08T11:29:12.846000+0530”,“level”:“info”,“message”:“pruning enterprise metric counters”}

{“timestamp”:“2017-02-08T11:29:12.869000+0530”,“level”:“info”,“message”:“determining stale clients”}

{“timestamp”:“2017-02-08T11:29:12.916000+0530”,“level”:“info”,“message”:“determining stale check results”}

{“timestamp”:“2017-02-08T11:29:26.713000+0530”,“level”:“info”,“message”:“publishing check request”,“payload”:{“command”:“echo -n OK”,“name”:“test”,“issued”:1486533566},“subscribers”:[“test”]}

{“timestamp”:“2017-02-08T11:29:42.872000+0530”,“level”:“info”,“message”:“determining stale clients”}

{“timestamp”:“2017-02-08T11:29:42.926000+0530”,“level”:“info”,“message”:“determining stale check results”}

{“timestamp”:“2017-02-08T11:30:12.852000+0530”,“level”:“info”,“message”:“pruning enterprise metric counters”}

{“timestamp”:“2017-02-08T11:30:12.875000+0530”,“level”:“info”,“message”:“determining stale clients”}

{“timestamp”:“2017-02-08T11:30:12.937000+0530”,“level”:“info”,“message”:“determining stale check results”}

{“timestamp”:“2017-02-08T11:30:26.724000+0530”,“level”:“info”,“message”:“publishing check request”,“payload”:{“command”:“echo -n OK”,“name”:“test”,“issued”:1486533626},“subscribers”:[“test”]}

{“timestamp”:“2017-02-08T11:30:42.881000+0530”,“level”:“info”,“message”:“determining stale clients”}

{“timestamp”:“2017-02-08T11:30:42.977000+0530”,“level”:“info”,“message”:“determining stale check results”}

{“timestamp”:“2017-02-08T11:31:12.855000+0530”,“level”:“info”,“message”:“pruning enterprise metric counters”}

{“timestamp”:“2017-02-08T11:31:12.884000+0530”,“level”:“info”,“message”:“determining stale clients”}

{“timestamp”:“2017-02-08T11:31:12.978000+0530”,“level”:“info”,“message”:“determining stale check results”}

{“timestamp”:“2017-02-08T11:31:26.730000+0530”,“level”:“info”,“message”:“publishing check request”,“payload”:{“command”:“echo -n OK”,“name”:“test”,“issued”:1486533686},“subscribers”:[“test”]}

{“timestamp”:“2017-02-08T11:31:42.887000+0530”,“level”:“info”,“message”:“determining stale clients”}

{“timestamp”:“2017-02-08T11:31:42.980000+0530”,“level”:“info”,“message”:“determining stale check results”}

{“timestamp”:“2017-02-08T11:32:12.860000+0530”,“level”:“info”,“message”:“pruning enterprise metric counters”}

{“timestamp”:“2017-02-08T11:32:12.895000+0530”,“level”:“info”,“message”:“determining stale clients”}

{“timestamp”:“2017-02-08T11:32:12.981000+0530”,“level”:“info”,“message”:“determining stale check results”}

{“timestamp”:“2017-02-08T11:32:26.738000+0530”,“level”:“info”,“message”:“publishing check request”,“payload”:{“command”:“echo -n OK”,“name”:“test”,“issued”:1486533746},“subscribers”:[“test”]}

{“timestamp”:“2017-02-08T11:32:42.904000+0530”,“level”:“info”,“message”:“determining stale clients”}

{“timestamp”:“2017-02-08T11:32:42.983000+0530”,“level”:“info”,“message”:“determining stale check results”}

^C{“timestamp”:“2017-02-08T11:33:12.390000+0530”,“level”:“warn”,“message”:“received signal”,“signal”:“INT”}

{“timestamp”:“2017-02-08T11:33:12.862000+0530”,“level”:“info”,“message”:“pruning enterprise metric counters”}

{“timestamp”:“2017-02-08T11:33:12.907000+0530”,“level”:“info”,“message”:“determining stale clients”}

{“timestamp”:“2017-02-08T11:33:12.984000+0530”,“level”:“info”,“message”:“determining stale check results”}

{“timestamp”:“2017-02-08T11:33:13.306000+0530”,“level”:“warn”,“message”:“stopping”}

{“timestamp”:“2017-02-08T11:33:13.308000+0530”,“level”:“warn”,“message”:“unsubscribing from keepalive and result queues”}

{“timestamp”:“2017-02-08T11:33:13.324000+0530”,“level”:“warn”,“message”:“resigning as leader”}

{“timestamp”:“2017-02-08T11:33:13.331000+0530”,“level”:“info”,“message”:“completing work in progress”,“in_progress”:{“check_results”:0}}

{“timestamp”:“2017-02-08T11:33:13.843000+0530”,“level”:“warn”,“message”:“stopping reactor”}

root@ubuntu:/usr/bin#

root@ubuntu:/usr/bin# sensu-enterprise start

{“timestamp”:“2017-02-08T11:41:25.732000+0530”,“level”:“warn”,“message”:“loading config file”,“file”:"/etc/sensu/config.json"}

{“timestamp”:“2017-02-08T11:41:25.773000+0530”,“level”:“warn”,“message”:“loading config files from directory”,“directory”:"/etc/sensu/conf.d"}

{“timestamp”:“2017-02-08T11:41:25.777000+0530”,“level”:“warn”,“message”:“loading config file”,“file”:"/etc/sensu/conf.d/client.json"}

{“timestamp”:“2017-02-08T11:41:25.779000+0530”,“level”:“warn”,“message”:“config file applied changes”,“file”:"/etc/sensu/conf.d/client.json",“changes”:{“client”:{“name”:[“localhost”,“ubuntuADSK”],“environment”:[null,“development”],“socket”:[null,{“bind”:“127.0.0.1”,“port”:3030}]}}}

{“timestamp”:“2017-02-08T11:41:25.828000+0530”,“level”:“warn”,“message”:“loading config file”,“file”:"/etc/sensu/conf.d/api.json"}

{“timestamp”:“2017-02-08T11:41:25.830000+0530”,“level”:“warn”,“message”:“config file applied changes”,“file”:"/etc/sensu/conf.d/api.json",“changes”:{“api”:{“bind”:[null,“0.0.0.0”]}}}

{“timestamp”:“2017-02-08T11:41:25.832000+0530”,“level”:“warn”,“message”:“loading config file”,“file”:"/etc/sensu/conf.d/redis.json"}

{“timestamp”:“2017-02-08T11:41:25.839000+0530”,“level”:“warn”,“message”:“config file applied changes”,“file”:"/etc/sensu/conf.d/redis.json",“changes”:{“redis”:{“host”:[“localhost”,“127.0.0.1”]}}}

{“timestamp”:“2017-02-08T11:41:25.839000+0530”,“level”:“warn”,“message”:“loading config file”,“file”:"/etc/sensu/conf.d/transport.json"}

{“timestamp”:“2017-02-08T11:41:25.840000+0530”,“level”:“warn”,“message”:“config file applied changes”,“file”:"/etc/sensu/conf.d/transport.json",“changes”:{}}

{“timestamp”:“2017-02-08T11:41:25.841000+0530”,“level”:“warn”,“message”:“loading config file”,“file”:"/etc/sensu/conf.d/rabbitmq.json"}

{“timestamp”:“2017-02-08T11:41:25.847000+0530”,“level”:“warn”,“message”:“config file applied changes”,“file”:"/etc/sensu/conf.d/rabbitmq.json",“changes”:{“rabbitmq”:{“host”:[“localhost”,“127.0.0.1”],“password”:“REDACTED”}}}

{“timestamp”:“2017-02-08T11:41:25.848000+0530”,“level”:“warn”,“message”:“loaded extension”,“type”:“bridge”,“name”:“flapjack”,“description”:“sends events to flapjack using its redis queue”}

{“timestamp”:“2017-02-08T11:41:25.849000+0530”,“level”:“warn”,“message”:“loaded extension”,“type”:“bridge”,“name”:“event_stream”,“description”:“send all events to a tcp socket”}

{“timestamp”:“2017-02-08T11:41:25.853000+0530”,“level”:“warn”,“message”:“loaded extension”,“type”:“filter”,“name”:“handle_when”,“description”:“filter events using event occurrences”}

{“timestamp”:“2017-02-08T11:41:25.854000+0530”,“level”:“warn”,“message”:“loaded extension”,“type”:“filter”,“name”:“silence_stashes”,“description”:“filter events using API stashes”}

{“timestamp”:“2017-02-08T11:41:25.866000+0530”,“level”:“warn”,“message”:“loaded extension”,“type”:“filter”,“name”:“check_dependencies”,“description”:“filter events when an event exists for a check dependency”}

{“timestamp”:“2017-02-08T11:41:25.867000+0530”,“level”:“warn”,“message”:“loaded extension”,“type”:“filter”,“name”:“occurrences”,“description”:“filter events using event occurrences”}

{“timestamp”:“2017-02-08T11:41:25.872000+0530”,“level”:“warn”,“message”:“loaded extension”,“type”:“mutator”,“name”:“output_format”,“description”:“extracts metrics from check output”}

{“timestamp”:“2017-02-08T11:41:25.883000+0530”,“level”:“warn”,“message”:“loaded extension”,“type”:“mutator”,“name”:“json”,“description”:“returns JSON formatted event data”}

{“timestamp”:“2017-02-08T11:41:25.885000+0530”,“level”:“warn”,“message”:“loaded extension”,“type”:“mutator”,“name”:“ruby_hash”,“description”:“returns ruby hash event data”}

{“timestamp”:“2017-02-08T11:41:25.885000+0530”,“level”:“warn”,“message”:“loaded extension”,“type”:“mutator”,“name”:“only_check_output”,“description”:“returns check output”}

{“timestamp”:“2017-02-08T11:41:25.886000+0530”,“level”:“warn”,“message”:“loaded extension”,“type”:“handler”,“name”:“opentsdb”,“description”:“sends metrics to opentsdb using a persistent tcp connection”}

{“timestamp”:“2017-02-08T11:41:25.887000+0530”,“level”:“warn”,“message”:“loaded extension”,“type”:“handler”,“name”:“graphite”,“description”:“sends metrics to graphite carbon using a persistent tcp connection”}

{“timestamp”:“2017-02-08T11:41:25.894000+0530”,“level”:“warn”,“message”:“loaded extension”,“type”:“handler”,“name”:“wavefront”,“description”:“sends metrics to a wavefront proxy using the wavefront data format”}

{“timestamp”:“2017-02-08T11:41:25.898000+0530”,“level”:“warn”,“message”:“loaded extension”,“type”:“handler”,“name”:“librato”,“description”:“sends metrics to librato”}

{“timestamp”:“2017-02-08T11:41:25.900000+0530”,“level”:“warn”,“message”:“loaded extension”,“type”:“handler”,“name”:“influxdb”,“description”:“sends metrics to influxdb”}

{“timestamp”:“2017-02-08T11:41:25.900000+0530”,“level”:“warn”,“message”:“loaded extension”,“type”:“handler”,“name”:“ec2”,“description”:“removes sensu clients that do not have an allowed ec2 instance state”}

{“timestamp”:“2017-02-08T11:41:25.902000+0530”,“level”:“warn”,“message”:“loaded extension”,“type”:“handler”,“name”:“rollbar”,“description”:“creates and resolves rollbar items”}

{“timestamp”:“2017-02-08T11:41:25.911000+0530”,“level”:“warn”,“message”:“loaded extension”,“type”:“handler”,“name”:“jira”,“description”:“creates, updates, and resolves jira issues”}

{“timestamp”:“2017-02-08T11:41:25.911000+0530”,“level”:“warn”,“message”:“loaded extension”,“type”:“handler”,“name”:“servicenow”,“description”:“creates and resolves servicenow incidents and manages configuration items”}

{“timestamp”:“2017-02-08T11:41:25.912000+0530”,“level”:“warn”,“message”:“loaded extension”,“type”:“handler”,“name”:“opsgenie”,“description”:“creates and closes opsgenie alerts”}

{“timestamp”:“2017-02-08T11:41:25.912000+0530”,“level”:“warn”,“message”:“loaded extension”,“type”:“handler”,“name”:“victorops”,“description”:“creates and resolves victorops incidents”}

{“timestamp”:“2017-02-08T11:41:25.913000+0530”,“level”:“warn”,“message”:“loaded extension”,“type”:“handler”,“name”:“datadog”,“description”:“creates datadog events”}

{“timestamp”:“2017-02-08T11:41:25.913000+0530”,“level”:“warn”,“message”:“loaded extension”,“type”:“handler”,“name”:“puppet”,“description”:“removes sensu clients that do not have a puppet node”}

{“timestamp”:“2017-02-08T11:41:25.915000+0530”,“level”:“warn”,“message”:“loaded extension”,“type”:“handler”,“name”:“email”,“description”:“sends event notification emails”}

{“timestamp”:“2017-02-08T11:41:25.927000+0530”,“level”:“warn”,“message”:“loaded extension”,“type”:“handler”,“name”:“pagerduty”,“description”:“creates and resolves pagerduty incidents”}

{“timestamp”:“2017-02-08T11:41:25.935000+0530”,“level”:“warn”,“message”:“loaded extension”,“type”:“handler”,“name”:“snmp”,“description”:“sends an event SNMP trap to a SNMP manager”}

{“timestamp”:“2017-02-08T11:41:25.939000+0530”,“level”:“warn”,“message”:“loaded extension”,“type”:“handler”,“name”:“chef”,“description”:“removes sensu clients that do not have a chef node”}

{“timestamp”:“2017-02-08T11:41:25.940000+0530”,“level”:“warn”,“message”:“loaded extension”,“type”:“handler”,“name”:“graylog”,“description”:“send events to a graylog raw/plaintext tcp input”}

{“timestamp”:“2017-02-08T11:41:25.947000+0530”,“level”:“warn”,“message”:“loaded extension”,“type”:“handler”,“name”:“hipchat”,“description”:“sends event notifications to a hipchat room”}

{“timestamp”:“2017-02-08T11:41:25.947000+0530”,“level”:“warn”,“message”:“loaded extension”,“type”:“handler”,“name”:“slack”,“description”:“sends event notifications to a slack channel”}

{“timestamp”:“2017-02-08T11:41:25.968000+0530”,“level”:“warn”,“message”:“loaded extension”,“type”:“handler”,“name”:“irc”,“description”:“sends event notifications to an irc channel”}

{“timestamp”:“2017-02-08T11:41:25.972000+0530”,“level”:“warn”,“message”:“loaded extension”,“type”:“handler”,“name”:“debug”,“description”:“returns raw event data”}

{“timestamp”:“2017-02-08T11:41:25.988000+0530”,“level”:“info”,“message”:“configuring sensu spawn”,“settings”:{“limit”:12}}

{“timestamp”:“2017-02-08T11:41:26.931000+0530”,“level”:“info”,“message”:“api listening”,“protocol”:“http”,“bind”:“0.0.0.0”,“port”:4567}

{“timestamp”:“2017-02-08T11:41:29.199000+0530”,“level”:“info”,“message”:“i am now the leader”}

{“timestamp”:“2017-02-08T11:41:59.206000+0530”,“level”:“info”,“message”:“determining stale clients”}

{“timestamp”:“2017-02-08T11:41:59.213000+0530”,“level”:“info”,“message”:“determining stale check results”}

{“timestamp”:“2017-02-08T11:42:26.641000+0530”,“level”:“info”,“message”:“publishing check request”,“payload”:{“command”:“echo -n OK”,“name”:“test”,“issued”:1486534346},“subscribers”:[“test”]}

{“timestamp”:“2017-02-08T11:42:29.215000+0530”,“level”:“info”,“message”:“pruning enterprise metric counters”}

{“timestamp”:“2017-02-08T11:42:29.217000+0530”,“level”:“info”,“message”:“determining stale clients”}

{“timestamp”:“2017-02-08T11:42:29.218000+0530”,“level”:“info”,“message”:“determining stale check results”}

{“timestamp”:“2017-02-08T11:42:59.221000+0530”,“level”:“info”,“message”:“determining stale clients”}

{“timestamp”:“2017-02-08T11:42:59.225000+0530”,“level”:“info”,“message”:“determining stale check results”}

{“timestamp”:“2017-02-08T11:43:26.654000+0530”,“level”:“info”,“message”:“publishing check request”,“payload”:{“command”:“echo -n OK”,“name”:“test”,“issued”:1486534406},“subscribers”:[“test”]}

{“timestamp”:“2017-02-08T11:43:29.216000+0530”,“level”:“info”,“message”:“pruning enterprise metric counters”}

{“timestamp”:“2017-02-08T11:43:29.224000+0530”,“level”:“info”,“message”:“determining stale clients”}

{“timestamp”:“2017-02-08T11:43:29.240000+0530”,“level”:“info”,“message”:“determining stale check results”}

{“timestamp”:“2017-02-08T11:43:59.229000+0530”,“level”:“info”,“message”:“determining stale clients”}

{“timestamp”:“2017-02-08T11:43:59.257000+0530”,“level”:“info”,“message”:“determining stale check results”}

{“timestamp”:“2017-02-08T11:44:26.667000+0530”,“level”:“info”,“message”:“publishing check request”,“payload”:{“command”:“echo -n OK”,“name”:“test”,“issued”:1486534466},“subscribers”:[“test”]}

{“timestamp”:“2017-02-08T11:44:29.219000+0530”,“level”:“info”,“message”:“pruning enterprise metric counters”}

{“timestamp”:“2017-02-08T11:44:29.259000+0530”,“level”:“info”,“message”:“determining stale clients”}

{“timestamp”:“2017-02-08T11:44:29.268000+0530”,“level”:“info”,“message”:“determining stale check results”}

{“timestamp”:“2017-02-08T11:44:59.265000+0530”,“level”:“info”,“message”:“determining stale clients”}

{“timestamp”:“2017-02-08T11:44:59.271000+0530”,“level”:“info”,“message”:“determining stale check results”}

{“timestamp”:“2017-02-08T11:45:26.674000+0530”,“level”:“info”,“message”:“publishing check request”,“payload”:{“command”:“echo -n OK”,“name”:“test”,“issued”:1486534526},“subscribers”:[“test”]}

{“timestamp”:“2017-02-08T11:45:29.221000+0530”,“level”:“info”,“message”:“pruning enterprise metric counters”}

{“timestamp”:“2017-02-08T11:45:29.272000+0530”,“level”:“info”,“message”:“determining stale clients”}

{“timestamp”:“2017-02-08T11:45:29.274000+0530”,“level”:“info”,“message”:“determining stale check results”}

{“timestamp”:“2017-02-08T11:45:59.276000+0530”,“level”:“info”,“message”:“determining stale clients”}

{“timestamp”:“2017-02-08T11:45:59.279000+0530”,“level”:“info”,“message”:“determining stale check results”}

{“timestamp”:“2017-02-08T11:46:26.688000+0530”,“level”:“info”,“message”:“publishing check request”,“payload”:{“command”:“echo -n OK”,“name”:“test”,“issued”:1486534586},“subscribers”:[“test”]}

{“timestamp”:“2017-02-08T11:46:29.223000+0530”,“level”:“info”,“message”:“pruning enterprise metric counters”}

{“timestamp”:“2017-02-08T11:46:29.288000+0530”,“level”:“info”,“message”:“determining stale clients”}

{“timestamp”:“2017-02-08T11:46:29.289000+0530”,“level”:“info”,“message”:“determining stale check results”}

{“timestamp”:“2017-02-08T11:46:59.291000+0530”,“level”:“info”,“message”:“determining stale clients”}

{“timestamp”:“2017-02-08T11:46:59.292000+0530”,“level”:“info”,“message”:“determining stale check results”}

{“timestamp”:“2017-02-08T11:47:26.693000+0530”,“level”:“info”,“message”:“publishing check request”,“payload”:{“command”:“echo -n OK”,“name”:“test”,“issued”:1486534646},“subscribers”:[“test”]}

{“timestamp”:“2017-02-08T11:47:29.226000+0530”,“level”:“info”,“message”:“pruning enterprise metric counters”}

{“timestamp”:“2017-02-08T11:47:29.293000+0530”,“level”:“info”,“message”:“determining stale clients”}

{“timestamp”:“2017-02-08T11:47:29.294000+0530”,“level”:“info”,“message”:“determining stale check results”}

Unpacking sensu-enterprise-dashboard (1:2.2.1-1) over (1:2.2.1-1) …

dpkg: error processing archive /var/cache/apt/archives/sensu-enterprise-dashboard_1%3a2.2.1-1_amd64.deb (–unpack):

trying to overwrite ‘/etc/sensu/dashboard.d/.keep’, which is also in package uchiwa 0.22.0-1

Errors were encountered while processing:

/var/cache/apt/archives/sensu-enterprise-dashboard_1%3a2.2.1-1_amd64.deb

Here’s your problem. It seems like there’s a file (a placeholder btw.) that is in both the packages uchiwa and sensu-enterprise-dashboard.

You can try one of the following:

  • remove the file manually

  • run apt-get purge uchiwa to permanently remove all the configuration for uchiwa, then install the dashboard.

By the way. These look unhealthy:

1 upgraded, 0 newly installed, 0 to remove and 221 not upgraded.

2 not fully installed or removed.

Consider upgrading or at least fixing the partially installed ones.

···

On Wednesday, February 8, 2017 at 7:18:36 AM UTC+1, Vipul Vadoliya wrote: