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.
Sathish
*From:*observium [mailto:observium-bounces@observium.org] *On Behalf Of *Adam Armstrong *Sent:* Thursday, March 31, 2016 4:44 PM *To:* 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 <sathish.i@ctrls.in <mailto: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.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* Description: Description: Description: Description: Description: Description: http://www.ctrls.com/email-signature/images/devider.jpg
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium