For device associations, you can match against any of the columns in the `devices` table, which include the following:
device_id, hostname, sysName, snmp_community, snmp_authlevel, snmp_authname, snmp_authpass, snmp_authalgo, snmp_cryptopass, snmp_cryptoalgo, snmp_version, snmp_port, snmp_timeout, snmp_retries, ssh_port, agent_version, snmp_transport, bgpLocalAs, snmpEngineID, sysObjectID, sysDescr, sysContact, version, hardware, features, location, os, status, ignore, ignore_until, asset_tag, disabled, uptime, force_discovery, last_polled, last_discovered, is_polling, is_discovering, last_polled_timetaken, last_discovered_timetaken, purpose, type, serial, icon, device_state, distro, distro_ver, kernel, arch
On 06/15/2016 02:39 AM, Fredrik Winäs wrote:
Thanks
The ”purpose eq 24x7” worked great
Could it be that you can match anything under device_data?
*//Fredrik Winäs *
tel +46 31 762 02 43
*From:*observium [mailto:observium-bounces@observium.org] *On Behalf Of *Adam Armstrong *Sent:* den 14 juni 2016 18:10 *To:* observium@observium.org *Subject:* Re: [Observium] Group based on description?
The code would already allow it, just need to use "purpose" as a device match.
"purpose eq 24x7"
adam.
Sent from Mailbird http://www.getmailbird.com/?utm_source=Mailbird&utm_medium=email&utm_campaign=sent-from-mailbird
On 14/06/2016 16:00:41, Tom Laermans <tom.laermans@powersource.cx <mailto:tom.laermans@powersource.cx>> wrote: It shouldn't be hard to add the description from the device page to that list... maybe best requested via jira.observium.org. On 06/14/2016 04:58 PM, Moerman, Maarten wrote: You can use: Hostname, os, type, sysName, sysDescr, sysContact, Location, hardware & serial as an attribute for this. See the documentation for the attribute syntax on alerting, which works for groups as well. Maarten -- Maarten Moerman | Mgr, Network Engineering | eBay Classifieds | +31-655122247 | mmoerman@ebay.com <mailto:mmoerman@ebay.com> *From: *observium <observium-bounces@observium.org <mailto:observium-bounces@observium.org>> on behalf of Fredrik Winäs <Fredrik.Winas@cgit.se <mailto:Fredrik.Winas@cgit.se>> *Reply-To: *Observium Network Observation System <observium@observium.org <mailto:observium@observium.org>> *Date: *Tuesday, June 14, 2016 at 3:46 PM *To: *Observium Network Observation System <observium@observium.org <mailto:observium@observium.org>> *Subject: *[Observium] Group based on description? I would like to make a device group based on the description of the device, the one that i set it observium. Can this be done? Med Vänlig Hälsning *Fredrik Winäs * tel +46 31 762 02 43 fredrik.winas@cgit.se <mailto:fredrik.winas@cgit.se>www.cgit.se <http://www.cgit.se/> CGit AB Taljegårdsgatan 11C SE-431 53 Mölndal _______________________________________________ observium mailing list observium@observium.org <mailto: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