I’m new and trying to determine if sensu is what my company wants to use. I have set up the server, and I want to set up a client on the server for some basic monitoring. I created a client.json, and a transport.json. And I run the command “sudo update-rc.d sensu client enable”, I get an error that states that it cannot find the LSB script for sensu-client. I have no idea where to go from here, any advice would be appreciated.
Have you looked under /etc/init.d for sensu-client? Is there an init script for sensu-api and/or sensu-server?
···
On Friday, May 26, 2017 at 2:33:30 AM UTC+10, Tim wrote:
Hi everyone,
I’m new and trying to determine if sensu is what my company wants to use. I have set up the server, and I want to set up a client on the server for some basic monitoring. I created a client.json, and a transport.json. And I run the command “sudo update-rc.d sensu client enable”, I get an error that states that it cannot find the LSB script for sensu-client. I have no idea where to go from here, any advice would be appreciated.
I actually encountered the same problem. I looked into /etc/init.d and did not find any script for sensu-api or sensu-server. What shall i do?
Dne čtvrtek 25. května 2017 18:33:30 UTC+2 Tim napsal(a):
···
Hi everyone,
I’m new and trying to determine if sensu is what my company wants to use. I have set up the server, and I want to set up a client on the server for some basic monitoring. I created a client.json, and a transport.json. And I run the command “sudo update-rc.d sensu client enable”, I get an error that states that it cannot find the LSB script for sensu-client. I have no idea where to go from here, any advice would be appreciated.
I actually encountered the same problem. I looked into /etc/init.d and did not find any script for sensu-api or sensu-server. What shall i do?
If you are on a systemd enabled OS (CentOS7, Ubuntu 16.04), then you can use “systemctl"
shanker@ib-mon1:~$ systemctl | grep sensu
sensu-api.service loaded active running sensu api
sensu-client.service loaded active running sensu client
sensu-server.service loaded active running sensu server
···
On 30-Nov-2017, at 23:01, Olfiq Janoušek <olfiqq@gmail.com> wrote:
Dne čtvrtek 25. května 2017 18:33:30 UTC+2 Tim napsal(a):
Hi everyone,
I'm new and trying to determine if sensu is what my company wants to use. I have set up the server, and I want to set up a client on the server for some basic monitoring. I created a client.json, and a transport.json. And I run the command "sudo update-rc.d sensu client enable", I get an error that states that it cannot find the LSB script for sensu-client. I have no idea where to go from here, any advice would be appreciated.