
Dear all, Now, we can just read how many storage used, cpu usage on ovirt dashboard. But is there any monitoring tool for monitoring virtual machine time to time? If yes, could you guys give me the procedure? Regards Terry

On Thu, Mar 22, 2018 at 5:41 AM, Terry hey <recreationh@gmail.com> wrote:
Dear all,
Now, we can just read how many storage used, cpu usage on ovirt dashboard. But is there any monitoring tool for monitoring virtual machine time to time? If yes, could you guys give me the procedure?
https://ovirt.org/blog/2017/12/ovirt-metrics-store/ might be helpful. Y.
Regards Terry
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

I setup Grafana using the instructions I found on accessing the Ovirt history database. However, the instructions didn't work as written. Regardless, it does work, but it's not easy to setup. The update rate also leaves something to be desired, its ok for historical info, but it's not a good real time monitoring solution (although its possible I could set it up differently and it would work better) Also using Grafana, I have setup Telegraf agents on most of my VMs. Lastly, I also installed Telegraf on the Centos hosts in my Ovirt Cluster *Vincent Royer* *778-825-1057* <http://www.epicenergy.ca/> *SUSTAINABLE MOBILE ENERGY SOLUTIONS* On Wed, Mar 21, 2018 at 8:41 PM, Terry hey <recreationh@gmail.com> wrote:
Dear all,
Now, we can just read how many storage used, cpu usage on ovirt dashboard. But is there any monitoring tool for monitoring virtual machine time to time? If yes, could you guys give me the procedure?
Regards Terry
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

Hi Vincent, I'm sorry it was not an easy setup. Can you please share what did not work for you in the instructions? I see you did manage to get it working... :) If you want data from the last 24 hours in 60 seconds interval (Still not real time but can give you a better granularity), You can use the samples tables. Also, Please make sure to update your* views prefix *to the version you are using, In the example prefix is * v4_2_** *If you are using oVirt 4.1, prefix should be ** v4_1_** For example: (Did not get to test this query yet) SELECT DISTINCT min(time) AS time, MEM_Usage, host_name || 'MEM_Usage' as metric FROM ( SELECT stats_hosts.host_id, CASE WHEN delete_date IS NULL THEN host_name ELSE host_name || ' (Removed on ' || CAST ( CAST ( delete_date AS date ) AS varchar ) || ')' END AS host_name, stats_hosts.history_datetime AS time, SUM ( COALESCE ( stats_hosts.cpu_usage_percent, 0 ) * COALESCE ( stats_hosts.minutes_in_status, 0 ) ) / SUM ( COALESCE ( stats_hosts.minutes_in_status, 0 ) ) AS CPU_Usage, SUM ( COALESCE ( stats_hosts.memory_usage_percent, 0 ) * COALESCE ( stats_hosts.minutes_in_status, 0 ) ) / SUM ( COALESCE ( stats_hosts.minutes_in_status, 0 ) ) AS MEM_Usage FROM* v4_2_statistics_hosts_resources_usage_samples* AS stats_hosts INNER JOIN v4_2_configuration_history_hosts ON ( v4_2_configuration_history_hosts.host_id = stats_hosts.host_id ) WHERE stats_hosts.history_datetime >= $__timeFrom() AND stats_hosts.history_datetime < $__timeTo() -- Here we get the latest hosts configuration AND v4_2_configuration_history_hosts.history_id IN ( SELECT MAX ( a.history_id ) FROM v4_2_configuration_history_hosts AS a GROUP BY a.host_id ) AND stats_hosts.host_id IN ( SELECT a.host_id FROM* v4_2_statistics_hosts_resources_usage_samples* a INNER JOIN v4_2_configuration_history_hosts b ON ( a.host_id = b.host_id ) WHERE -- Here we filter by active hosts only a.host_status = 1 -- Here we filter by the datacenter chosen by the user AND b.cluster_id IN ( SELECT v4_2_configuration_history_clusters.cluster_id FROM v4_2_configuration_history_clusters WHERE v4_2_configuration_history_clusters.datacenter_id = $datacenter_id ) -- Here we filter by the clusters chosen by the user AND b.cluster_id IN ($cluster_id) AND a. history_datetime >= $__timeFrom() AND a.history_datetime < $__timeTo() -- Here we get the latest hosts configuration AND b.history_id IN ( SELECT MAX (g.history_id) FROM v4_2_configuration_history_hosts g GROUP BY g.host_id ) GROUP BY a.host_id ORDER BY -- Hosts will be ordered according to the summery of -- memory and CPU usage percent. --This determines the busiest hosts. SUM ( COALESCE ( a.memory_usage_percent * a.minutes_in_status, 0 ) ) / SUM ( COALESCE ( a.minutes_in_status, 0 ) ) + SUM ( COALESCE ( a.cpu_usage_percent * a.minutes_in_status, 0 ) ) / SUM ( COALESCE ( a.minutes_in_status, 0 ) ) DESC LIMIT 5 ) GROUP BY stats_hosts.host_id, host_name, delete_date, history_datetime ) AS a GROUP BY a.host_name, a.mem_usage ORDER BY time -- SHIRLY RADCO BI SeNIOR SOFTWARE ENGINEER Red Hat Israel <https://www.redhat.com/> <https://red.ht/sig> TRIED. TESTED. TRUSTED. <https://redhat.com/trusted> On Thu, Mar 22, 2018 at 9:05 PM, Vincent Royer <vincent@epicenergy.ca> wrote:
I setup Grafana using the instructions I found on accessing the Ovirt history database. However, the instructions didn't work as written. Regardless, it does work, but it's not easy to setup. The update rate also leaves something to be desired, its ok for historical info, but it's not a good real time monitoring solution (although its possible I could set it up differently and it would work better)
Also using Grafana, I have setup Telegraf agents on most of my VMs.
Lastly, I also installed Telegraf on the Centos hosts in my Ovirt Cluster
*Vincent Royer* *778-825-1057 <(778)%20825-1057>*
<http://www.epicenergy.ca/> *SUSTAINABLE MOBILE ENERGY SOLUTIONS*
On Wed, Mar 21, 2018 at 8:41 PM, Terry hey <recreationh@gmail.com> wrote:
Dear all,
Now, we can just read how many storage used, cpu usage on ovirt dashboard. But is there any monitoring tool for monitoring virtual machine time to time? If yes, could you guys give me the procedure?
Regards Terry
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

Shirly, Sorry it took so long to reply. The issue I found was that the code for the variables required single quotes around some of the fields, such as this one: WHERE datacenter_id ='$datacenter_id' without the single quotes I was getting errors. *Vincent Royer* *778-825-1057* <http://www.epicenergy.ca/> *SUSTAINABLE MOBILE ENERGY SOLUTIONS* On Sun, Mar 25, 2018 at 4:44 AM, Shirly Radco <sradco@redhat.com> wrote:
Hi Vincent,
I'm sorry it was not an easy setup.
Can you please share what did not work for you in the instructions? I see you did manage to get it working... :)
If you want data from the last 24 hours in 60 seconds interval (Still not real time but can give you a better granularity), You can use the samples tables.
Also, Please make sure to update your* views prefix *to the version you are using, In the example prefix is * v4_2_** *If you are using oVirt 4.1, prefix should be ** v4_1_**
For example: (Did not get to test this query yet)
SELECT DISTINCT min(time) AS time, MEM_Usage, host_name || 'MEM_Usage' as metric FROM ( SELECT stats_hosts.host_id, CASE WHEN delete_date IS NULL THEN host_name ELSE host_name || ' (Removed on ' || CAST ( CAST ( delete_date AS date ) AS varchar ) || ')' END AS host_name, stats_hosts.history_datetime AS time, SUM ( COALESCE ( stats_hosts.cpu_usage_percent, 0 ) * COALESCE ( stats_hosts.minutes_in_status, 0 ) ) / SUM ( COALESCE ( stats_hosts.minutes_in_status, 0 ) ) AS CPU_Usage, SUM ( COALESCE ( stats_hosts.memory_usage_percent, 0 ) * COALESCE ( stats_hosts.minutes_in_status, 0 ) ) / SUM ( COALESCE ( stats_hosts.minutes_in_status, 0 ) ) AS MEM_Usage FROM* v4_2_statistics_hosts_resources_usage_samples* AS stats_hosts INNER JOIN v4_2_configuration_history_hosts ON ( v4_2_configuration_history_hosts.host_id = stats_hosts.host_id ) WHERE stats_hosts.history_datetime >= $__timeFrom() AND stats_hosts.history_datetime < $__timeTo() -- Here we get the latest hosts configuration AND v4_2_configuration_history_hosts.history_id IN ( SELECT MAX ( a.history_id ) FROM v4_2_configuration_history_hosts AS a GROUP BY a.host_id ) AND stats_hosts.host_id IN ( SELECT a.host_id FROM* v4_2_statistics_hosts_resources_usage_samples* a INNER JOIN v4_2_configuration_history_hosts b ON ( a.host_id = b.host_id ) WHERE -- Here we filter by active hosts only a.host_status = 1 -- Here we filter by the datacenter chosen by the user AND b.cluster_id IN ( SELECT v4_2_configuration_history_clusters.cluster_id FROM v4_2_configuration_history_clusters WHERE v4_2_configuration_history_clusters.datacenter_id = $datacenter_id ) -- Here we filter by the clusters chosen by the user AND b.cluster_id IN ($cluster_id) AND a. history_datetime >= $__timeFrom() AND a.history_datetime < $__timeTo() -- Here we get the latest hosts configuration AND b.history_id IN ( SELECT MAX (g.history_id) FROM v4_2_configuration_history_hosts g GROUP BY g.host_id ) GROUP BY a.host_id ORDER BY -- Hosts will be ordered according to the summery of -- memory and CPU usage percent. --This determines the busiest hosts. SUM ( COALESCE ( a.memory_usage_percent * a.minutes_in_status, 0 ) ) / SUM ( COALESCE ( a.minutes_in_status, 0 ) ) + SUM ( COALESCE ( a.cpu_usage_percent * a.minutes_in_status, 0 ) ) / SUM ( COALESCE ( a.minutes_in_status, 0 ) ) DESC LIMIT 5 ) GROUP BY stats_hosts.host_id, host_name, delete_date, history_datetime ) AS a GROUP BY a.host_name, a.mem_usage ORDER BY time
--
SHIRLY RADCO
BI SeNIOR SOFTWARE ENGINEER
Red Hat Israel <https://www.redhat.com/> <https://red.ht/sig> TRIED. TESTED. TRUSTED. <https://redhat.com/trusted>
On Thu, Mar 22, 2018 at 9:05 PM, Vincent Royer <vincent@epicenergy.ca> wrote:
I setup Grafana using the instructions I found on accessing the Ovirt history database. However, the instructions didn't work as written. Regardless, it does work, but it's not easy to setup. The update rate also leaves something to be desired, its ok for historical info, but it's not a good real time monitoring solution (although its possible I could set it up differently and it would work better)
Also using Grafana, I have setup Telegraf agents on most of my VMs.
Lastly, I also installed Telegraf on the Centos hosts in my Ovirt Cluster
*Vincent Royer* *778-825-1057 <(778)%20825-1057>*
<http://www.epicenergy.ca/> *SUSTAINABLE MOBILE ENERGY SOLUTIONS*
On Wed, Mar 21, 2018 at 8:41 PM, Terry hey <recreationh@gmail.com> wrote:
Dear all,
Now, we can just read how many storage used, cpu usage on ovirt dashboard. But is there any monitoring tool for monitoring virtual machine time to time? If yes, could you guys give me the procedure?
Regards Terry
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

