Kyoto Tycoon is a lightweight database server with auto expiration mechanism, which is useful to handle cache data and persistent data of various applications. Kyoto Tycoon is also a package of network interface to the DBM called Kyoto Cabinet.
Prerequisite
For Virtual machines, install the Linux agent.
Configuring the credentials
Configure the credentials in the directory /opt/opsramp/agent/conf/app.d/creds.yaml
kyototycoon:
- name: kyototycoon
  user: <username>
  pwd: <Password>
  encoding-type: plain
  labels:
    key1: val1
    key2: val2
  
Configuring the application
Virtual machine
Configure the application in the directory /opt/opsramp/agent/conf/app/discovery/auto-detection.yaml
- name: kyototycoon
  instance-checks:
    service-check:
      - ktserver
    process-check:
      - ktserver
    port-check:
      - 1978
  
Docker environment
Configure the application in the directory /opt/opsramp/agent/conf/app/discovery/auto-container-detection.yaml
- name: kyototycoon
  container-checks:
    image-check:
      - kyototycoon
    port-check:
      - 1978
  
Kubernetes environment
Configure the application in config.yaml
- name: kyototycoon
  container-checks:
    image-check:
      - kyototycoon
    port-check:
      - 1978
Validate
Go to Resources under the Infrastructure tab to check if your resources are onboarded and the metrics are collected.
Supported metrics
| OpsRamp Metric | Metric Display Name | Unit | 
|---|---|---|
| kyototycoon_serv_thread_count Total number of threads | Server Thread Count | threads | 
| kyototycoon_serv_conn_count Total number of connections | Server Conn Count | |
| kyototycoon_cnt_get Number of of get hits | Count Get | |
| kyototycoon_cnt_get_misses Number of get misses | Count Get Misses | |
| kyototycoon_cnt_set Number of set hits | Count Set | hits | 
| kyototycoon_cnt_set_misses Number of set misses | Count Set Misses | |
| kyototycoon_cnt_remove Number of deleted hits | Count Remove | |
| kyototycoon_cnt_remove_misses Number of deleted misses | Count Remove Misses | misses | 
| kyototycoon_serv_task_count Number of tasks in server | Server Task Count | tasks | 
| kyototycoon_db_total_size Current size of the kyoto tycoon DB | Db Total Size | bytes | 
| kyototycoon_db_total_count Total amount of records | Db Total Count |