Code Monkey home page Code Monkey logo

icingaweb2-module-eventtracker's People

Contributors

lippserd avatar swizzly avatar thomas-gelf avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

icingaweb2-module-eventtracker's Issues

Remove dependency to pdo_dblib

pdo_dblib requires freetds as depencendency. On current operatingsystems (e.g. SLES 15 SP3) neither pdo_dblib nor freetds is available via packages.

Environment

Eventtracker: v0.9.0
PHP: 7.4.6

Background Daemon

Tasks

  • Deal with issue expiration
  • Periodically sync SCOM issues
  • Periodically sync Icinga issues

Requirements

  • Implement SystemD integration
  • Deal with DB failures
  • Detect DB config changes

Change default severities for BMC Event Manager

Severity order in BEM is WARNING MINOR < MAJOR < CRITICAL, while Syslog uses NOTICE < WARNING < CRITICAL < ALERT < EMERGENCY. As both of them use CRITICAL, but BMC Event Manager having two additional severities between them, while Syslog has none (but two above CRITICAL) made the existing mapping confusing. So we opted for NOT keeping "CRITICAL" (the wording) consistent, but instead looking for a mapping trying to be as "linear" as possible.

As a result of this conclusion, the default mapping changes from:

[msend-severity-map]
CRITICAL      = alert
MAJOR         = critical
MINOR         = error
WARNING       = warning
INFORMATIONAL = informational
INFO          = informational
NORMAL        = informational
OK            = informational

...to:

[msend-severity-map]
MAJOR         = alert
CRITICAL      = critical
MINOR         = error
WARNING       = warning
INFORMATIONAL = informational
INFO          = informational
NORMAL        = informational
OK            = informational

SCOM Alerts tab doesn't work with PHP 7.4.6

After updating from PHP 7.2.5 to PHP 7.4.6 the "SCOM Alerts" tab doesn't work any more, although pdo_dblib was adjusted. All other tabs work as expected.

scom_alerts

Environment

Eventtracker: v0.9.0
PHP: 7.4.6

after update php7 -> php8: "Sync (scom): The dblib driver is not currently installed"

also re-compiling the PHP-connector didn't help here:

freetds-config-1.3.18-150400.89.1.x86_64.rpm
freetds-devel-1.3.18-150400.89.1.x86_64.rpm
freetds-doc-1.3.18-150400.89.1.x86_64.rpm
freetds-tools-1.3.18-150400.89.1.x86_64.rpm
libct4-1.3.18-150400.89.1.x86_64.rpm
libsybdb5-1.3.18-150400.89.1.x86_64.rpm
libtdsodbc0-1.3.18-150400.89.1.x86_64.rpm

zypper in lib*.rpm
zypper in freetds*.rpm

cd php-8.0.29/ext/pdo_dblib/
/tmp/php-8.0.29/ext/pdo_dblib # phpize
./configure --with-php-config=/usr/bin/php-config --with-pdo-dblib=/usr--with-libdir=lib64
make
make install

Am I missing something?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.