On 03/21/2018 10:41 PM, Terry hey wrote:
Dear all,
Now, we can just read how many storage used, cpu usage on ovirt dashboard. But is there any monitoring tool for monitoring virtual machine time to time? If yes, could you guys give me the procedure?
A possible option, for a full OS with network connectivity, is to monitor the VM like you would any other host. We use omd/check_mk. Right now there isn't an oVirt specific monitor plugin for check_mk. I know what I said is probably pretty obvious, but just in case.

Hello, I am try this how to: https://www.ovirt.org/develop/release-management/features/metrics/metrics-st... but when i run this command: /usr/share/ovirt-engine-metrics/setup/ansible/configure_ovirt_machines_for_metrics.sh --playbook=ovirt-metrics-store-installation.yml I am had this error mensagem: ansible-playbook: error: no such option: --playbook my version: ovirt-engine-metrics-1.0.8-1.el7.centos.noarch Anyone can help me? 2018-03-22 16:28 GMT-03:00 Christopher Cox <ccox@endlessnow.com>:
On 03/21/2018 10:41 PM, Terry hey wrote:
Dear all,
Now, we can just read how many storage used, cpu usage on ovirt dashboard. But is there any monitoring tool for monitoring virtual machine time to time? If yes, could you guys give me the procedure?
A possible option, for a full OS with network connectivity, is to monitor the VM like you would any other host.
We use omd/check_mk.
Right now there isn't an oVirt specific monitor plugin for check_mk.
I know what I said is probably pretty obvious, but just in case.
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

-- SHIRLY RADCO BI SeNIOR SOFTWARE ENGINEER Red Hat Israel <https://www.redhat.com/> <https://red.ht/sig> TRIED. TESTED. TRUSTED. <https://redhat.com/trusted> On Fri, Mar 23, 2018 at 10:29 PM, Marcelo Leandro <marceloltmm@gmail.com> wrote:
Hello,
I am try this how to:
https://www.ovirt.org/develop/release-management/features/ metrics/metrics-store-installation/
but when i run this command: /usr/share/ovirt-engine-metrics/setup/ansible/ configure_ovirt_machines_for_metrics.sh --playbook=ovirt- metrics-store-installation.yml
I am had this error mensagem: ansible-playbook: error: no such option: --playbook
my version:
ovirt-engine-metrics-1.0.8-1.el7.centos.noarch
Hi, You are using an old rpm. Please upgrade to latest, ovirt-engine-metrics-1.1.3.3-1.el7.centos.noarch I also added some documentation that is still in pull request: Add Viaq installation guide to the oVirt metrics store repo - https://github.com/oVirt/ovirt-site/pull/1551 - This one is meaningful. I introduced a lot of automation that save time when installing. Add prerequisites for installing OpenShift Logging - https://github.com/oVirt/ovirt-site/pull/1561 Added how to import dashboards examples to kibana - https://github.com/oVirt/ovirt-site/pull/1559 Please review them.I'll try to get them merged asap.
Anyone can help me?
2018-03-22 16:28 GMT-03:00 Christopher Cox <ccox@endlessnow.com>:
On 03/21/2018 10:41 PM, Terry hey wrote:
Dear all,
Now, we can just read how many storage used, cpu usage on ovirt dashboard. But is there any monitoring tool for monitoring virtual machine time to time? If yes, could you guys give me the procedure?
A possible option, for a full OS with network connectivity, is to monitor the VM like you would any other host.
We use omd/check_mk.
Right now there isn't an oVirt specific monitor plugin for check_mk.
I know what I said is probably pretty obvious, but just in case.
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

Good morning , Very thanks shirly, I will try. Marcelo Leandro Em Dom, 25 de mar de 2018 06:01, Shirly Radco <sradco@redhat.com> escreveu:
--
SHIRLY RADCO
BI SeNIOR SOFTWARE ENGINEER
Red Hat Israel <https://www.redhat.com/> <https://red.ht/sig> TRIED. TESTED. TRUSTED. <https://redhat.com/trusted>
On Fri, Mar 23, 2018 at 10:29 PM, Marcelo Leandro <marceloltmm@gmail.com> wrote:
Hello,
I am try this how to:
https://www.ovirt.org/develop/release-management/features/metrics/metrics-st...
but when i run this command:
/usr/share/ovirt-engine-metrics/setup/ansible/configure_ovirt_machines_for_metrics.sh --playbook=ovirt-metrics-store-installation.yml
I am had this error mensagem: ansible-playbook: error: no such option: --playbook
my version:
ovirt-engine-metrics-1.0.8-1.el7.centos.noarch
Hi,
You are using an old rpm.
Please upgrade to latest, ovirt-engine-metrics-1.1.3.3-1.el7.centos.noarch
I also added some documentation that is still in pull request:
Add Viaq installation guide to the oVirt metrics store repo - https://github.com/oVirt/ovirt-site/pull/1551 - This one is meaningful. I introduced a lot of automation that save time when installing.
Add prerequisites for installing OpenShift Logging - https://github.com/oVirt/ovirt-site/pull/1561
Added how to import dashboards examples to kibana - https://github.com/oVirt/ovirt-site/pull/1559
Please review them.I'll try to get them merged asap.
Anyone can help me?
2018-03-22 16:28 GMT-03:00 Christopher Cox <ccox@endlessnow.com>:
On 03/21/2018 10:41 PM, Terry hey wrote:
Dear all,
Now, we can just read how many storage used, cpu usage on ovirt dashboard. But is there any monitoring tool for monitoring virtual machine time to time? If yes, could you guys give me the procedure?
A possible option, for a full OS with network connectivity, is to monitor the VM like you would any other host.
We use omd/check_mk.
Right now there isn't an oVirt specific monitor plugin for check_mk.
I know what I said is probably pretty obvious, but just in case.
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

Hi Shirly, I'm trying to install ovirt metric store with ViaQ on Origin. And on https://github.com/oVirt/ovirt-site/pull/1551/files, you mention **WARNING** DO NOT INSTALL `libvirt` on the OpenShift machine! on my VM "metric store", i requested rpm for libvirt and here are the results : [root@ometricstore<mailto:root@ometricstore> .ssh]# rpm -qa | grep libvirt libvirt-daemon-driver-secret-3.2.0-14.el7_4.9.x86_64 libvirt-daemon-driver-storage-core-3.2.0-14.el7_4.9.x86_64 libvirt-daemon-driver-storage-logical-3.2.0-14.el7_4.9.x86_64 libvirt-daemon-config-network-3.2.0-14.el7_4.9.x86_64 libvirt-gconfig-1.0.0-1.el7.x86_64 libvirt-daemon-driver-storage-disk-3.2.0-14.el7_4.9.x86_64 libvirt-glib-1.0.0-1.el7.x86_64 libvirt-libs-3.2.0-14.el7_4.9.x86_64 libvirt-daemon-driver-nwfilter-3.2.0-14.el7_4.9.x86_64 libvirt-daemon-driver-storage-gluster-3.2.0-14.el7_4.9.x86_64 libvirt-daemon-driver-storage-rbd-3.2.0-14.el7_4.9.x86_64 libvirt-gobject-1.0.0-1.el7.x86_64 libvirt-daemon-driver-interface-3.2.0-14.el7_4.9.x86_64 libvirt-daemon-driver-storage-scsi-3.2.0-14.el7_4.9.x86_64 libvirt-daemon-driver-qemu-3.2.0-14.el7_4.9.x86_64 libvirt-daemon-kvm-3.2.0-14.el7_4.9.x86_64 libvirt-daemon-3.2.0-14.el7_4.9.x86_64 libvirt-daemon-driver-network-3.2.0-14.el7_4.9.x86_64 libvirt-daemon-driver-storage-iscsi-3.2.0-14.el7_4.9.x86_64 libvirt-daemon-driver-nodedev-3.2.0-14.el7_4.9.x86_64 libvirt-daemon-driver-storage-mpath-3.2.0-14.el7_4.9.x86_64 libvirt-daemon-driver-storage-3.2.0-14.el7_4.9.x86_64 should i remove all this package ? Also on the web page https://www.ovirt.org/develop/release-management/features/metrics/metrics-st..., you mention /usr/share/ovirt-engine-metrics/setup/ansible/configure_ovirt_hosts_for_metrics.sh --playbook=ovirt-metrics-store-installation.yml But on my hosted engine 4.2.1.7 with ovirt-engine-metrics-1.1.3.3-1.el7.centos.noarch, i notice that the script configure_ovirt_hosts_for_metrics.sh doesn't exist but there is a configure_ovirt_machines_for_metrics.sh script. Is it the good one ? Next, you mention : Allow connections on the following ports/protocols: + * tcp ports 22, 80, 443, 8443 (openshift console), 9200 (Elasticsearch) following by ViaQ on Origin requires these [Yum Repos](centos7-viaq.repo). +You will need to install the following packages: docker, iptables-services. That means that i must uninstall firewalld ? And the ports/protocols will be managed by iptables-services ? What is the command to allow connections on tcp ports 22,80, 443 etc.... ? Is it managed automatically with docker or openshift or other program ? Thanks for all. Nicolas VAYE -------- Message initial -------- Date: Sun, 25 Mar 2018 12:01:23 +0300 Objet: Re: [ovirt-users] Any monitoring tool provided? Cc: users <users@ovirt.org<mailto:users%20%3cusers@ovirt.org%3e>> À: Marcelo Leandro <marceloltmm@gmail.com<mailto:Marcelo%20Leandro%20%3cmarceloltmm@gmail.com%3e>> De: Shirly Radco <sradco@redhat.com<mailto:Shirly%20Radco%20%3csradco@redhat.com%3e>> -- SHIRLY RADCO BI SeNIOR SOFTWARE ENGINEER Red Hat Israel<https://www.redhat.com/> [https://www.redhat.com/files/brand/email/sig-redhat.png]<https://red.ht/sig> TRIED. TESTED. TRUSTED.<https://redhat.com/trusted> On Fri, Mar 23, 2018 at 10:29 PM, Marcelo Leandro <marceloltmm@gmail.com<mailto:marceloltmm@gmail.com>> wrote: Hello, I am try this how to: https://www.ovirt.org/develop/release-management/features/metrics/metrics-st... but when i run this command: /usr/share/ovirt-engine-metrics/setup/ansible/configure_ovirt_machines_for_metrics.sh --playbook=ovirt-metrics-store-installation.yml I am had this error mensagem: ansible-playbook: error: no such option: --playbook my version: ovirt-engine-metrics-1.0.8-1.el7.centos.noarch Hi, You are using an old rpm. Please upgrade to latest, ovirt-engine-metrics-1.1.3.3-1.el7.centos.noarch I also added some documentation that is still in pull request: Add Viaq installation guide to the oVirt metrics store repo - https://github.com/oVirt/ovirt-site/pull/1551 - This one is meaningful. I introduced a lot of automation that save time when installing. Add prerequisites for installing OpenShift Logging - https://github.com/oVirt/ovirt-site/pull/1561 Added how to import dashboards examples to kibana - https://github.com/oVirt/ovirt-site/pull/1559 Please review them.I'll try to get them merged asap. Anyone can help me? 2018-03-22 16:28 GMT-03:00 Christopher Cox <ccox@endlessnow.com<mailto:ccox@endlessnow.com>>: On 03/21/2018 10:41 PM, Terry hey wrote: Dear all, Now, we can just read how many storage used, cpu usage on ovirt dashboard. But is there any monitoring tool for monitoring virtual machine time to time? If yes, could you guys give me the procedure? A possible option, for a full OS with network connectivity, is to monitor the VM like you would any other host. We use omd/check_mk. Right now there isn't an oVirt specific monitor plugin for check_mk. I know what I said is probably pretty obvious, but just in case. _______________________________________________ Users mailing list Users@ovirt.org<mailto:Users@ovirt.org> http://lists.ovirt.org/mailman/listinfo/users _______________________________________________ Users mailing list Users@ovirt.org<mailto:Users@ovirt.org> http://lists.ovirt.org/mailman/listinfo/users _______________________________________________ Users mailing list Users@ovirt.org<mailto:Users@ovirt.org> http://lists.ovirt.org/mailman/listinfo/users

