Here's my alert checker. It is completely dynamic for every new host that comes along. Matches the docs almost exactly.
If you are trying to match devices based on hostnames etc, then I've found it easiest to use 'Device Hostname match *' and not try to select from them pick list. You can then add additional conditions to exclude certain hosts if you like (we exclude build lab devices from most alerting for instance - so in our case, we exclude those based on their sysLocation).
Hope this helps,
Michael
On 8 Sep 2020, at 9:40 pm, Tony Guadagno via observium observium@observium.org wrote:
Milton, I disagree, for example, how do you set up a rule to apply to all devices (past and future)? It appears you cannot, however, you could in the past and that are what all the examples show. I like observium quite a lot, however, its these things (like documentation that is not current) that can really frustrate a user.
Tony
From: Milton Ngan mailto:milton@valvesoftware.com Sent: Monday, September 7, 2020 5:05 PM To: Tony Guadagno mailto:tonyg@guadagno.org; Observium mailto:observium@observium.org Cc: Pieter De Wit mailto:pieter@insync.za.net Subject: Re: [Observium] Alert on port utilisation percent ?
The only thing that has really change is the association rule set. Instead of it being a text entry like the test conditions, there is now an expression builder, but the fields and operators are still the same. That should be easier that before. The test/check condition documentation is still relevant. That hasn't changed.
<DB706FAB5C4040068692779F0A52D9EF.png> From: Tony Guadagno <tonyg@guadagno.org mailto:tonyg@guadagno.org> Sent: Monday, September 7, 2020 1:59:04 PM To: Milton Ngan; Observium Cc: Pieter De Wit Subject: RE: [Observium] Alert on port utilisation percent ?
This is what modern version looks like, unfortunately, there are no docs for this.
<D9DA85C911D444D58AB86ACB8A5E1958.png>
Tony
From: Milton Ngan mailto:milton@valvesoftware.com Sent: Monday, September 7, 2020 4:49 PM To: Tony Guadagno mailto:tonyg@guadagno.org; Observium mailto:observium@observium.org Cc: Pieter De Wit mailto:pieter@insync.za.net Subject: Re: [Observium] Alert on port utilisation percent ?
I can't really say what "modern" Observium looks like, I haven't updated our SVN pull for a while. But the version we are running has Test Conditions and the syntax for those looks like what is on the examples page, so I assumed that this should still be relevant. Hopefully Pieter can figure it out from there.
<DB706FAB5C4040068692779F0A52D9EF.png> From: Tony Guadagno tonyg@guadagno.org Sent: Monday, September 7, 2020 1:43:35 PM To: Observium; Milton Ngan Cc: Pieter De Wit; Observium Subject: RE: [Observium] Alert on port utilisation percent ?
There is a problem with these examples, they don’t work for modern Observium. Now that observium uses test conditions and “association rulesets”, the documentation is broke and you cannot implement these examples the way they are shown.
It would be REALLY helpful to have updated documentation. I am stull struggling with checkers because it is all trial and error.
Tony
From: Pieter De Wit via observium mailto:observium@observium.org Sent: Monday, September 7, 2020 4:18 PM To: Milton Ngan mailto:milton@valvesoftware.com Cc: Pieter De Wit mailto:pieter@insync.za.net; Observium mailto:observium@observium.org Subject: Re: [Observium] Alert on port utilisation percent ?
How did I miss that….Thanks !
On 8/09/2020, at 07:58, Milton Ngan <milton@valvesoftware.com mailto:milton@valvesoftware.com> wrote:
Use ifInOctets_perc, an example of this is in the docs.
https://docs.observium.org/alerting_examples/ https://docs.observium.org/alerting_examples/ Example Alert Checkers - Observium https://docs.observium.org/alerting_examples/ docs.observium.org http://docs.observium.org/ Observium Documentation
<B5E90239B6E243D88A6F07E9A9527D50.png> From: observium <observium-bounces@observium.org mailto:observium-bounces@observium.org> on behalf of Pieter De Wit via observium <observium@observium.org mailto:observium@observium.org> Sent: Monday, September 7, 2020 12:46:46 PM To: Observium Cc: Pieter De Wit Subject: [Observium] Alert on port utilisation percent ?
Hi All,
Is there a way to alert on port usage percentage ? If so, what is the metric called ?
We are *currently* on CE.
Thanks,
Pieter _______________________________________________ observium mailing list observium@observium.org mailto:observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium