OpenNebula / one

The open source Cloud & Edge Computing Platform bringing real freedom to your Enterprise Cloud 🚀
http://opennebula.io
Apache License 2.0
1.25k stars 483 forks source link

SNMP alerts #1564

Open AdriMenendezM opened 6 years ago

AdriMenendezM commented 6 years ago

Enhancement Request

Description

It would be very usefull to prevent problems, an snmp alert system based on resource's quotas.

Use case

Detect when a datastore has reached certain level and when a host has certain level of CPU or RAM used.

Interface Changes

hydro-b commented 6 years ago

SNMP .... in 2017 ... seriously? I would opt for OpenNebula pushing metrics to $timeseries database. (ONE related metrics, issue #647)

AdriMenendezM commented 6 years ago

SNMP is veryextended and a really easy way to send alerts to tools like PRTG, Veeam, monitoring tools or even Splunk apps. Very easy to configure and no development needed so, why not?

Of course, if there is another better option to easy send alerts to any other tool, I just say snmp as an option.

rsmontero commented 6 years ago

There is an old request from @hydro-b I think, that I forgot to add to the issue system; but always wanted to see implemented in OpenNebula.

The idea is to make OpenNebula to publish events (the original idea was a message bus like zeroMQ or whatever) We could use a driver for that, so we send the topic and event content to the driver and it publish in the queue or with SNMP.

So, my proposal is to reformulate this ticket as the ability to OpenNebula to publish events using a suitable transport mechanism. The implementation being modular to allow several transports through drivers.

What do you think?

AdriMenendezM commented 6 years ago

Sure, I just proposed snmp because of its widely use, but something like zeroMQ, rabbitMQ, etc. could be great.

hydro-b commented 6 years ago

On Tue, Dec 05, 2017 at 04:08:53PM +0000, Ruben S. Montero wrote:

There is an old request from @hydro-b I think, that I forgot to add to the issue system; but always wanted to see implemented in OpenNebula.

Yup :-).

The idea is to make OpenNebula to publish events (the original idea was a message bus like zeroMQ or whatever) We could use a driver for that, so we send the topic and event content to the driver and it publish in the queue or with SNMP.

So, my proposal is to reformulate this ticket as the ability to OpenNebula to publish events using a suitable transport mechanism. The implementation being modular to allow several transports through drivers.

What do you think?

Sounds goods. Then there is freedom in picking transport that suits your environment. I guess I was a bit rude on SNMP. In my experience it's not "SIMPLE" (MIBS, custom subtree's, 32 bit entries that are not big enough (think uptime) ... but if it floats your boat ...

This issue might also relate to #1435

Thanks,

Stefan

kvaps commented 6 years ago

Hi @amenendezASAC, I'm just written opennebula template for zabbix, maybe you will be interest in it: https://github.com/kvaps/opennebula-addon-zabbix You can modify my script for using with other monitoring systems

AdriMenendezM commented 6 years ago

I'll take a look @kvaps , thanks!!