![](https://secure.gravatar.com/avatar/18f3f1d708d2937f4fcf6783be00e6c2.jpg?s=120&d=mm&r=g)
Hey all – probably a dumb newbie questions so apologies…
I am trying to define groups based on the contents of the port description. I am using this as a training ground before I move on to alert checkers!
I have edited the port description to include L3 and I can see that Observium is retrieving the port descriptions correctly however I do not seem to be able to define a group correctly.
I have created a group as below:
i.e. Based on containing “L3” in the port description add to the group.
I can confirm that there are 15+ devices containing “L3” – example…
If I do a search on ports containing L3 I retrieve the full list of devices.
I originally thought I had made the query too tight but I’ve tried a number of broad combinations and never seem to have any members found.
I am using 18.3.9073 (3rd March 2018).
What am I missing? 😊
Cheers
Mal
![](https://secure.gravatar.com/avatar/0fa97865a0e1ab36152b6b2299eedb49.jpg?s=120&d=mm&r=g)
Hi,
The groups matching system has recently been rewritten. Please update to the latest SVN :)
(This might be difficult if you chose to use the stable branch, since these changes aren't in stable yet)
Adam.
Sent from BlueMail
On 23 Mar 2018, 23:16, at 23:16, mal@platinumnetworks.com.au wrote:
Hey all – probably a dumb newbie questions so apologies…
I am trying to define groups based on the contents of the port description. I am using this as a training ground before I move on to alert checkers!
I have edited the port description to include L3 and I can see that Observium is retrieving the port descriptions correctly however I do not seem to be able to define a group correctly.
I have created a group as below:
i.e. Based on containing “L3” in the port description add to the group.
I can confirm that there are 15+ devices containing “L3” – example…
If I do a search on ports containing L3 I retrieve the full list of devices.
I originally thought I had made the query too tight but I’ve tried a number of broad combinations and never seem to have any members found.
I am using 18.3.9073 (3rd March 2018).
What am I missing? 😊
Cheers
Mal
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
![](https://secure.gravatar.com/avatar/5b9510cd4dca446e5d43a95c0ad0c40a.jpg?s=120&d=mm&r=g)
Updating to 9125 threw these errors on a Centos based install:
-- Updating database/file schema 367 -> 368 # (php) Migrating groups to new format PHP Fatal error: Uncaught Error: Call to undefined function r() in /opt/observium/includes/groups.inc.php:738 Stack trace: #0 /opt/observium/update/368.php(14): parse_qb_ruleset('port', Array) #1 /opt/observium/includes/functions.inc.php(304): include('/opt/observium/...') #2 /opt/observium/includes/update/update.php(143): include_wrapper('/opt/observium/...') #3 /opt/observium/discovery.php(119): include('/opt/observium/...') #4 {main} thrown in /opt/observium/includes/groups.inc.php on line 738
Observium 18.3.9125 (23rd March 2018) OS Linux 3.10.0-514.26.2.el7.x86_64 [amd64] (CentOS 7) Apache 2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/7.0.25 SVN/1.7.14 PHP 7.0.25 (OPcache: ENABLED) Python 2.7.5 MySQL 5.5.56-MariaDB (extension: mysqli 5.5.56-MariaDB) SNMP NET-SNMP 5.7.2 RRDtool 1.6.0
Any tips?
On Sat, Mar 24, 2018 at 10:39 AM, Adam Armstrong adama@memetic.org wrote:
Hi,
The groups matching system has recently been rewritten. Please update to the latest SVN :)
(This might be difficult if you chose to use the stable branch, since these changes aren't in stable yet)
Adam.
Sent from BlueMail http://www.bluemail.me/r?b=12512 On 23 Mar 2018, at 23:16, mal@platinumnetworks.com.au wrote:
Hey all – probably a dumb newbie questions so apologies…
I am trying to define groups based on the contents of the port description. I am using this as a training ground before I move on to alert checkers!
I have edited the port description to include L3 and I can see that Observium is retrieving the port descriptions correctly however I do not seem to be able to define a group correctly.
I have created a group as below:
i.e. Based on containing “L3” in the port description add to the group.
I can confirm that there are 15+ devices containing “L3” – example…
If I do a search on ports containing L3 I retrieve the full list of devices.
I originally thought I had made the query too tight but I’ve tried a number of broad combinations and never seem to have any members found.
I am using 18.3.9073 (3rd March 2018).
What am I missing? 😊
Cheers
Mal
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
![](https://secure.gravatar.com/avatar/11b54b3dd25b712395dab9818c67596f.jpg?s=120&d=mm&r=g)
shit :)
Adam Armstrong Managing Director & Lead Architect Observium Limited http://www.observium.org http://docs.observium.org http://jira.observium.org On 2018-03-23 23:45:14, McDonald Richards mcdonald.richards@gmail.com wrote: Updating to 9125 threw these errors on a Centos based install:
-- Updating database/file schema 367 -> 368 # (php) Migrating groups to new format PHP Fatal error: Uncaught Error: Call to undefined function r() in /opt/observium/includes/groups.inc.php:738 Stack trace: #0 /opt/observium/update/368.php(14): parse_qb_ruleset('port', Array) #1 /opt/observium/includes/functions.inc.php(304): include('/opt/observium/...') #2 /opt/observium/includes/update/update.php(143): include_wrapper('/opt/observium/...') #3 /opt/observium/discovery.php(119): include('/opt/observium/...') #4 {main} thrown in /opt/observium/includes/groups.inc.php on line 738
Observium 18.3.9125 (23rd March 2018) OS Linux 3.10.0-514.26.2.el7.x86_64 [amd64] (CentOS 7) Apache 2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/7.0.25 SVN/1.7.14 PHP 7.0.25 (OPcache: ENABLED) Python 2.7.5 MySQL 5.5.56-MariaDB (extension: mysqli 5.5.56-MariaDB) SNMP NET-SNMP 5.7.2 RRDtool 1.6.0
Any tips?
On Sat, Mar 24, 2018 at 10:39 AM, Adam Armstrong <adama@memetic.org [mailto:adama@memetic.org]> wrote:
Hi,
The groups matching system has recently been rewritten. Please update to the latest SVN :)
(This might be difficult if you chose to use the stable branch, since these changes aren't in stable yet)
Adam.
Sent from BlueMail [http://www.bluemail.me/r?b=12512] On 23 Mar 2018, at 23:16, mal@platinumnetworks.com.au [mailto:mal@platinumnetworks.com.au] wrote: Hey all – probably a dumb newbie questions so apologies… I am trying to define groups based on the contents of the port description. I am using this as a training ground before I move on to alert checkers! I have edited the port description to include L3 and I can see that Observium is retrieving the port descriptions correctly however I do not seem to be able to define a group correctly. I have created a group as below: i.e. Based on containing “L3” in the port description add to the group. I can confirm that there are 15+ devices containing “L3” – example… If I do a search on ports containing L3 I retrieve the full list of devices. I originally thought I had made the query too tight but I’ve tried a number of broad combinations and never seem to have any members found. I am using 18.3.9073 (3rd March 2018). What am I missing? 😊 Cheers Mal
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]
_______________________________________________ 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]
_______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
![](https://secure.gravatar.com/avatar/11b54b3dd25b712395dab9818c67596f.jpg?s=120&d=mm&r=g)
Ok, I've removed the r() call. Thankfully because it failed, it won't have progressed the schema counter, so you can re-run it now!
Thanks, adam.
Adam Armstrong Managing Director & Lead Architect Observium Limited http://www.observium.org http://docs.observium.org http://jira.observium.org On 2018-03-23 23:46:05, Adam Armstrong adama@observium.org wrote: shit :)
Adam Armstrong Managing Director & Lead Architect Observium Limited http://www.observium.org http://docs.observium.org http://jira.observium.org On 2018-03-23 23:45:14, McDonald Richards mcdonald.richards@gmail.com wrote: Updating to 9125 threw these errors on a Centos based install:
-- Updating database/file schema 367 -> 368 # (php) Migrating groups to new format PHP Fatal error: Uncaught Error: Call to undefined function r() in /opt/observium/includes/groups.inc.php:738 Stack trace: #0 /opt/observium/update/368.php(14): parse_qb_ruleset('port', Array) #1 /opt/observium/includes/functions.inc.php(304): include('/opt/observium/...') #2 /opt/observium/includes/update/update.php(143): include_wrapper('/opt/observium/...') #3 /opt/observium/discovery.php(119): include('/opt/observium/...') #4 {main} thrown in /opt/observium/includes/groups.inc.php on line 738
Observium 18.3.9125 (23rd March 2018) OS Linux 3.10.0-514.26.2.el7.x86_64 [amd64] (CentOS 7) Apache 2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/7.0.25 SVN/1.7.14 PHP 7.0.25 (OPcache: ENABLED) Python 2.7.5 MySQL 5.5.56-MariaDB (extension: mysqli 5.5.56-MariaDB) SNMP NET-SNMP 5.7.2 RRDtool 1.6.0
Any tips?
On Sat, Mar 24, 2018 at 10:39 AM, Adam Armstrong <adama@memetic.org [mailto:adama@memetic.org]> wrote:
Hi,
The groups matching system has recently been rewritten. Please update to the latest SVN :)
(This might be difficult if you chose to use the stable branch, since these changes aren't in stable yet)
Adam.
Sent from BlueMail [http://www.bluemail.me/r?b=12512] On 23 Mar 2018, at 23:16, mal@platinumnetworks.com.au [mailto:mal@platinumnetworks.com.au] wrote: Hey all – probably a dumb newbie questions so apologies… I am trying to define groups based on the contents of the port description. I am using this as a training ground before I move on to alert checkers! I have edited the port description to include L3 and I can see that Observium is retrieving the port descriptions correctly however I do not seem to be able to define a group correctly. I have created a group as below: i.e. Based on containing “L3” in the port description add to the group. I can confirm that there are 15+ devices containing “L3” – example… If I do a search on ports containing L3 I retrieve the full list of devices. I originally thought I had made the query too tight but I’ve tried a number of broad combinations and never seem to have any members found. I am using 18.3.9073 (3rd March 2018). What am I missing? 😊 Cheers Mal
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]
_______________________________________________ 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]
_______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
![](https://secure.gravatar.com/avatar/5b9510cd4dca446e5d43a95c0ad0c40a.jpg?s=120&d=mm&r=g)
Perfect :)
On Sat, Mar 24, 2018 at 10:47 AM, Adam Armstrong adama@observium.org wrote:
Ok, I've removed the r() call. Thankfully because it failed, it won't have progressed the schema counter, so you can re-run it now!
Thanks, adam.
Adam Armstrong Managing Director & Lead Architect Observium Limited http://www.observium.org http://docs.observium.org http://jira.observium.org
On 2018-03-23 23:46:05, Adam Armstrong adama@observium.org wrote: shit :)
Adam Armstrong Managing Director & Lead Architect Observium Limited http://www.observium.org http://docs.observium.org http://jira.observium.org
On 2018-03-23 23:45:14, McDonald Richards mcdonald.richards@gmail.com wrote: Updating to 9125 threw these errors on a Centos based install:
-- Updating database/file schema 367 -> 368 # (php) Migrating groups to new format PHP Fatal error: Uncaught Error: Call to undefined function r() in /opt/observium/includes/ groups.inc.php:738 Stack trace: #0 /opt/observium/update/368.php(14): parse_qb_ruleset('port', Array) #1 /opt/observium/includes/functions.inc.php(304): include('/opt/observium/...') #2 /opt/observium/includes/update/update.php(143): include_wrapper('/opt/ observium/...') #3 /opt/observium/discovery.php(119): include('/opt/observium/...') #4 {main} thrown in /opt/observium/includes/groups.inc.php on line 738
Observium 18.3.9125 (23rd March 2018) OS Linux 3.10.0-514.26.2.el7.x86_64 [amd64] (CentOS 7) Apache 2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/7.0.25 SVN/1.7.14 PHP 7.0.25 (OPcache: ENABLED) Python 2.7.5 MySQL 5.5.56-MariaDB (extension: mysqli 5.5.56-MariaDB) SNMP NET-SNMP 5.7.2 RRDtool 1.6.0
Any tips?
On Sat, Mar 24, 2018 at 10:39 AM, Adam Armstrong adama@memetic.org wrote:
Hi,
The groups matching system has recently been rewritten. Please update to the latest SVN :)
(This might be difficult if you chose to use the stable branch, since these changes aren't in stable yet)
Adam.
Sent from BlueMail http://www.bluemail.me/r?b=12512 On 23 Mar 2018, at 23:16, mal@platinumnetworks.com.au wrote:
Hey all – probably a dumb newbie questions so apologies…
I am trying to define groups based on the contents of the port description. I am using this as a training ground before I move on to alert checkers!
I have edited the port description to include L3 and I can see that Observium is retrieving the port descriptions correctly however I do not seem to be able to define a group correctly.
I have created a group as below:
i.e. Based on containing “L3” in the port description add to the group.
I can confirm that there are 15+ devices containing “L3” – example…
If I do a search on ports containing L3 I retrieve the full list of devices.
I originally thought I had made the query too tight but I’ve tried a number of broad combinations and never seem to have any members found.
I am using 18.3.9073 (3rd March 2018).
What am I missing? 😊
Cheers
Mal
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
![](https://secure.gravatar.com/avatar/a4042920f4bf89a219241c65ae64c5d8.jpg?s=120&d=mm&r=g)
Howdy Adam,
I was seeing this on build 9125, just svn upped to 9126, and still seeing the same thing on a discover run:
PHP Fatal error: Uncaught Error: Call to undefined function r() in /opt/observium/includes/groups.inc.php:1036
Stack trace:
#0 /opt/observium/includes/groups.inc.php(1009): update_group_table(Array)
#1 /opt/observium/discovery.php(191): update_group_tables()
#2 {main}
thrown in /opt/observium/includes/groups.inc.php on line 1036
root@observium:/opt/observium#
…Ron
From: observium observium-bounces@observium.org On Behalf Of McDonald Richards Sent: Friday, March 23, 2018 6:52 PM To: Observium observium@observium.org Subject: Re: [Observium] Defining Groups
Perfect :)
On Sat, Mar 24, 2018 at 10:47 AM, Adam Armstrong <adama@observium.org mailto:adama@observium.org > wrote:
Ok, I've removed the r() call. Thankfully because it failed, it won't have progressed the schema counter, so you can re-run it now!
Thanks,
adam.
Adam Armstrong
Managing Director & Lead Architect
Observium Limited
On 2018-03-23 23:46:05, Adam Armstrong <adama@observium.org mailto:adama@observium.org > wrote:
shit :)
Adam Armstrong
Managing Director & Lead Architect
Observium Limited
On 2018-03-23 23:45:14, McDonald Richards <mcdonald.richards@gmail.com mailto:mcdonald.richards@gmail.com > wrote:
Updating to 9125 threw these errors on a Centos based install:
-- Updating database/file schema
367 -> 368 # (php) Migrating groups to new format PHP Fatal error: Uncaught Error: Call to undefined function r() in /opt/observium/includes/groups.inc.php:738
Stack trace:
#0 /opt/observium/update/368.php(14): parse_qb_ruleset('port', Array)
#1 /opt/observium/includes/functions.inc.php(304): include('/opt/observium/...')
#2 /opt/observium/includes/update/update.php(143): include_wrapper('/opt/observium/...')
#3 /opt/observium/discovery.php(119): include('/opt/observium/...')
#4 {main}
thrown in /opt/observium/includes/groups.inc.php on line 738
Observium 18.3.9125 (23rd March 2018)
OS Linux 3.10.0-514.26.2.el7.x86_64 [amd64] (CentOS 7)
Apache 2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/7.0.25 SVN/1.7.14
PHP 7.0.25 (OPcache: ENABLED)
Python 2.7.5
MySQL 5.5.56-MariaDB (extension: mysqli 5.5.56-MariaDB)
SNMP NET-SNMP 5.7.2
RRDtool 1.6.0
Any tips?
On Sat, Mar 24, 2018 at 10:39 AM, Adam Armstrong <adama@memetic.org mailto:adama@memetic.org > wrote:
Hi,
The groups matching system has recently been rewritten. Please update to the latest SVN :)
(This might be difficult if you chose to use the stable branch, since these changes aren't in stable yet)
Adam.
Sent from BlueMail http://www.bluemail.me/r?b=12512
On 23 Mar 2018, at 23:16, mal@platinumnetworks.com.au mailto:mal@platinumnetworks.com.au wrote:
Hey all – probably a dumb newbie questions so apologies…
I am trying to define groups based on the contents of the port description. I am using this as a training ground before I move on to alert checkers!
I have edited the port description to include L3 and I can see that Observium is retrieving the port descriptions correctly however I do not seem to be able to define a group correctly.
I have created a group as below:
i.e. Based on containing “L3” in the port description add to the group.
I can confirm that there are 15+ devices containing “L3” – example…
If I do a search on ports containing L3 I retrieve the full list of devices.
I originally thought I had made the query too tight but I’ve tried a number of broad combinations and never seem to have any members found.
I am using 18.3.9073 (3rd March 2018).
What am I missing? 😊
Cheers
Mal
_____
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 mailto:observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
_______________________________________________ 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 mailto:observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
![](https://secure.gravatar.com/avatar/11b54b3dd25b712395dab9818c67596f.jpg?s=120&d=mm&r=g)
It dose help if I remove all of the debugging!
Try now :)
adam.
Adam Armstrong Managing Director & Lead Architect Observium Limited http://www.observium.org http://docs.observium.org http://jira.observium.org On 2018-03-24 01:07:25, Ron Marosko ron@rjr-services.com wrote: Howdy Adam, I was seeing this on build 9125, just svn upped to 9126, and still seeing the same thing on a discover run: PHP Fatal error: Uncaught Error: Call to undefined function r() in /opt/observium/includes/groups.inc.php:1036 Stack trace: #0 /opt/observium/includes/groups.inc.php(1009): update_group_table(Array) #1 /opt/observium/discovery.php(191): update_group_tables() #2 {main} thrown in /opt/observium/includes/groups.inc.php on line 1036 root@observium:/opt/observium# …Ron From: observium observium-bounces@observium.org On Behalf Of McDonald Richards Sent: Friday, March 23, 2018 6:52 PM To: Observium observium@observium.org Subject: Re: [Observium] Defining Groups Perfect :) On Sat, Mar 24, 2018 at 10:47 AM, Adam Armstrong <adama@observium.org [mailto:adama@observium.org]> wrote: Ok, I've removed the r() call. Thankfully because it failed, it won't have progressed the schema counter, so you can re-run it now! Thanks, adam. Adam Armstrong Managing Director & Lead Architect Observium Limited http://www.observium.org [http://www.observium.org] http://docs.observium.org [http://docs.observium.org] http://jira.observium.org [http://jira.observium.org] On 2018-03-23 23:46:05, Adam Armstrong <adama@observium.org [mailto:adama@observium.org]> wrote: shit :) Adam Armstrong Managing Director & Lead Architect Observium Limited http://www.observium.org [http://www.observium.org] http://docs.observium.org [http://docs.observium.org] http://jira.observium.org [http://jira.observium.org] On 2018-03-23 23:45:14, McDonald Richards <mcdonald.richards@gmail.com [mailto:mcdonald.richards@gmail.com]> wrote: Updating to 9125 threw these errors on a Centos based install: -- Updating database/file schema 367 -> 368 # (php) Migrating groups to new format PHP Fatal error: Uncaught Error: Call to undefined function r() in /opt/observium/includes/groups.inc.php:738 Stack trace: #0 /opt/observium/update/368.php(14): parse_qb_ruleset('port', Array) #1 /opt/observium/includes/functions.inc.php(304): include('/opt/observium/...') #2 /opt/observium/includes/update/update.php(143): include_wrapper('/opt/observium/...') #3 /opt/observium/discovery.php(119): include('/opt/observium/...') #4 {main} thrown in /opt/observium/includes/groups.inc.php on line 738 Observium 18.3.9125 (23rd March 2018) OS Linux 3.10.0-514.26.2.el7.x86_64 [amd64] (CentOS 7) Apache 2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/7.0.25 SVN/1.7.14 PHP 7.0.25 (OPcache: ENABLED) Python 2.7.5 MySQL 5.5.56-MariaDB (extension: mysqli 5.5.56-MariaDB) SNMP NET-SNMP 5.7.2 RRDtool 1.6.0 Any tips? On Sat, Mar 24, 2018 at 10:39 AM, Adam Armstrong <adama@memetic.org [mailto:adama@memetic.org]> wrote: Hi, The groups matching system has recently been rewritten. Please update to the latest SVN :) (This might be difficult if you chose to use the stable branch, since these changes aren't in stable yet) Adam. Sent from BlueMail [http://www.bluemail.me/r?b=12512] On 23 Mar 2018, at 23:16, mal@platinumnetworks.com.au [mailto:mal@platinumnetworks.com.au] wrote: Hey all – probably a dumb newbie questions so apologies… I am trying to define groups based on the contents of the port description. I am using this as a training ground before I move on to alert checkers! I have edited the port description to include L3 and I can see that Observium is retrieving the port descriptions correctly however I do not seem to be able to define a group correctly. I have created a group as below: i.e. Based on containing “L3” in the port description add to the group. I can confirm that there are 15+ devices containing “L3” – example… If I do a search on ports containing L3 I retrieve the full list of devices. I originally thought I had made the query too tight but I’ve tried a number of broad combinations and never seem to have any members found. I am using 18.3.9073 (3rd March 2018). What am I missing? Cheers Mal
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]
_______________________________________________ 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] _______________________________________________ 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]
_______________________________________________ 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]
![](https://secure.gravatar.com/avatar/a4042920f4bf89a219241c65ae64c5d8.jpg?s=120&d=mm&r=g)
Fixed. Thank you!
From: observium observium-bounces@observium.org On Behalf Of Adam Armstrong Sent: Friday, March 23, 2018 8:17 PM To: observium@observium.org Subject: Re: [Observium] Defining Groups
It dose help if I remove all of the debugging!
Try now :)
adam.
Adam Armstrong
Managing Director & Lead Architect
Observium Limited
On 2018-03-24 01:07:25, Ron Marosko <ron@rjr-services.com mailto:ron@rjr-services.com > wrote:
Howdy Adam,
I was seeing this on build 9125, just svn upped to 9126, and still seeing the same thing on a discover run:
PHP Fatal error: Uncaught Error: Call to undefined function r() in /opt/observium/includes/groups.inc.php:1036
Stack trace:
#0 /opt/observium/includes/groups.inc.php(1009): update_group_table(Array)
#1 /opt/observium/discovery.php(191): update_group_tables()
#2 {main}
thrown in /opt/observium/includes/groups.inc.php on line 1036
root@observium:/opt/observium#
…Ron
From: observium <observium-bounces@observium.org mailto:observium-bounces@observium.org > On Behalf Of McDonald Richards Sent: Friday, March 23, 2018 6:52 PM To: Observium <observium@observium.org mailto:observium@observium.org > Subject: Re: [Observium] Defining Groups
Perfect :)
On Sat, Mar 24, 2018 at 10:47 AM, Adam Armstrong <adama@observium.org mailto:adama@observium.org > wrote:
Ok, I've removed the r() call. Thankfully because it failed, it won't have progressed the schema counter, so you can re-run it now!
Thanks,
adam.
Adam Armstrong
Managing Director & Lead Architect
Observium Limited
On 2018-03-23 23:46:05, Adam Armstrong <adama@observium.org mailto:adama@observium.org > wrote:
shit :)
Adam Armstrong
Managing Director & Lead Architect
Observium Limited
On 2018-03-23 23:45:14, McDonald Richards <mcdonald.richards@gmail.com mailto:mcdonald.richards@gmail.com > wrote:
Updating to 9125 threw these errors on a Centos based install:
-- Updating database/file schema
367 -> 368 # (php) Migrating groups to new format PHP Fatal error: Uncaught Error: Call to undefined function r() in /opt/observium/includes/groups.inc.php:738
Stack trace:
#0 /opt/observium/update/368.php(14): parse_qb_ruleset('port', Array)
#1 /opt/observium/includes/functions.inc.php(304): include('/opt/observium/...')
#2 /opt/observium/includes/update/update.php(143): include_wrapper('/opt/observium/...')
#3 /opt/observium/discovery.php(119): include('/opt/observium/...')
#4 {main}
thrown in /opt/observium/includes/groups.inc.php on line 738
Observium 18.3.9125 (23rd March 2018)
OS Linux 3.10.0-514.26.2.el7.x86_64 [amd64] (CentOS 7)
Apache 2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/7.0.25 SVN/1.7.14
PHP 7.0.25 (OPcache: ENABLED)
Python 2.7.5
MySQL 5.5.56-MariaDB (extension: mysqli 5.5.56-MariaDB)
SNMP NET-SNMP 5.7.2
RRDtool 1.6.0
Any tips?
On Sat, Mar 24, 2018 at 10:39 AM, Adam Armstrong <adama@memetic.org mailto:adama@memetic.org > wrote:
Hi,
The groups matching system has recently been rewritten. Please update to the latest SVN :)
(This might be difficult if you chose to use the stable branch, since these changes aren't in stable yet)
Adam.
Sent from BlueMail http://www.bluemail.me/r?b=12512
On 23 Mar 2018, at 23:16, mal@platinumnetworks.com.au mailto:mal@platinumnetworks.com.au wrote:
Hey all – probably a dumb newbie questions so apologies…
I am trying to define groups based on the contents of the port description. I am using this as a training ground before I move on to alert checkers!
I have edited the port description to include L3 and I can see that Observium is retrieving the port descriptions correctly however I do not seem to be able to define a group correctly.
I have created a group as below:
i.e. Based on containing “L3” in the port description add to the group.
I can confirm that there are 15+ devices containing “L3” – example…
If I do a search on ports containing L3 I retrieve the full list of devices.
I originally thought I had made the query too tight but I’ve tried a number of broad combinations and never seem to have any members found.
I am using 18.3.9073 (3rd March 2018).
What am I missing? 😊
Cheers
Mal
_____
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 mailto:observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
_______________________________________________ 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 mailto:observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
participants (5)
-
Adam Armstrong
-
Adam Armstrong
-
mal@platinumnetworks.com.au
-
McDonald Richards
-
Ron Marosko