
What is the correct syntax for the device association?
I tired the following in the device association (and rebuilt the alert checker) and they're not matching on any devices. "hardware" is a proper attribute per http://www.observium.org/docs/attribs_metrics/, so how do I leverage OR to select multiple device types?
I also tried "match" instead of "equals" in the statement.
hardware equals C881-K9 hardware equals CISCO881-SEC-K9
hardware equals C881-K9 or hardware equals CISCO881-SEC-K9
hardware equals C881-K9 or CISCO881-SEC-K9
On Tue, Sep 15, 2015 at 5:40 PM, Nick Schmalenberger <nick@schmalenberger.us
wrote:
On Tue, Sep 15, 2015 at 04:34:37PM -0500, Andrew Plas wrote:
The ability to do the device match on a custom field seems like it would
be
suitable. Barring that, are there any examples of using multiple strings in the
alert
checker's device match? Is an array even possible with the match criteria? Or can I simply specify several "hardware" attributes in the match of one alert checker? I have about a dozen different models of Cisco routers, mostly 1921's and 2921's, so it would be rather messy to create an alert checker for each type of device.
Thanks! Andrew
Its a fairly clean way, to put multiple associations in the alert checker (thats how to do OR). -Nick _______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium