Announcement

Collapse
No announcement yet.

Supervice Elasticsearch process

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Supervice Elasticsearch process

    [EN]

    Hi,

    I want to supervise elasticsearch process but i can't.
    Elastisearch is launch by Java process

    # systemctl status elasticsearch.service
    â elasticsearch.service - Elasticsearch
    Loaded: loaded (/usr/lib/systemd/system/elasticsearch.service; enabled; vendor preset: disabled)
    Active: active (running) since ven. 2018-07-06 10:01:20 CEST; 4 days ago
    Docs: http://www.elastic.co
    Process: 22769 ExecStartPre=/usr/share/elasticsearch/bin/elasticsearch-systemd-pre-exec (code=exited, status=0/SUCCESS)
    Main PID: 22771 (java)
    CGroup: /system.slice/elasticsearch.service
    ââ22771 /bin/java -Xms2g -Xmx2g -XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction=75 -XX:+UseCMSInitiatingOccupancyOnly -XX:+AlwaysPreTouch -server -Xss1m -Djava.awt.headless=true -Dfile.encoding=UTF-8 -Djna.nosys...

    I try with this command but it's don't work :

    # /usr/lib/nagios/plugins/check_centreon_snmp_process -H 10.10.1.66 -v2 -C public -n -p elasticsearch -w1 -c2
    Number of current processes: 0|nbproc=0

    How can i do ?


    Regards
    -----------------------------------

    [FR]

    Bonjour,

    Je souhaite superviser le process elasticsearch mais je n'y arrive pas.
    Elasticsearch est lancé via Java mais je ne souhaite pas supervisé Java car cela va remonter un nombre de Java qui ne correspond pas à Elasticsearch

    Comment puisse-je faire ?

    Cdt
Working...
X