![](https://secure.gravatar.com/avatar/eecf07a2f652c6713784e001e9a7c513.jpg?s=120&d=mm&r=g)
When i was trying to figure out Alert Checkers, i found this:
https://github.com/mgmoerman/docs/blob/master/observium-alert-checkers.md
very helpful.
From: Joseph Zancocchio joseph@nyi.netmailto:joseph@nyi.net Reply: Observium Network Observation System observium@observium.orgmailto:observium@observium.org Date: April 1, 2016 at 8:10:44 AM To: observium@observium.org observium@observium.orgmailto:observium@observium.org Subject: Re: [Observium] sample config for pps alerts to monitor
Those check conditions are not in a valid format, since you are missing the actual test operator. You need to type a full expression, in the form of metricName operator value
For example, if you want to alert when ifInUcastPkts_rate or ifOutUcastPkts_rate is exactly 1 pps, you could use ifInUcastPkts_rate eq 1 ifOutUcastPkts_rate eq 1
and select "Require any condition" at the top of the editor window.
The alert code accepts any of the following conditions (operators on the same line have equivalent behavior): ge >= le <= gt greater > lt less < notequals isnot ne != equals eq is == = match matches notmatches notmatch !match regexp regex notregexp notregex !regexp !regex in list !in !list notin notlist
Check out the test_conditions function inside includes/alerts.inc.php if you would like to see how each of the operators are handled.
On 04/01/2016 05:45 AM, Sathish.I wrote: Hello Adam,
I have just created like below, hopefully It is not sending any alerts. All ports are 1G.
[cid:23BB45F2-108A-4E53-B038-8F628B56F938]
Sathish
From: observium [mailto:observium-bounces@observium.org] On Behalf Of Adam Armstrong Sent: Thursday, March 31, 2016 4:44 PM To: observium@observium.orgmailto:observium@observium.org Subject: Re: [Observium] sample config for pps alerts to monitor
Hi,
You need to use ifInUcastPkts_rate and ifOutUcastPkts_rate. It may make more sense to create average packet size alerts though, depending upon the purpose.
These use rx_ave_pktsize and tx_ave_pktsize.
adam.
On 31/03/2016 08:23:17, Sathish.I <mailto:sathish.i@ctrls.insathish.i@ctrls.inmailto:sathish.i@ctrls.in> wrote: Hello All,
Any ideas?.
-sathish
From: observium [mailto:observium-bounces@observium.org] On Behalf Of Sathish.I Sent: Thursday, March 31, 2016 2:34 AM To: observium@observium.orgmailto:observium@observium.org Subject: [Observium] sample config for pps alerts to monitor
Hello All,
I want to create alert for packet/sec (PPS), please let me know the sample config to configure it on observium.
Regards,
sathish
_______________________________________________ observium mailing list observium@observium.orgmailto:observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
_______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium