Cloudify monitoring and Zabbix - monitoring

I use Cloudify 2.7.0 GA and I bootstrapped cloudify on Openstack Havana.
How to integrate cloudify monitoring and Zabbix?

You can use the REST API to get Cloudify metrics:
/{version}/deployments/{appName}/service/{serviceName}/instances/{instanceId}/metrics
See the corresponding entry on the REST API docs.

I would use curl to get metrics from management interface and zabbix_trapper to send them zabbix server.
https://www.zabbix.com/documentation/2.2/manual/config/items/itemtypes/trapper
I didn't use api before but if there is an api to expose metrics, it would be proper method.

Related

Does the docker version of opennms have Rest API?

I am building a frontend-like for OpenNMS and chose to install OpenNMS in a docker container. I need to use the Rest API to further my project and when I try to send a request to
http://localhost:8980/opennms/rest, using the python requests library the return code is 404.
Does OpenNMS for docker not have Rest API or do I need to install it on my core system instead of docker.
P.S. This is my first time trying to do use the Rest API of an application.
imgur link : https://imgur.com/5UDPjRF
The URL you are calling is just the base URL for our rest resources. For Nodes as an example, you can test this with curl -u admin http://localhost:8980/opennms/rest/nodes. The REST API endpoints are described in the documentation here

Grafana plugin activation

Is there any way to enable a grafana plugin within its configuration files?
I am using grafana v5 or v4
It looks like you have to login and then click then enable button
I found a workaround for my problem running docker with a volume that would map the default sqlite db for grafana in /var/lib/grafana/grafana.db
this would keep any configuration, dashboard, datasource firstly set up in the web interface
You can use the Zabbix Plugin for Grafana.
You need to install and enable the plugin, then configure the Zabbix datasource:
URL: http://yourserver/zabbix/api_jsonrpc.php
access: proxy or direct, depends on the reachability of Zabbix and grafana servers
username: use a dedicated one, with the required read permissions
And you're ready to create dashboards by referencing groups, applications, hosts and items.
Here you can find the getting starded guide, it's quite complete.
The regexp & templating features are really powerful, I advise to read it carefully.

How to use https to call the kubernetes api server

I have a two node kubernetes cluster on a linux server and I use the kubernetes api to pull stats about them using a http api through kubeproxy. However I haven't found any good documentation on how to use https. I am kinda new to setting up environments so a lot of the high level documentation goes over me.
You need to configure https on kubernetes api server. You can check Kelseys's https://github.com/kelseyhightower/kubernetes-the-hard-way
Also look at this doc https://kubernetes.io/docs/admin/accessing-the-api/
Configuring kubernetes SSL manualy may be hard. If you have troubles try to use kubeadm utility - https://kubernetes.io/docs/setup/independent/create-cluster-kubeadm/

does ambari use nagios

I'm newbie to ambari,so I'm reading some articles about it
in one of these articles it's said that :
ambari dashboard is used to give information issued from Ganglia and Nagios
so I wonder if ambari use, or based on Nagios to monitor it's services, if not does it possible to use nagios to monitor ambari (and it's services ) ?
Nagios and Ganglia were used as standalone services, to provide info for Ambari 1.7.0 and less. Since version 2.0, Ambari moved to use his own monitoring service Ambari Metrics and Ambari Alerts. Support of Nagios with Ganglia was dropped.

Does FUSE ESB support RabbitMQ?

I am making one rails application which is integreted with RabbiMQ.
I want to integrate Fuse ESB in my application, but still after google I am not confirmed that RabbitMQ supports to Fuse ESB or not.
Can anybody tell me that RabbitMQ supports Fuse ESB or not?
FUSE ESB contains a messaging infrastructure based on the JMS technology of Apache ActiveMQ. ActiveMQ is not interoperable out-of-the-box with AMQP systems like RabbitMQ.
However, Apache Camel (also part of FUSE) supports AMQP via the client API of the Apache Qpid project. Since both Qpid and RabbitMQ implement the AMQP messaging standard, you may be able to communicate with a RabbitMQ broker from a Qpid client. There are some potential issues and solutions associated with this approach outlined here.

Resources