-- SHIRLY RADCO BI SeNIOR SOFTWARE ENGINEER Red Hat Israel <https://www.redhat.com/> <https://red.ht/sig> TRIED. TESTED. TRUSTED. <https://redhat.com/trusted> On Tue, Mar 27, 2018 at 8:32 AM, Nicolas Vaye <nicolas.vaye@province-sud.nc> wrote:
Hi Shirly,
I'm trying to install ovirt metric store with ViaQ on Origin.
And on https://github.com/oVirt/ovirt-site/pull/1551/files, you mention **WARNING** DO NOT INSTALL `libvirt` on the OpenShift machine!
on my VM "metric store", i requested rpm for libvirt and here are the results :
[root@ometricstore<mailto:root@ometricstore> .ssh]# rpm -qa | grep libvirt libvirt-daemon-driver-secret-3.2.0-14.el7_4.9.x86_64 libvirt-daemon-driver-storage-core-3.2.0-14.el7_4.9.x86_64 libvirt-daemon-driver-storage-logical-3.2.0-14.el7_4.9.x86_64 libvirt-daemon-config-network-3.2.0-14.el7_4.9.x86_64 libvirt-gconfig-1.0.0-1.el7.x86_64 libvirt-daemon-driver-storage-disk-3.2.0-14.el7_4.9.x86_64 libvirt-glib-1.0.0-1.el7.x86_64 libvirt-libs-3.2.0-14.el7_4.9.x86_64 libvirt-daemon-driver-nwfilter-3.2.0-14.el7_4.9.x86_64 libvirt-daemon-driver-storage-gluster-3.2.0-14.el7_4.9.x86_64 libvirt-daemon-driver-storage-rbd-3.2.0-14.el7_4.9.x86_64 libvirt-gobject-1.0.0-1.el7.x86_64 libvirt-daemon-driver-interface-3.2.0-14.el7_4.9.x86_64 libvirt-daemon-driver-storage-scsi-3.2.0-14.el7_4.9.x86_64 libvirt-daemon-driver-qemu-3.2.0-14.el7_4.9.x86_64 libvirt-daemon-kvm-3.2.0-14.el7_4.9.x86_64 libvirt-daemon-3.2.0-14.el7_4.9.x86_64 libvirt-daemon-driver-network-3.2.0-14.el7_4.9.x86_64 libvirt-daemon-driver-storage-iscsi-3.2.0-14.el7_4.9.x86_64 libvirt-daemon-driver-nodedev-3.2.0-14.el7_4.9.x86_64 libvirt-daemon-driver-storage-mpath-3.2.0-14.el7_4.9.x86_64 libvirt-daemon-driver-storage-3.2.0-14.el7_4.9.x86_64
should i remove all this package ?
Yes. You will need to remove them.
Also on the web page https://www.ovirt.org/develop/ release-management/features/metrics/metrics-store-installation/#run-ovirt- metrics-store-installation-playbook, you mention
/usr/share/ovirt-engine-metrics/setup/ansible/configure_ovirt_hosts_for_metrics.sh --playbook=ovirt-metrics-store-installation.yml
I apologise for that. It is indeed a documentation bug. Its should be /usr/share/ovirt-engine-metrics/setup/ansible/configure_ovirt_machines_for_metrics.sh --playbook=ovirt-metrics-store-installation.yml as you mentioned. I'll fix it asap.
But on my hosted engine 4.2.1.7 with ovirt-engine-metrics-1.1.3.3-1.el7.centos.noarch, i notice that the script
configure_ovirt_hosts_for_metrics.sh doesn't exist but there is a configure_ovirt_machines_for_metrics.sh script.
Is it the good one ?
Next, you mention : Allow connections on the following ports/protocols:
+ * tcp ports 22, 80, 443, 8443 (openshift console), 9200 (Elasticsearch)
following by
ViaQ on Origin requires these [Yum Repos](centos7-viaq.repo).
+You will need to install the following packages: docker, iptables-services.
That means that i must uninstall firewalld ? And the ports/protocols will be managed by iptables-services ?
No , you can just open the ports in firewalld.
What is the command to allow connections on tcp ports 22,80, 443 etc.... ?
To open a Port on CentOS/RHEL 7 run sudo firewall-cmd --zone=public --add-port=80/tcp --permanent for each port and sudo firewall-cmd --reload Check the updated rules with: firewall-cmd --list-all
Is it managed automatically with docker or openshift or other program ?
The metrics store is managed by OpenShift.
Thanks for all.
Nicolas VAYE
-------- Message initial --------
Date: Sun, 25 Mar 2018 12:01:23 +0300 Objet: Re: [ovirt-users] Any monitoring tool provided? Cc: users <users@ovirt.org<mailto:users%20%3cusers@ovirt.org%3e>> À: Marcelo Leandro <marceloltmm@gmail.com<mailto:Marcelo%20Leandro%20% 3cmarceloltmm@gmail.com%3e>> De: Shirly Radco <sradco@redhat.com<mailto:Shir ly%20Radco%20%3csradco@redhat.com%3e>>
--
SHIRLY RADCO
BI SeNIOR SOFTWARE ENGINEER
Red Hat Israel<https://www.redhat.com/>
[https://www.redhat.com/files/brand/email/sig-redhat.png]<ht tps://red.ht/sig> TRIED. TESTED. TRUSTED.<https://redhat.com/trusted>
On Fri, Mar 23, 2018 at 10:29 PM, Marcelo Leandro <marceloltmm@gmail.com <mailto:marceloltmm@gmail.com>> wrote: Hello,
I am try this how to:
https://www.ovirt.org/develop/release-management/features/ metrics/metrics-store-installation/
but when i run this command: /usr/share/ovirt-engine-metrics/setup/ansible/ configure_ovirt_machines_for_metrics.sh --playbook=ovirt-metrics- store-installation.yml
I am had this error mensagem: ansible-playbook: error: no such option: --playbook
my version:
ovirt-engine-metrics-1.0.8-1.el7.centos.noarch
Hi,
You are using an old rpm.
Please upgrade to latest, ovirt-engine-metrics-1.1.3.3-1.el7.centos.noarch
I also added some documentation that is still in pull request:
Add Viaq installation guide to the oVirt metrics store repo - https://github.com/oVirt/ovirt-site/pull/1551 - This one is meaningful. I introduced a lot of automation that save time when installing.
Add prerequisites for installing OpenShift Logging - https://github.com/oVirt/ovirt-site/pull/1561
Added how to import dashboards examples to kibana - https://github.com/oVirt/ovirt-site/pull/1559
Please review them.I'll try to get them merged asap.
Anyone can help me?
2018-03-22 16:28 GMT-03:00 Christopher Cox <ccox@endlessnow.com<mailto:cc ox@endlessnow.com>>: On 03/21/2018 10:41 PM, Terry hey wrote: Dear all,
Now, we can just read how many storage used, cpu usage on ovirt dashboard. But is there any monitoring tool for monitoring virtual machine time to time? If yes, could you guys give me the procedure?
A possible option, for a full OS with network connectivity, is to monitor the VM like you would any other host.
We use omd/check_mk.
Right now there isn't an oVirt specific monitor plugin for check_mk.
I know what I said is probably pretty obvious, but just in case.
_______________________________________________ Users mailing list Users@ovirt.org<mailto:Users@ovirt.org> http://lists.ovirt.org/mailman/listinfo/users
_______________________________________________ Users mailing list Users@ovirt.org<mailto:Users@ovirt.org> http://lists.ovirt.org/mailman/listinfo/users
_______________________________________________ Users mailing list Users@ovirt.org<mailto:Users@ovirt.org> http://lists.ovirt.org/mailman/listinfo/users

OK, i have removed all libvirt-* packages i have seen that in the playbook, firewalld will be disable and iptables manage the firewall. I have a problem because my metric server was behind a proxy web and when i run ANSIBLE_LOG_PATH=/tmp/ansible.log ansible-playbook -vvv -e @/root/vars.yaml -i /root/ansible-inventory-origin-37-aio playbooks/byo/config.yml i get CHECK [memory_availability : localhost] ******************************************************************************************************************************************** fatal: [localhost]: FAILED! => { "changed": false, "checks": { "disk_availability": {}, "docker_image_availability": { "failed": true, "failures": [ [ "OpenShiftCheckException", "One or more required container images are not available:\n cockpit/kubernetes:latest,\n openshift/origin-deployer:latest,\n openshift/origin-docker-registry:latest,\n openshift/origin-haproxy-router:latest,\n openshift/origin-pod:latest\nChecked with: skopeo inspect [--tls-verify=false] [--creds=<user>:<pass>] docker://<registry>/<image>\nDefault registries searched: docker.io\nFailed connecting to: docker.io\n" ] ], "msg": "One or more required container images are not available:\n cockpit/kubernetes:latest,\n openshift/origin-deployer:latest,\n openshift/origin-docker-registry:latest,\n openshift/origin-haproxy-router:latest,\n openshift/origin-pod:latest\nChecked with: skopeo inspect [--tls-verify=false] [--creds=<user>:<pass>] docker://<registry>/<image>\nDefault registries searched: docker.io\nFailed connecting to: docker.io\n" }, "docker_storage": { "skipped": true, "skipped_reason": "Disabled by user request" }, "memory_availability": {}, "package_availability": { "changed": false, "invocation": { "module_args": { "packages": [ "PyYAML", "bash-completion", "bind", "ceph-common", "cockpit-bridge", "cockpit-docker", "cockpit-system", "cockpit-ws", "dnsmasq", "docker", "etcd", "firewalld", "flannel", "glusterfs-fuse", "httpd-tools", "iptables", "iptables-services", "iscsi-initiator-utils", "libselinux-python", "nfs-utils", "ntp", "openssl", "origin", "origin-clients", "origin-master", "origin-node", "origin-sdn-ovs", "pyparted", "python-httplib2", "yum-utils" ] } } }, "package_version": { "skipped": true, "skipped_reason": "Disabled by user request" } }, "msg": "One or more checks failed", "playbook_context": "install" } NO MORE HOSTS LEFT ***************************************************************************************************************************************************************** to retry, use: --limit @/usr/share/ansible/openshift-ansible/playbooks/byo/config.retry PLAY RECAP ************************************************************************************************************************************************************************* localhost : ok=67 changed=4 unreachable=0 failed=1 INSTALLER STATUS ******************************************************************************************************************************************************************* Initialization : Complete Health Check : In Progress This phase can be restarted by running: playbooks/byo/openshift-checks/pre-install.yml Failure summary: 1. Hosts: localhost Play: OpenShift Health Checks Task: Run health checks (install) - EL Message: One or more checks failed Details: check "docker_image_availability": One or more required container images are not available: cockpit/kubernetes:latest, openshift/origin-deployer:latest, openshift/origin-docker-registry:latest, openshift/origin-haproxy-router:latest, openshift/origin-pod:latest Checked with: skopeo inspect [--tls-verify=false] [--creds=<user>:<pass>] docker://<registry>/<image> Default registries searched: docker.io Failed connecting to: docker.io The execution of "playbooks/byo/config.yml" includes checks designed to fail early if the requirements of the playbook are not met. One or more of these checks failed. To disregard these results,explicitly disable checks by setting an Ansible variable: openshift_disable_check=docker_image_availability Failing check names are shown in the failure details above. Some checks may be configurable by variables if your requirements are different from the defaults; consult check documentation. Variables can be set in the inventory or passed on the command line using the -e flag to ansible-playbook. How can i set a proxy parameter ? Thanks. Nicolas VAYE -------- Message initial -------- Date: Tue, 27 Mar 2018 05:32:23 +0000 Objet: Re: [ovirt-users] Any monitoring tool provided? Cc: users@ovirt.org <users@ovirt.org<mailto:%22users@ovirt.org%22%20%3cusers@ovirt.org%3e>> À: marceloltmm@gmail.com <marceloltmm@gmail.com<mailto:%22marceloltmm@gmail.com%22%20%3cmarceloltmm@gmail.com%3e>>, sradco@redhat.com <sradco@redhat.com<mailto:%22sradco@redhat.com%22%20%3csradco@redhat.com%3e>> Reply-to: Nicolas Vaye <nicolas.vaye@province-sud.nc> De: Nicolas Vaye <nicolas.vaye@province-sud.nc<mailto:Nicolas%20Vaye%20%3cnicolas.vaye@province-sud.nc%3e>> Hi Shirly, I'm trying to install ovirt metric store with ViaQ on Origin. And on https://github.com/oVirt/ovirt-site/pull/1551/files, you mention **WARNING** DO NOT INSTALL `libvirt` on the OpenShift machine! on my VM "metric store", i requested rpm for libvirt and here are the results : [root@ometricstore<mailto:root@ometricstore> .ssh]# rpm -qa | grep libvirt libvirt-daemon-driver-secret-3.2.0-14.el7_4.9.x86_64 libvirt-daemon-driver-storage-core-3.2.0-14.el7_4.9.x86_64 libvirt-daemon-driver-storage-logical-3.2.0-14.el7_4.9.x86_64 libvirt-daemon-config-network-3.2.0-14.el7_4.9.x86_64 libvirt-gconfig-1.0.0-1.el7.x86_64 libvirt-daemon-driver-storage-disk-3.2.0-14.el7_4.9.x86_64 libvirt-glib-1.0.0-1.el7.x86_64 libvirt-libs-3.2.0-14.el7_4.9.x86_64 libvirt-daemon-driver-nwfilter-3.2.0-14.el7_4.9.x86_64 libvirt-daemon-driver-storage-gluster-3.2.0-14.el7_4.9.x86_64 libvirt-daemon-driver-storage-rbd-3.2.0-14.el7_4.9.x86_64 libvirt-gobject-1.0.0-1.el7.x86_64 libvirt-daemon-driver-interface-3.2.0-14.el7_4.9.x86_64 libvirt-daemon-driver-storage-scsi-3.2.0-14.el7_4.9.x86_64 libvirt-daemon-driver-qemu-3.2.0-14.el7_4.9.x86_64 libvirt-daemon-kvm-3.2.0-14.el7_4.9.x86_64 libvirt-daemon-3.2.0-14.el7_4.9.x86_64 libvirt-daemon-driver-network-3.2.0-14.el7_4.9.x86_64 libvirt-daemon-driver-storage-iscsi-3.2.0-14.el7_4.9.x86_64 libvirt-daemon-driver-nodedev-3.2.0-14.el7_4.9.x86_64 libvirt-daemon-driver-storage-mpath-3.2.0-14.el7_4.9.x86_64 libvirt-daemon-driver-storage-3.2.0-14.el7_4.9.x86_64 should i remove all this package ? Also on the web page https://www.ovirt.org/develop/release-management/features/metrics/metrics-st..., you mention /usr/share/ovirt-engine-metrics/setup/ansible/configure_ovirt_hosts_for_metrics.sh --playbook=ovirt-metrics-store-installation.yml But on my hosted engine 4.2.1.7 with ovirt-engine-metrics-1.1.3.3-1.el7.centos.noarch, i notice that the script configure_ovirt_hosts_for_metrics.sh doesn't exist but there is a configure_ovirt_machines_for_metrics.sh script. Is it the good one ? Next, you mention : Allow connections on the following ports/protocols: + * tcp ports 22, 80, 443, 8443 (openshift console), 9200 (Elasticsearch) following by ViaQ on Origin requires these [Yum Repos](centos7-viaq.repo). +You will need to install the following packages: docker, iptables-services. That means that i must uninstall firewalld ? And the ports/protocols will be managed by iptables-services ? What is the command to allow connections on tcp ports 22,80, 443 etc.... ? Is it managed automatically with docker or openshift or other program ? Thanks for all. Nicolas VAYE -------- Message initial -------- Date: Sun, 25 Mar 2018 12:01:23 +0300 Objet: Re: [ovirt-users] Any monitoring tool provided? Cc: users <users@ovirt.org<mailto:users@ovirt.org><mailto:users%20%3cusers@ovirt.org%3e>> À: Marcelo Leandro <marceloltmm@gmail.com<mailto:marceloltmm@gmail.com><mailto:Marcelo%20Leandro%20%3cmarceloltmm@gmail.com%3e>> De: Shirly Radco <sradco@redhat.com<mailto:sradco@redhat.com><mailto:Shirly%20Radco%20%3csradco@redhat.com%3e>> -- SHIRLY RADCO BI SeNIOR SOFTWARE ENGINEER Red Hat Israel<https://www.redhat.com/> [https://www.redhat.com/files/brand/email/sig-redhat.png]<https://red.ht/sig> TRIED. TESTED. TRUSTED.<https://redhat.com/trusted> On Fri, Mar 23, 2018 at 10:29 PM, Marcelo Leandro <marceloltmm@gmail.com<mailto:marceloltmm@gmail.com><mailto:marceloltmm@gmail.com>> wrote: Hello, I am try this how to: https://www.ovirt.org/develop/release-management/features/metrics/metrics-st... but when i run this command: /usr/share/ovirt-engine-metrics/setup/ansible/configure_ovirt_machines_for_metrics.sh --playbook=ovirt-metrics-store-installation.yml I am had this error mensagem: ansible-playbook: error: no such option: --playbook my version: ovirt-engine-metrics-1.0.8-1.el7.centos.noarch Hi, You are using an old rpm. Please upgrade to latest, ovirt-engine-metrics-1.1.3.3-1.el7.centos.noarch I also added some documentation that is still in pull request: Add Viaq installation guide to the oVirt metrics store repo - https://github.com/oVirt/ovirt-site/pull/1551 - This one is meaningful. I introduced a lot of automation that save time when installing. Add prerequisites for installing OpenShift Logging - https://github.com/oVirt/ovirt-site/pull/1561 Added how to import dashboards examples to kibana - https://github.com/oVirt/ovirt-site/pull/1559 Please review them.I'll try to get them merged asap. Anyone can help me? 2018-03-22 16:28 GMT-03:00 Christopher Cox <ccox@endlessnow.com<mailto:ccox@endlessnow.com><mailto:ccox@endlessnow.com>>: On 03/21/2018 10:41 PM, Terry hey wrote: Dear all, Now, we can just read how many storage used, cpu usage on ovirt dashboard. But is there any monitoring tool for monitoring virtual machine time to time? If yes, could you guys give me the procedure? A possible option, for a full OS with network connectivity, is to monitor the VM like you would any other host. We use omd/check_mk. Right now there isn't an oVirt specific monitor plugin for check_mk. I know what I said is probably pretty obvious, but just in case. _______________________________________________ Users mailing list Users@ovirt.org<mailto:Users@ovirt.org><mailto:Users@ovirt.org> http://lists.ovirt.org/mailman/listinfo/users _______________________________________________ Users mailing list Users@ovirt.org<mailto:Users@ovirt.org><mailto:Users@ovirt.org> http://lists.ovirt.org/mailman/listinfo/users _______________________________________________ Users mailing list Users@ovirt.org<mailto:Users@ovirt.org><mailto:Users@ovirt.org> http://lists.ovirt.org/mailman/listinfo/users _______________________________________________ Users mailing list Users@ovirt.org<mailto:Users@ovirt.org> http://lists.ovirt.org/mailman/listinfo/users

Adding Rich Megginson. -- SHIRLY RADCO BI SeNIOR SOFTWARE ENGINEER Red Hat Israel <https://www.redhat.com/> <https://red.ht/sig> TRIED. TESTED. TRUSTED. <https://redhat.com/trusted> On Wed, Mar 28, 2018 at 1:10 AM, Nicolas Vaye <nicolas.vaye@province-sud.nc> wrote:
OK, i have removed all libvirt-* packages
i have seen that in the playbook, firewalld will be disable and iptables manage the firewall.
I have a problem because my metric server was behind a proxy web and when i run
ANSIBLE_LOG_PATH=/tmp/ansible.log ansible-playbook -vvv -e @/root/vars.yaml -i /root/ansible-inventory-origin-37-aio playbooks/byo/config.yml
i get
CHECK [memory_availability : localhost] ****************************** ************************************************************ **************************************************
fatal: [localhost]: FAILED! => {
"changed": false,
"checks": {
"disk_availability": {},
"docker_image_availability": {
"failed": true,
"failures": [
[
"OpenShiftCheckException",
"One or more required container images are not available:\n cockpit/kubernetes:latest,\n openshift/origin-deployer:latest,\n openshift/origin-docker-registry:latest,\n openshift/origin-haproxy-router:latest,\n openshift/origin-pod:latest\nChecked with: skopeo inspect [--tls-verify=false] [--creds=<user>:<pass>] docker://<registry>/<image>\nDefault registries searched: docker.io\nFailed connecting to: docker.io\n"
]
],
"msg": "One or more required container images are not available:\n cockpit/kubernetes:latest,\n openshift/origin-deployer:latest,\n openshift/origin-docker-registry:latest,\n openshift/origin-haproxy-router:latest,\n openshift/origin-pod:latest\nChecked with: skopeo inspect [--tls-verify=false] [--creds=<user>:<pass>] docker://<registry>/<image>\nDefault registries searched: docker.io\nFailed connecting to: docker.io\n"
},
"docker_storage": {
"skipped": true,
"skipped_reason": "Disabled by user request"
},
"memory_availability": {},
"package_availability": {
"changed": false,
"invocation": {
"module_args": {
"packages": [
"PyYAML",
"bash-completion",
"bind",
"ceph-common",
"cockpit-bridge",
"cockpit-docker",
"cockpit-system",
"cockpit-ws",
"dnsmasq",
"docker",
"etcd",
"firewalld",
"flannel",
"glusterfs-fuse",
"httpd-tools",
"iptables",
"iptables-services",
"iscsi-initiator-utils",
"libselinux-python",
"nfs-utils",
"ntp",
"openssl",
"origin",
"origin-clients",
"origin-master",
"origin-node",
"origin-sdn-ovs",
"pyparted",
"python-httplib2",
"yum-utils"
]
}
}
},
"package_version": {
"skipped": true,
"skipped_reason": "Disabled by user request"
}
},
"msg": "One or more checks failed",
"playbook_context": "install"
}
NO MORE HOSTS LEFT ****************************** ************************************************************ ***********************************************************************
to retry, use: --limit @/usr/share/ansible/openshift- ansible/playbooks/byo/config.retry
PLAY RECAP ************************************************************ ************************************************************ *************************************************
localhost : ok=67 changed=4 unreachable=0 failed=1
INSTALLER STATUS ****************************** ************************************************************ *************************************************************************
Initialization : Complete
Health Check : In Progress
This phase can be restarted by running: playbooks/byo/openshift- checks/pre-install.yml
Failure summary:
1. Hosts: localhost
Play: OpenShift Health Checks
Task: Run health checks (install) - EL
Message: One or more checks failed
Details: check "docker_image_availability":
One or more required container images are not available:
cockpit/kubernetes:latest,
openshift/origin-deployer:latest,
openshift/origin-docker-registry:latest,
openshift/origin-haproxy-router:latest,
openshift/origin-pod:latest
Checked with: skopeo inspect [--tls-verify=false] [--creds=<user>:<pass>] docker://<registry>/<image>
Default registries searched: docker.io
Failed connecting to: docker.io
The execution of "playbooks/byo/config.yml" includes checks designed to fail early if the requirements of the playbook are not met. One or more of these checks failed. To disregard these results,explicitly disable checks by setting an Ansible variable:
openshift_disable_check=docker_image_availability
Failing check names are shown in the failure details above. Some checks may be configurable by variables if your requirements are different from the defaults; consult check documentation.
Variables can be set in the inventory or passed on the command line using the -e flag to ansible-playbook.
How can i set a proxy parameter ?
Thanks.
Nicolas VAYE
-------- Message initial --------
Date: Tue, 27 Mar 2018 05:32:23 +0000 Objet: Re: [ovirt-users] Any monitoring tool provided? Cc: users@ovirt.org <users@ovirt.org<mailto:%22users@ovirt.org% 22%20%3cusers@ovirt.org%3e>> À: marceloltmm@gmail.com <marceloltmm@gmail.com<mailto:% 22marceloltmm@gmail.com%22%20%3cmarceloltmm@gmail.com%3e>>, sradco@redhat.com <sradco@redhat.com<mailto:%22sradco@redhat.com%22%20% 3csradco@redhat.com%3e>> Reply-to: Nicolas Vaye <nicolas.vaye@province-sud.nc> De: Nicolas Vaye <nicolas.vaye@province-sud.nc<mailto:Nicolas%20Vaye%20% 3cnicolas.vaye@province-sud.nc%3e>>
Hi Shirly,
I'm trying to install ovirt metric store with ViaQ on Origin.
And on https://github.com/oVirt/ovirt-site/pull/1551/files, you mention **WARNING** DO NOT INSTALL `libvirt` on the OpenShift machine!
on my VM "metric store", i requested rpm for libvirt and here are the results :
[root@ometricstore<mailto:root@ometricstore> .ssh]# rpm -qa | grep libvirt libvirt-daemon-driver-secret-3.2.0-14.el7_4.9.x86_64 libvirt-daemon-driver-storage-core-3.2.0-14.el7_4.9.x86_64 libvirt-daemon-driver-storage-logical-3.2.0-14.el7_4.9.x86_64 libvirt-daemon-config-network-3.2.0-14.el7_4.9.x86_64 libvirt-gconfig-1.0.0-1.el7.x86_64 libvirt-daemon-driver-storage-disk-3.2.0-14.el7_4.9.x86_64 libvirt-glib-1.0.0-1.el7.x86_64 libvirt-libs-3.2.0-14.el7_4.9.x86_64 libvirt-daemon-driver-nwfilter-3.2.0-14.el7_4.9.x86_64 libvirt-daemon-driver-storage-gluster-3.2.0-14.el7_4.9.x86_64 libvirt-daemon-driver-storage-rbd-3.2.0-14.el7_4.9.x86_64 libvirt-gobject-1.0.0-1.el7.x86_64 libvirt-daemon-driver-interface-3.2.0-14.el7_4.9.x86_64 libvirt-daemon-driver-storage-scsi-3.2.0-14.el7_4.9.x86_64 libvirt-daemon-driver-qemu-3.2.0-14.el7_4.9.x86_64 libvirt-daemon-kvm-3.2.0-14.el7_4.9.x86_64 libvirt-daemon-3.2.0-14.el7_4.9.x86_64 libvirt-daemon-driver-network-3.2.0-14.el7_4.9.x86_64 libvirt-daemon-driver-storage-iscsi-3.2.0-14.el7_4.9.x86_64 libvirt-daemon-driver-nodedev-3.2.0-14.el7_4.9.x86_64 libvirt-daemon-driver-storage-mpath-3.2.0-14.el7_4.9.x86_64 libvirt-daemon-driver-storage-3.2.0-14.el7_4.9.x86_64
should i remove all this package ?
Also on the web page https://www.ovirt.org/develop/ release-management/features/metrics/metrics-store-installation/#run-ovirt- metrics-store-installation-playbook, you mention
/usr/share/ovirt-engine-metrics/setup/ansible/configure_ovirt_hosts_for_metrics.sh --playbook=ovirt-metrics-store-installation.yml
But on my hosted engine 4.2.1.7 with ovirt-engine-metrics-1.1.3.3-1.el7.centos.noarch, i notice that the script
configure_ovirt_hosts_for_metrics.sh doesn't exist but there is a configure_ovirt_machines_for_metrics.sh script.
Is it the good one ?
Next, you mention : Allow connections on the following ports/protocols:
+ * tcp ports 22, 80, 443, 8443 (openshift console), 9200 (Elasticsearch)
following by
ViaQ on Origin requires these [Yum Repos](centos7-viaq.repo).
+You will need to install the following packages: docker, iptables-services.
That means that i must uninstall firewalld ? And the ports/protocols will be managed by iptables-services ?
What is the command to allow connections on tcp ports 22,80, 443 etc.... ?
Is it managed automatically with docker or openshift or other program ?
Thanks for all.
Nicolas VAYE
-------- Message initial --------
Date: Sun, 25 Mar 2018 12:01:23 +0300 Objet: Re: [ovirt-users] Any monitoring tool provided? Cc: users <users@ovirt.org<mailto:users@ovirt.org><mailto:users%20% 3cusers@ovirt.org%3e>> À: Marcelo Leandro <marceloltmm@gmail.com<mailto:marceloltmm@gmail.com
<mailto:Marcelo%20Leandro%20%3cmarceloltmm@gmail.com%3e>> De: Shirly Radco <sradco@redhat.com<mailto:sradco@redhat.com><mailto: Shirly%20Radco%20%3csradco@redhat.com%3e>>
--
SHIRLY RADCO
BI SeNIOR SOFTWARE ENGINEER
Red Hat Israel<https://www.redhat.com/>
[https://www.redhat.com/files/brand/email/sig-redhat.png]<ht tps://red.ht/sig> TRIED. TESTED. TRUSTED.<https://redhat.com/trusted>
On Fri, Mar 23, 2018 at 10:29 PM, Marcelo Leandro <marceloltmm@gmail.com <mailto:marceloltmm@gmail.com><mailto:marceloltmm@gmail.com>> wrote: Hello,
I am try this how to:
https://www.ovirt.org/develop/release-management/features/ metrics/metrics-store-installation/
but when i run this command: /usr/share/ovirt-engine-metrics/setup/ansible/ configure_ovirt_machines_for_metrics.sh --playbook=ovirt-metrics- store-installation.yml
I am had this error mensagem: ansible-playbook: error: no such option: --playbook
my version:
ovirt-engine-metrics-1.0.8-1.el7.centos.noarch
Hi,
You are using an old rpm.
Please upgrade to latest, ovirt-engine-metrics-1.1.3.3-1.el7.centos.noarch
I also added some documentation that is still in pull request:
Add Viaq installation guide to the oVirt metrics store repo - https://github.com/oVirt/ovirt-site/pull/1551 - This one is meaningful. I introduced a lot of automation that save time when installing.
Add prerequisites for installing OpenShift Logging - https://github.com/oVirt/ovirt-site/pull/1561
Added how to import dashboards examples to kibana - https://github.com/oVirt/ovirt-site/pull/1559
Please review them.I'll try to get them merged asap.
Anyone can help me?
2018-03-22 16:28 GMT-03:00 Christopher Cox <ccox@endlessnow.com<mailto:cc ox@endlessnow.com><mailto:ccox@endlessnow.com>>: On 03/21/2018 10:41 PM, Terry hey wrote: Dear all,
Now, we can just read how many storage used, cpu usage on ovirt dashboard. But is there any monitoring tool for monitoring virtual machine time to time? If yes, could you guys give me the procedure?
A possible option, for a full OS with network connectivity, is to monitor the VM like you would any other host.
We use omd/check_mk.
Right now there isn't an oVirt specific monitor plugin for check_mk.
I know what I said is probably pretty obvious, but just in case.
_______________________________________________ Users mailing list Users@ovirt.org<mailto:Users@ovirt.org><mailto:Users@ovirt.org> http://lists.ovirt.org/mailman/listinfo/users
_______________________________________________ Users mailing list Users@ovirt.org<mailto:Users@ovirt.org><mailto:Users@ovirt.org> http://lists.ovirt.org/mailman/listinfo/users
_______________________________________________ Users mailing list Users@ovirt.org<mailto:Users@ovirt.org><mailto:Users@ovirt.org> http://lists.ovirt.org/mailman/listinfo/users
_______________________________________________ Users mailing list Users@ovirt.org<mailto:Users@ovirt.org> http://lists.ovirt.org/mailman/listinfo/users

It is possible to use DWH with Grafana to get VMs stats. https://www.ovirt.org/blog/2018/01/ovirt-report-using-grafana/ Relevant views are with the following prefixes: v4_2_statistics_vms_* v4_2_latest_configuration_vms* v4_2_configuration_history_vms* They are all available also in earlier versions but the prefix will be different, like v4_1_* for 4.1. Another option is our new real time monitoring solution , which is based on OpenShift and Elasticearch, Kibana and Fluentd. https://ovirt.org/blog/2017/12/ovirt-metrics-store -- SHIRLY RADCO BI SeNIOR SOFTWARE ENGINEER Red Hat Israel <https://www.redhat.com/> <https://red.ht/sig> TRIED. TESTED. TRUSTED. <https://redhat.com/trusted> On Thu, Mar 22, 2018 at 5:41 AM, Terry hey <recreationh@gmail.com> wrote:
Dear all,
Now, we can just read how many storage used, cpu usage on ovirt dashboard. But is there any monitoring tool for monitoring virtual machine time to time? If yes, could you guys give me the procedure?
Regards Terry
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Hi Terry, I started to work on ZABBIX integration based on oVirt API. Basically it should be like VmWare integration in ZABBIX with full hosts/vms discovery and statistic gathering. The API provides for each statistics service for NIC, VM as wall CPU and MEM utilization. There is also solution based on reading data from VDSM to prometheus http://rmohr.github.io/virtualization/2016/04/12/monitor-your-ovirt-data center-with-prometheus. Peter On 22/03/2018 04:41, Terry hey wrote:
Dear all,
Now, we can just read how many storage used, cpu usage on ovirt dashboard. But is there any monitoring tool for monitoring virtual machine time to time? If yes, could you guys give me the procedure?
Regards Terry
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
- -- *Peter Hudec* Infraštruktúrny architekt phudec@cnc.sk <mailto:phudec@cnc.sk> *CNC, a.s.* Borská 6, 841 04 Bratislava Recepcia: +421 2 35 000 100 Mobil:+421 905 997 203 *www.cnc.sk* <http:///www.cnc.sk> -----BEGIN PGP SIGNATURE----- iQJCBAEBCAAsFiEEqSUbhuEwhryifNeVQnvVWOJ35BAFAlq4ihEOHHBodWRlY0Bj bmMuc2sACgkQQnvVWOJ35BC5Xg//YqtoPKtmA8Y0APnQevX+LrRq8EuViWsn1Wfw Xf2HogPs9vJB8W5PnpI9+jdRTrm4rL74V1qw8LEDWhIoag0n+r/PPk48sRTpQSMM fkCjaNBL94SBc/Fjic7Gtn6IsTD9puPSmkJ7I6APC+c3RIVfYRaPXTSCW1dHkrzX BuTHajuvL1Wdns+SSbGdGOGvegYpKfuFgiorm7eZ47WF2tJ1HlKKhYTiFaCTywo7 6gG2u18ezrEWGXa6MSFhw0NytUGC3JFvseA2jHj+NofRFEHpkhSvLgAYSHcJb1uQ 8IvH8gkY2wjYFk5jqqvxoMX9dtYfnZLtW0gtFNVoEzIwcOjuK7aVi/bdfFIl2P9r CUD9h0O3xEO6BeHo9WZkRwNqOxQVRel/3x/jAu76Q5KPR3U4S7tezuH4xvH0i4g7 uEEc+BSECytfSGPFH41J5X1FflINt4F1tMpjXdaT5qEa9AWYuZddfHeQ9KSDqqBC KOnr+9xRdhS1VYjm8FI3tpya0Mj/OjBJL2PMpEluJd5IpN9ggcfIlUpyCgAzFnUU xyIz05pg35iCJ6FQZCYergQwh15RQLb9LTnCuB39wBfSKXeR27uXIZ8/p/8S5Un4 7uJmidsHF7OGtSFk48WwMGFg1in8ZSwbmNnxR1WkJPJAkxxbXp07an+OzugOnsgR y1b8OkE= =BKxT -----END PGP SIGNATURE-----

Hi Peter, This is interesting. Is it going to be a template with an external python script? Alex On Mon, Mar 26, 2018, 08:50 Peter Hudec <phudec@cnc.sk> wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256
Hi Terry,
I started to work on ZABBIX integration based on oVirt API. Basically it should be like VmWare integration in ZABBIX with full hosts/vms discovery and statistic gathering.
The API provides for each statistics service for NIC, VM as wall CPU and MEM utilization.
There is also solution based on reading data from VDSM to prometheus http://rmohr.github.io/virtualization/2016/04/12/monitor-your-ovirt-data center-with-prometheus <http://rmohr.github.io/virtualization/2016/04/12/monitor-your-ovirt-datacenter-with-prometheus> .
Peter
On 22/03/2018 04:41, Terry hey wrote:
Dear all,
Now, we can just read how many storage used, cpu usage on ovirt dashboard. But is there any monitoring tool for monitoring virtual machine time to time? If yes, could you guys give me the procedure?
Regards Terry
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
- -- *Peter Hudec* Infraštruktúrny architekt phudec@cnc.sk <mailto:phudec@cnc.sk>
*CNC, a.s.* Borská 6, 841 04 Bratislava Recepcia: +421 2 35 000 100
Mobil:+421 905 997 203 *www.cnc.sk* <http:///www.cnc.sk>
-----BEGIN PGP SIGNATURE-----
iQJCBAEBCAAsFiEEqSUbhuEwhryifNeVQnvVWOJ35BAFAlq4ihEOHHBodWRlY0Bj bmMuc2sACgkQQnvVWOJ35BC5Xg//YqtoPKtmA8Y0APnQevX+LrRq8EuViWsn1Wfw Xf2HogPs9vJB8W5PnpI9+jdRTrm4rL74V1qw8LEDWhIoag0n+r/PPk48sRTpQSMM fkCjaNBL94SBc/Fjic7Gtn6IsTD9puPSmkJ7I6APC+c3RIVfYRaPXTSCW1dHkrzX BuTHajuvL1Wdns+SSbGdGOGvegYpKfuFgiorm7eZ47WF2tJ1HlKKhYTiFaCTywo7 6gG2u18ezrEWGXa6MSFhw0NytUGC3JFvseA2jHj+NofRFEHpkhSvLgAYSHcJb1uQ 8IvH8gkY2wjYFk5jqqvxoMX9dtYfnZLtW0gtFNVoEzIwcOjuK7aVi/bdfFIl2P9r CUD9h0O3xEO6BeHo9WZkRwNqOxQVRel/3x/jAu76Q5KPR3U4S7tezuH4xvH0i4g7 uEEc+BSECytfSGPFH41J5X1FflINt4F1tMpjXdaT5qEa9AWYuZddfHeQ9KSDqqBC KOnr+9xRdhS1VYjm8FI3tpya0Mj/OjBJL2PMpEluJd5IpN9ggcfIlUpyCgAzFnUU xyIz05pg35iCJ6FQZCYergQwh15RQLb9LTnCuB39wBfSKXeR27uXIZ8/p/8S5Un4 7uJmidsHF7OGtSFk48WwMGFg1in8ZSwbmNnxR1WkJPJAkxxbXp07an+OzugOnsgR y1b8OkE= =BKxT -----END PGP SIGNATURE----- _______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Yes, template and python at this moment I understand oVirt API. I needed to write own small SDK, since the oVirt SDK is using SSO for login, that means it do some additional requests for login process. There is no option to use Basic Auth. The SESSION reuse could be useful, but I do no want to add more First I need to understand some basics from Zabbix Discovery Rules / Host Prototypes. I would like to have VM as separate hosts in Zabbix, like VMWare does. The other stuff is quite easy. There plugin for nagios/icinga if someone using this monitoring tool https://github.com/ovido/check_rhev3 On 26/03/2018 08:02, Alex K wrote:
Hi Peter,
This is interesting. Is it going to be a template with an external python script?
Alex
On Mon, Mar 26, 2018, 08:50 Peter Hudec <phudec@cnc.sk <mailto:phudec@cnc.sk>> wrote:
Hi Terry,
I started to work on ZABBIX integration based on oVirt API. Basically it should be like VmWare integration in ZABBIX with full hosts/vms discovery and statistic gathering.
The API provides for each statistics service for NIC, VM as wall CPU and MEM utilization.
There is also solution based on reading data from VDSM to prometheus http://rmohr.github.io/virtualization/2016/04/12/monitor-your-ovirt-da ta
center-with-prometheus
<http://rmohr.github.io/virtualization/2016/04/12/monitor-your-ovirt-d atacenter-with-prometheus>.
Peter
On 22/03/2018 04:41, Terry hey wrote:
Dear all,
Now, we can just read how many storage used, cpu usage on ovirt dashboard. But is there any monitoring tool for monitoring virtual machine time to time? If yes, could you guys give me the procedure?
Regards Terry
_______________________________________________ Users mailing list Users@ovirt.org <mailto:Users@ovirt.org> http://lists.ovirt.org/mailman/listinfo/users
_______________________________________________ Users mailing list Users@ovirt.org <mailto:Users@ovirt.org> http://lists.ovirt.org/mailman/listinfo/users
- -- *Peter Hudec* Infraštruktúrny architekt phudec@cnc.sk <mailto:phudec@cnc.sk> *CNC, a.s.* Borská 6, 841 04 Bratislava Recepcia: +421 2 35 000 100 Mobil:+421 905 997 203 *www.cnc.sk* <http:///www.cnc.sk> -----BEGIN PGP SIGNATURE----- iQJCBAEBCAAsFiEEqSUbhuEwhryifNeVQnvVWOJ35BAFAlq4j3cOHHBodWRlY0Bj bmMuc2sACgkQQnvVWOJ35BCm2w/+Odg4Vw71pqj7qbipTK68udw+wl5zDD8NPVwi z/Jcrhfz45xxdGqlgeP66ESEDHVBAg7O7q1bhTvxlf2gZqM2SM1XEh/zmX4OHeG0 XBVnJ1gCYtMiZKYr7/lBSfXpwor4VdB0rm9JjiyyNgsgFRtAY8ACSzn4P09FMr+T fMPz2zbpLVpU+SpHOZm8eHTOTlvWqTH5vZ8ezGx32VYhmvfGHlWKffJtfKxnCQtp q3D7cKe3OyeVoQ9QVFu58eiXKvlrDJ8kd5E+vSTMUYIZpX2NyOM1HCACwcxXtjgL 0sAxplDDXkVfJ5ekezbXp6yxOapTW4pkzy0AO1HFM37Mxq9+u9kTMOu1byxDprsY 9EmsWDQZlq1mZXAqWc9O2nKdF9Nw0s5aghaTEzqi0nhk9/TI49uSOmO9PKLTE19s mxi/+EecHDoRGbWBQ+XTBOUNAOoeApXUvdJQ7SwlEQ4mEKDGf2Q7jGghnerlfW0c bmQ+lpDbzKxtvTijFGySAFY2SIn2xzP9EYUFOnSwcuCuePufxKgglV6pQtx5ceGa pxgdwHkxBILZYFfyuJHgLwXmKMcQIZhLFwK0ptgRfzw4Y1SMxh0kmSOhWDocOTY6 ySdWX9lCurFk3ounV8GqmG7yoM0n2G81ttXMzpIUhXWJVz7fKaGQrQ8HDtSrN7V0 7ahxRnQ= =kq0J -----END PGP SIGNATURE-----

On Mon, Mar 26, 2018 at 8:13 AM, Peter Hudec <phudec@cnc.sk> wrote: [cut]
There plugin for nagios/icinga if someone using this monitoring tool https://github.com/ovido/check_rhev3
Hello, we're using with success this nagios plugin. Works well, with few configs. Luca -- "E' assurdo impiegare gli uomini di intelligenza eccellente per fare calcoli che potrebbero essere affidati a chiunque se si usassero delle macchine" Gottfried Wilhelm von Leibnitz, Filosofo e Matematico (1646-1716) "Internet è la più grande biblioteca del mondo. Ma il problema è che i libri sono tutti sparsi sul pavimento" John Allen Paulos, Matematico (1945-vivente) Luca 'remix_tj' Lorenzetto, http://www.remixtj.net , <lorenzetto.luca@gmail.com>

-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 I have working proof-of-concept. There still could be bug in templates and not all parameters are monitored, but HOST and VM discovery is working. I will try to share it on github. At this moment I have some performance issues, since it's using the zabbix-agent which needs to for a new process for each query ;( Peter On 26/03/2018 08:13, Peter Hudec wrote:
Yes, template and python
at this moment I understand oVirt API. I needed to write own small SDK, since the oVirt SDK is using SSO for login, that means it do some additional requests for login process. There is no option to use Basic Auth. The SESSION reuse could be useful, but I do no want to add more
First I need to understand some basics from Zabbix Discovery Rules / Host Prototypes. I would like to have VM as separate hosts in Zabbix, like VMWare does. The other stuff is quite easy.
There plugin for nagios/icinga if someone using this monitoring tool https://github.com/ovido/check_rhev3
On 26/03/2018 08:02, Alex K wrote:
Hi Peter,
This is interesting. Is it going to be a template with an external python script?
Alex
On Mon, Mar 26, 2018, 08:50 Peter Hudec <phudec@cnc.sk <mailto:phudec@cnc.sk>> wrote:
Hi Terry,
I started to work on ZABBIX integration based on oVirt API. Basically it should be like VmWare integration in ZABBIX with full hosts/vms discovery and statistic gathering.
The API provides for each statistics service for NIC, VM as wall CPU and MEM utilization.
There is also solution based on reading data from VDSM to prometheus http://rmohr.github.io/virtualization/2016/04/12/monitor-your-ovirt-d a
ta
center-with-prometheus
<http://rmohr.github.io/virtualization/2016/04/12/monitor-your-ovirt- d
atacenter-with-prometheus>.
Peter
On 22/03/2018 04:41, Terry hey wrote:
Dear all,
Now, we can just read how many storage used, cpu usage on ovirt dashboard. But is there any monitoring tool for monitoring virtual machine time to time? If yes, could you guys give me the procedure?
Regards Terry
_______________________________________________ Users mailing list Users@ovirt.org <mailto:Users@ovirt.org> http://lists.ovirt.org/mailman/listinfo/users
_______________________________________________ Users mailing list Users@ovirt.org <mailto:Users@ovirt.org> http://lists.ovirt.org/mailman/listinfo/users
- -- *Peter Hudec* Infraštruktúrny architekt phudec@cnc.sk <mailto:phudec@cnc.sk> *CNC, a.s.* Borská 6, 841 04 Bratislava Recepcia: +421 2 35 000 100 Mobil:+421 905 997 203 *www.cnc.sk* <http:///www.cnc.sk> -----BEGIN PGP SIGNATURE----- iQJCBAEBCAAsFiEEqSUbhuEwhryifNeVQnvVWOJ35BAFAlq7qPsOHHBodWRlY0Bj bmMuc2sACgkQQnvVWOJ35BDXzw/8ChApssWNkM0HiixYESQP+lgxJeHqHYgvBbrQ DTfiOfTXrWDLIXn7LQdtt7IH4LtTDEwLcGBFSQCTUuX7W6y6Uj5y9pkcGLrtFYuP g1yBEPuqO3RB2QoR6FLlEyfqfDpnIWiRbtFFpK4P6UmRNQX637GKcluMN8EXeujY w/S+0JoV9ANEnDgsyCQvJ1f89D4KTiD9eTv0zijl7abRew8ioMVAmxt2YBFQf1KC rZQ4h7qbymYNDWRv/n4qx3StBN8e0crty73glfWbHrCuw0/lfSMgELWelvvSR1YE 1oEMmRaqQr7poxtXTGdtkXRkvxil+Or/IQ6jibFjMt9rmmkJ4jgMkGdSkYSHlCJC G2pjlN0nlghOmj9QDaX54EAXUeybVmoD8yGVlmREEl8jPYVxAmfasJ7zJ+mIBTU4 21Z7/yhFHINi6pez+3t/42BA11XtfTiUx5GVzj5M+Ky6bbkVOF5H+ndJzRA92UHj lZOyoFP5cg9cFkdmAGep4pE9BdHEIFKnS7m0vVM0IwiKRQMprvAYyBuj23V+wtTc FXauv7+xpyFiH/0IqFCeHn9DCIXnEQlGfwDkCt4PYS+p0Jfm2hlI3fvGqeHZngYz NElJT59Sxc8kWayZrbr5uaw6csTwcXXhVcALaWB/q6DsqR2KyPWwbs3CtfH5OGWh 39Jz7aw= =NcUr -----END PGP SIGNATURE-----

Hi Peter, Using the oVirt API will add load on the engine and may affect the engine performance. We have the DWH that collectd metrics and configuration data about the hosts and vms and can be used along with Grafana. We also added the oVirt metrics store that collects the metrics directly from the host about the hosts and vms and from the engine about the machine itself and postgres db. This was done in order to lower the load on the engine. We also collect the engine.log and vdsm.log. The metrics are collected to Elasticsearch and can be visualised in Kibana and Grafana and are collected in 10 sec interval that give you almost real time view. I would love to hear why you prefer using Zabbix for collecting the metrics data. Best regards, -- SHIRLY RADCO BI SeNIOR SOFTWARE ENGINEER Red Hat Israel <https://www.redhat.com/> <https://red.ht/sig> TRIED. TESTED. TRUSTED. <https://redhat.com/trusted> On Wed, Mar 28, 2018 at 5:38 PM, Peter Hudec <phudec@cnc.sk> wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256
I have working proof-of-concept. There still could be bug in templates and not all parameters are monitored, but HOST and VM discovery is working.
I will try to share it on github. At this moment I have some performance issues, since it's using the zabbix-agent which needs to for a new process for each query ;(
Peter
On 26/03/2018 08:13, Peter Hudec wrote:
Yes, template and python
at this moment I understand oVirt API. I needed to write own small SDK, since the oVirt SDK is using SSO for login, that means it do some additional requests for login process. There is no option to use Basic Auth. The SESSION reuse could be useful, but I do no want to add more
First I need to understand some basics from Zabbix Discovery Rules / Host Prototypes. I would like to have VM as separate hosts in Zabbix, like VMWare does. The other stuff is quite easy.
There plugin for nagios/icinga if someone using this monitoring tool https://github.com/ovido/check_rhev3
On 26/03/2018 08:02, Alex K wrote:
Hi Peter,
This is interesting. Is it going to be a template with an external python script?
Alex
On Mon, Mar 26, 2018, 08:50 Peter Hudec <phudec@cnc.sk <mailto:phudec@cnc.sk>> wrote:
Hi Terry,
I started to work on ZABBIX integration based on oVirt API. Basically it should be like VmWare integration in ZABBIX with full hosts/vms discovery and statistic gathering.
The API provides for each statistics service for NIC, VM as wall CPU and MEM utilization.
There is also solution based on reading data from VDSM to prometheus http://rmohr.github.io/virtualization/2016/04/12/monitor-your-ovirt-d a
ta
center-with-prometheus
<http://rmohr.github.io/virtualization/2016/04/12/monitor-your-ovirt- d
atacenter-with-prometheus>.
Peter
On 22/03/2018 04:41, Terry hey wrote:
Dear all,
Now, we can just read how many storage used, cpu usage on ovirt dashboard. But is there any monitoring tool for monitoring virtual machine time to time? If yes, could you guys give me the procedure?
Regards Terry
_______________________________________________ Users mailing list Users@ovirt.org <mailto:Users@ovirt.org> http://lists.ovirt.org/mailman/listinfo/users
_______________________________________________ Users mailing list Users@ovirt.org <mailto:Users@ovirt.org> http://lists.ovirt.org/mailman/listinfo/users
- -- *Peter Hudec* Infraštruktúrny architekt phudec@cnc.sk <mailto:phudec@cnc.sk>
*CNC, a.s.* Borská 6, 841 04 Bratislava Recepcia: +421 2 35 000 100
Mobil:+421 905 997 203 *www.cnc.sk* <http:///www.cnc.sk>
-----BEGIN PGP SIGNATURE-----
iQJCBAEBCAAsFiEEqSUbhuEwhryifNeVQnvVWOJ35BAFAlq7qPsOHHBodWRlY0Bj bmMuc2sACgkQQnvVWOJ35BDXzw/8ChApssWNkM0HiixYESQP+lgxJeHqHYgvBbrQ DTfiOfTXrWDLIXn7LQdtt7IH4LtTDEwLcGBFSQCTUuX7W6y6Uj5y9pkcGLrtFYuP g1yBEPuqO3RB2QoR6FLlEyfqfDpnIWiRbtFFpK4P6UmRNQX637GKcluMN8EXeujY w/S+0JoV9ANEnDgsyCQvJ1f89D4KTiD9eTv0zijl7abRew8ioMVAmxt2YBFQf1KC rZQ4h7qbymYNDWRv/n4qx3StBN8e0crty73glfWbHrCuw0/lfSMgELWelvvSR1YE 1oEMmRaqQr7poxtXTGdtkXRkvxil+Or/IQ6jibFjMt9rmmkJ4jgMkGdSkYSHlCJC G2pjlN0nlghOmj9QDaX54EAXUeybVmoD8yGVlmREEl8jPYVxAmfasJ7zJ+mIBTU4 21Z7/yhFHINi6pez+3t/42BA11XtfTiUx5GVzj5M+Ky6bbkVOF5H+ndJzRA92UHj lZOyoFP5cg9cFkdmAGep4pE9BdHEIFKnS7m0vVM0IwiKRQMprvAYyBuj23V+wtTc FXauv7+xpyFiH/0IqFCeHn9DCIXnEQlGfwDkCt4PYS+p0Jfm2hlI3fvGqeHZngYz NElJT59Sxc8kWayZrbr5uaw6csTwcXXhVcALaWB/q6DsqR2KyPWwbs3CtfH5OGWh 39Jz7aw= =NcUr -----END PGP SIGNATURE----- _______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Hi SHIRLY, first why zabbix. Zabbix is our primary monitoring tool. Zabbix have native implementation for VmWare monitoring, which we of course use. The idea was to use the same monitoring system, alerting for our NOC. The performance problem is due the how zabbix works, especially zabbix agent. You could return only one value each query, to to get stat for VM you have to do about 10-15 queries. Zabbix agent needs to for the process ... So overhead is twice, to get the data using api and forking process. I see the grafana integration, https://www.ovirt.org/blog/2018/01/ovirt-report-using-grafana/. This seems to be dependent on oVirt version, as I see the table names. So my next steps are: a) I took look at the ovirt metrics, looks good. Is it stable on 4.2? b) take a look on zabbix sender, but this have another sets of issues. For example how to send data olny for some VM/Hosts, not for all if I do not want to monitor while platform. Data could be collected from API or DWH c) try to do the oVirt poller into zabbix ?? Generally what we need is monitoring and alerting system. - alert if Vm is down - alert if VM CPU usage is high for period of time - alert if there is storage problem /latency, usage, .../ Peter On 29/03/2018 08:41, Shirly Radco wrote:
Hi Peter,
Using the oVirt API will add load on the engine and may affect the engine performance. We have the DWH that collectd metrics and configuration data about the hosts and vms and can be used along with Grafana.
We also added the oVirt metrics store that collects the metrics directly from the host about the hosts and vms and from the engine about the machine itself and postgres db. This was done in order to lower the load on the engine. We also collect the engine.log and vdsm.log.
The metrics are collected to Elasticsearch and can be visualised in Kibana and Grafana and are collected in 10 sec interval that give you almost real time view. I would love to hear why you prefer using Zabbix for collecting the metrics data.
Best regards,
--
SHIRLY RADCO
BI SeNIOR SOFTWARE ENGINEER
Red Hat Israel <https://www.redhat.com/>
<https://red.ht/sig> TRIED. TESTED. TRUSTED. <https://redhat.com/trusted>
On Wed, Mar 28, 2018 at 5:38 PM, Peter Hudec <phudec@cnc.sk <mailto:phudec@cnc.sk>> wrote:
I have working proof-of-concept. There still could be bug in templates and not all parameters are monitored, but HOST and VM discovery is working.
I will try to share it on github. At this moment I have some performance issues, since it's using the zabbix-agent which needs to for a new process for each query ;(
Peter
On 26/03/2018 08:13, Peter Hudec wrote:
Yes, template and python
at this moment I understand oVirt API. I needed to write own small SDK, since the oVirt SDK is using SSO for login, that means it do some additional requests for login process. There is no option to use Basic Auth. The SESSION reuse could be useful, but I do no want to add more
First I need to understand some basics from Zabbix Discovery Rules / Host Prototypes. I would like to have VM as separate hosts in Zabbix, like VMWare does. The other stuff is quite easy.
There plugin for nagios/icinga if someone using this monitoring tool https://github.com/ovido/check_rhev3 <https://github.com/ovido/check_rhev3>
On 26/03/2018 08:02, Alex K wrote:
Hi Peter,
This is interesting. Is it going to be a template with an external python script?
Alex
On Mon, Mar 26, 2018, 08:50 Peter Hudec <phudec@cnc.sk <mailto:phudec@cnc.sk> <mailto:phudec@cnc.sk <mailto:phudec@cnc.sk>>> wrote:
Hi Terry,
I started to work on ZABBIX integration based on oVirt API. Basically it should be like VmWare integration in ZABBIX with full hosts/vms discovery and statistic gathering.
The API provides for each statistics service for NIC, VM as wall CPU and MEM utilization.
There is also solution based on reading data from VDSM to prometheus
http://rmohr.github.io/virtualization/2016/04/12/monitor-your-ovirt-d <http://rmohr.github.io/virtualization/2016/04/12/monitor-your-ovirt-d
a
ta
center-with-prometheus
<http://rmohr.github.io/virtualization/2016/04/12/monitor-your-ovirt- <http://rmohr.github.io/virtualization/2016/04/12/monitor-your-ovirt->
d
atacenter-with-prometheus>.
Peter
On 22/03/2018 04:41, Terry hey wrote:
Dear all,
Now, we can just read how many storage used, cpu usage on ovirt dashboard. But is there any monitoring tool for monitoring virtual machine time to time? If yes, could you guys give me the procedure?
Regards Terry
_______________________________________________ Users mailing list Users@ovirt.org <mailto:Users@ovirt.org> <mailto:Users@ovirt.org <mailto:Users@ovirt.org>> http://lists.ovirt.org/mailman/listinfo/users <http://lists.ovirt.org/mailman/listinfo/users>
_______________________________________________ Users mailing list Users@ovirt.org <mailto:Users@ovirt.org> <mailto:Users@ovirt.org <mailto:Users@ovirt.org>> http://lists.ovirt.org/mailman/listinfo/users <http://lists.ovirt.org/mailman/listinfo/users>
_______________________________________________ Users mailing list Users@ovirt.org <mailto:Users@ovirt.org> http://lists.ovirt.org/mailman/listinfo/users <http://lists.ovirt.org/mailman/listinfo/users>
- -- *Peter Hudec* Infraštruktúrny architekt phudec@cnc.sk <mailto:phudec@cnc.sk> *CNC, a.s.* Borská 6, 841 04 Bratislava Recepcia: +421 2 35 000 100 Mobil:+421 905 997 203 *www.cnc.sk* <http:///www.cnc.sk> -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEqSUbhuEwhryifNeVQnvVWOJ35BAFAlq8lQkACgkQQnvVWOJ3 5BBSew//bu5ddAm+OsmBNEZXpusrPdyHkBf16GoYs8gc+EEuUQIp06DkPwSO0s4E J3gexejY0UICNs6chkomB9JVG7A2M8sDFuCDxakefJhwLY92YEgcr3txE5X+Vm/6 RODGRfZILHvwxAEnixC3COr5dIYLls7M2FfnGvB1Mp25OQLoNUxTtIntVhuYfUE2 nZHxbk/+b2n3krbeYtNMgAVPMI0r8c9I4/n4y6sbayoW0O1Ur+3mM6uoyGDrTT8a 3tjD3Rb7drxg5y4TxRBmlHgIvByLNT/r5ucC74GZ6Nf9iN/LXDuYJ8vZ9jcBaGzu aJQP4j69KqRKWCB82NjrPTK1n2m1o/p5ue6L5iEIp3LwNqnyK1b2YlFuTzUhkE59 S+gy8YMuZGDaQ4J36Xi/NnjpsdWSAIwq8BAatqCih5je7cnJZTohtBd7tNtIWX// RdMX7SVrKYvVws/7N9uTbqPppXQk3SEJzEhqPomg+CZTZdm60sUgdZuC/X91OCco lW5xSF2btUJlVLa+/bU+ycnnOYrnecIisRdZeM5iqW25ZXKmpOkl+SZgtjUYqcOb uUVTRGe/ZqbGff3t3zmqYx5cfiVIrV8wX3mHPsMlG00QMJo485/cAetzeRvk2dcg lTYMGLHDrwv7vQ3aDkreeqYjBN+Gi+mDP1IrLxreWBXJT+h4buc= =j0FI -----END PGP SIGNATURE-----
participants (10)
-
Alex K
-
Christopher Cox
-
Luca 'remix_tj' Lorenzetto
-
Marcelo Leandro
-
Nicolas Vaye
-
Peter Hudec
-
Shirly Radco
-
Terry hey
-
Vincent Royer
-
Yaniv Kaul