Re: [Observium] Group based on description?
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.commailto:mmoerman@ebay.com
From: observium <observium-bounces@observium.orgmailto:observium-bounces@observium.org> on behalf of Fredrik Winäs <Fredrik.Winas@cgit.semailto:Fredrik.Winas@cgit.se> Reply-To: Observium Network Observation System <observium@observium.orgmailto:observium@observium.org> Date: Tuesday, June 14, 2016 at 3:46 PM To: Observium Network Observation System <observium@observium.orgmailto: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.
[cid:image001.png@01D1C653.E533AF90]
Can this be done?
Med Vänlig Hälsning
Fredrik Winäs tel +46 31 762 02 43 fredrik.winas@cgit.semailto:fredrik.winas@cgit.se www.cgit.sehttp://www.cgit.se/ CGit AB Taljegårdsgatan 11C SE-431 53 Mölndal
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 http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
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...] On 14/06/2016 16:00:41, Tom Laermans 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] [mailto:mmoerman@ebay.com]
From: observium <observium-bounces@observium.org [mailto: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] [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 [http://postman.memetic.org/cgi-bin/mailman/listinfo/observium]
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 Mailbirdhttp://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.cxmailto: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.commailto:mmoerman@ebay.com
From: observium <observium-bounces@observium.orgmailto:observium-bounces@observium.org> on behalf of Fredrik Winäs <Fredrik.Winas@cgit.semailto:Fredrik.Winas@cgit.se> Reply-To: Observium Network Observation System <observium@observium.orgmailto:observium@observium.org> Date: Tuesday, June 14, 2016 at 3:46 PM To: Observium Network Observation System <observium@observium.orgmailto: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.
[cid:image001.png@01D1C653.E533AF90]
Can this be done?
Med Vänlig Hälsning
Fredrik Winäs tel +46 31 762 02 43 fredrik.winas@cgit.semailto:fredrik.winas@cgit.se www.cgit.sehttp://www.cgit.se/ CGit AB Taljegårdsgatan 11C SE-431 53 Mölndal
_______________________________________________
observium mailing list
observium@observium.orgmailto:observium@observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
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
However, as none of those things are reliable enough as our database structure changes, I'd stick to documented ones.
On 06/15/2016 05:14 PM, Joseph Zancocchio wrote:
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 <<mailto:tom.laermans@powersource.cx>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 *From: *observium <observium-bounces@observium.org> on behalf of Fredrik Winäs <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.sewww.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
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
Yeah. I already want to change "purpose" to "descr"
:D
Adam.
Sent from BlueMail
On 15 Jun 2016, 16:20, at 16:20, Tom Laermans tom.laermans@powersource.cx wrote:
However, as none of those things are reliable enough as our database structure changes, I'd stick to documented ones.
On 06/15/2016 05:14 PM, Joseph Zancocchio wrote:
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
<mailto:tom.laermans@powersource.cxtom.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 *From: *observium <observium-bounces@observium.org> on
behalf
of Fredrik Winäs <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.sewww.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
observium mailing list 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
That's why I mentioned code change and not just "it already works". ;)
On 06/15/2016 06:02 PM, Adam Armstrong wrote:
Yeah. I already want to change "purpose" to "descr"
:D
Adam.
Sent from BlueMail http://www.bluemail.me/r
On 15 Jun 2016, at 16:20, Tom Laermans <tom.laermans@powersource.cx mailto:tom.laermans@powersource.cx> wrote:
However, as none of those things are reliable enough as our database structure changes, I'd stick to documented ones. On 06/15/2016 05:14 PM, Joseph Zancocchio wrote:
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 <<mailto:tom.laermans@powersource.cx>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 *From: *observium <observium-bounces@observium.org> on behalf of Fredrik Winäs <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<http://www.cgit.se/>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
_______________________________________________ observium mailing list 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
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
You can match against any database field. Not everything in there is in the database (a lot of the stuff at the end is generated from the db, but isn't in the db)
Adam.
Sent from BlueMail
On 15 Jun 2016, 07:39, at 07:39, "Fredrik Winäs" Fredrik.Winas@cgit.se 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 Mailbirdhttp://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.cxmailto: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.commailto:mmoerman@ebay.com
From: observium <observium-bounces@observium.orgmailto:observium-bounces@observium.org> on behalf of Fredrik Winäs <Fredrik.Winas@cgit.semailto:Fredrik.Winas@cgit.se> Reply-To: Observium Network Observation System <observium@observium.orgmailto:observium@observium.org> Date: Tuesday, June 14, 2016 at 3:46 PM To: Observium Network Observation System <observium@observium.orgmailto: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.
[cid:image001.png@01D1C653.E533AF90]
Can this be done?
Med Vänlig Hälsning
Fredrik Winäs tel +46 31 762 02 43 fredrik.winas@cgit.semailto:fredrik.winas@cgit.se www.cgit.sehttp://www.cgit.se/ CGit AB Taljegårdsgatan 11C SE-431 53 Mölndal
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
participants (5)
-
Adam Armstrong
-
Fredrik Winäs
-
Joseph Zancocchio
-
Moerman, Maarten
-
Tom Laermans