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
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