Re: separate monitoring node

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I use icinga2 as well with a check_ceph.py that I wrote a couple years ago. The method I use is that icinga2 runs the check from the icinga2 host itself. ceph-common is installed on the icinga2 host since the check_ceph script is a wrapper and parser for the ceph command output using python's subprocess. The script takes a conf, id, and keyring argument so it acts like a ceph client and only the conf and keyring need to be present. I added a cephx user for the icinga checks. I also use icinga2,nrpe,check_proc to check the correct number of osd/mon/mgr/mds are running on a host.

# ceph auth get client.icinga
exported keyring for client.icinga
[client.icinga]
    key = <nope>
    caps mgr = "allow r"
    caps mon = "allow r"


I just realized my script on github is the first or second result when googling for icinga2 ceph checks so there is a chance you are trying to use the same thing as me.

Kevin


On 06/19/2018 07:17 AM, Denny Fuchs wrote:
Hi,

at the moment, we use Icinga2, check_ceph* and Telegraf with the Ceph plugin. I'm asking what I need to have a separate host, which knows all about the Ceph cluster health. The reason is, that each OSD node has mostly the exact same data, which is transmitted into our database (like InfluxDB or MySQL) and wasting space. Also if something is going on, we get alerts for each OSD.

So my idea is, to have a separate VM (on external host) and we use only this host for monitoring the global cluster state and measurements.
Is it correct, that I need only to have mon and mgr as services ? Or should I do monitoring in a different way?

cu denny
_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux