GithubHelp home page GithubHelp logo

consol-monitoring / omd Goto Github PK

View Code? Open in Web Editor NEW
168.0 168.0 34.0 12.5 GB

OMD - Open Monitoring Distribution Labs Edition. Der deutschsprachige Open-Source-Monitoring-Workshop findet am 16./17.5.2024 in Neckarsulm statt. https://discord.gg/jDfPZ63FcJ

Home Page: http://omd.consol.de

License: GNU General Public License v2.0

Shell 44.23% Makefile 5.17% Python 14.14% PHP 3.48% Perl 16.35% Smarty 2.14% Batchfile 0.11% JavaScript 7.57% CSS 4.87% Roff 1.15% HTML 0.54% Dockerfile 0.02% PowerShell 0.09% Jinja 0.15%

omd's People

Contributors

ahaerpfer avatar bastian-kuhn avatar datamuc avatar dg7pc avatar emanuel-bs avatar firegore avatar flackem avatar griesbacher avatar hiasg avatar htgoebel avatar infraweavers avatar juanjo-vlc avatar larsmichelsen avatar lausser avatar lgmu avatar m-kraus avatar m4c3 avatar mathiaskettner avatar nils-ballmann avatar pbiering avatar pfuender avatar rhuss avatar sni avatar swobspace avatar thiagomenezesabreu avatar ulikl avatar yogibaer75 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

omd's Issues

omd labs edition 2.40 can't be installed on Raspberry Pi 3 running Raspbian stretch

Since armhf packages are missing from both stable and testing repositories matching debian stretch, we have no chance in installing omd labs edition on a Rpi 3 running Raspbian Stretch (2017-09-07).

armhf packages are available in jessie, but they won't install on stretch due to missing dependencies (packages that were already updated in stretch beyond the needed versions in jessie).

Since downgrading to an older raspbian jessie image is quite nonsense (and close to impossible since the foundation doesn't even offer a download for jessie anymore), are there any plans to populate the stretch repos with needed armhf packages?

Thanks for your help in advance.

Can't log in Thrunk after fresh install and site

Hello,

I installed OMD on a CentOS Linux release 7.3.1611 (Core), created a new site, configured it to listen to 0.0.0.0:5000 without SSL and started it. When I go to http://{ip}:5000/t2/thruk, login with omd default user and password return:

technical problem during login, please have a look at the logfiles.

var/log/apache/error_log says:

auth: expected code 401, got 500
$VAR1 = bless( {
                 '_content' => 'Can\'t connect to localhost:80 (Connection refused)

LWP::Protocol::http::Socket: connect: Connection refused at /omd/sites/t2/lib/perl5/lib/perl5/LWP/Protocol/http.pm line 47.
',
                 '_headers' => bless( {
                                        '::std_case' => {
                                                          'client-date' => 'Client-Date',
                                                          'client-warning' => 'Client-Warning'
                                                        },
                                        'client-date' => 'Wed, 29 Mar 2017 12:27:27 GMT',
                                        'client-warning' => 'Internal response',
                                        'content-type' => 'text/plain'
                                      }, 'HTTP::Headers' ),
                 '_msg' => 'Can\'t connect to localhost:80 (Connection refused)',
                 '_rc' => 500,

Any idea of what is happening and how to solve it ?

Best regards,

Failed migrate_pnp_to_nagflux

Hi,
trying to start the programme just fails with:
Ready to start import of 56 files to /omd/sites/prod/var/pnp4nagios/spool.
Make sure pnp4nagios is stopped or does not read from that spool folder.
Press Ctrl+C to cancel.

01/56 exporting from var/pnp4nagios/perfdata/_/Router_PING.xml
-> /usr/local/pnp4nagios/var/perfdata/
_
/Router_PING.rrd
http error : Operation in progress
http error : unreachable network

What I find quite strange is, that when I start the script, a new port is opened. Netstat shows:
tcp 0 1 omd.****.co.at:57277 james.oetiker.ch:http SYN_SENT

The perl script migrate_pnp_to_nagflux is executing until line 103 :
my $doc = XML::LibXML->load_xml(string => $raw);
Could someone of you find out what the issue is?

Log Rotate for influxDB not working

Hi,
just found something regarding influx DB log rotation.
Within omd/packages/influxdb/skel/etc/logrotate.d/influxdb
you should remove the
postrotate
###ROOT###/bin/omd reload influxdb > /dev/null
endscript
and replace it with
copytruncate
The reload doesn't work for this service... I only causes, that no log file is written until restart.

Distro not supported

Trying to install the latest version but its giving me the following error

You are running on CENTOS_1
This distrobution is not supported. You might succeed anyway. Good luck.

The cat /etc/redhat-release its calling in the script shows "CentOS Linux release 7.1.1503"

Any suggestions on making this run?

omd-2.20-labs-edition not installable on debian stretch

OS distribution: Debian stretch

Content of sources list:

# cat /etc/apt/sources.list
deb http://deb.debian.org/debian stretch main
deb http://deb.debian.org/debian stretch-updates main
deb http://security.debian.org stretch/updates main

# cat /etc/apt/sources.list.d/labs-consol-stable.list
deb http://labs.consol.de/repo/stable/debian stretch main

Trying to install omd after apt-get update:

# apt-get install omd-2.20-labs-edition
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 omd-2.20-labs-edition : Depends: libboost-atomic1.61.0 but it is not installable
                         Depends: libboost-chrono1.61.0 but it is not installable
                         Depends: libboost-date-time1.61.0 but it is not installable
                         Depends: libboost-program-options1.61.0 but it is not installable
                         Depends: libboost-system1.61.0 but it is not installable
                         Depends: libboost-regex1.61.0 but it is not installable
                         Depends: libboost-thread1.61.0 but it is not installable
                         Depends: libicu55 but it is not installable
                         Depends: libreadline6 but it is not installable
E: Unable to correct problems, you have held broken packages.

A brief check on https://packages.debian.org shows that libboost-atomic1.61.0
is available only for sid distribution, while libboost-atomic1.62.0 is the
package version for stretch.

Please take a look at the correspondencies between OS version and packages.

Fresh installed OMD labs stable: check_mk issues

List of services started:

omd start
Starting influxdb..............OK
Starting Grafana...OK
Starting Nagflux...OK
Starting naemon...OK
Starting dedicated Apache for site testing...OK
Initializing Crontab...OK

Issue: Missing column in DB

screen shot 2015-12-02 at 2 48 40 a m

screen shot 2015-12-02 at 2 47 14 a m

Unable to visualize host/services/hostgroups/etc. Found out that this is a duplicate of #4. This is a fresh server with fresh installed OMD Version 2.10-labs-edition. #### Issue: Missing directories for naemon

screen shot 2015-12-02 at 1 52 01 a m

This makes impossible to create hosts.

Workaround:

mkdir -p /usr/local/var/log/naemon/
mkdir -p /usr/local/var/spool/checkresults
chmod 777 -R /usr/local/var

Core needs to be reloaded when config objects

I have upgraded my previous omd 1.20 monitoring server to a new one with omd-labs-edition 2.60.
The configuration is working fine and monitoring is done, but my problem is when I try to modify configuration (in any of my omd sites) from thruk interface.
The configuration change is done, but when I try to apply or check the configuration change ar error message is displayed saying config check failed ! and putting the mouse over it displays Core needs to be reloaded.
I have checked the configuration from commandline with ~/etc/init.d/nagios checkconfig, but no error is displayed and if I manually reload nagios (from commandline) it is reloaded without any problem.
Any help?

omd-newcores rpm

Is no longer present the last omd-nc.xxxxxx.rpm on testing/rhel repository.

Problem with Business Process

I have a problem with the business process, I have omd labs 2.80. When i try create a BP in thruk, this do all fine but, don´t create the host or the service for that i can see this in icinga. I create the BP, I save the changes, but I do not know can see the host that has to create anywhere.

The message says:
"This service does not exist...
If you believe this is an error, check your monitoring configuration and make sure all backends are connected."

but the backend configuration is auto, I tried to change it to the IP and the livestatus port, but the error is the same.

Email notification turns to an attached file which named ATT00001.bin

Env:

  • centos 7 / omd-2.10
  • Exchange 2013

notify-by-email templates specify both content type and content transfer encoding as

Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit

But mail command on CentOS doesn't recognize these directives. So when notify-by-email.pl script runs, I get:

Ignoring header field "Content-Type: text/plain; charset=utf-8"
Ignoring header field "Content-Transfer-Encoding: 8bit"

But some hardware return output with non ascii characters.

These emails are then received by Exchange like that:
Content-Type: application/octet-stream
Content-Transfer-Encoding: 8bit

and body as an attachment.

Login Page

Hi,

I have used check_mk cme edition previously, but after going through labs.consol.de i was impressed with new features.

I request you to add login page which i feel missing in labs.consol.de edition of OMD.

I really appreciate if you can provide login page.

Thanks and Regards,
Kiran Reddy

Problems with building 2.20 on armhf

When I try to build version 2.20 on armhf platform I get the following error with pymssql. The command I use is

make deb:

setup.py: platform.libc_ver() => ('glibc', '2.4')
setup.py: Using bundled FreeTDS in /tmp/omd-2.20-labs-edition/packages/python-modules/dest/pymssql-2.1.3/freetds/nix_32
setup.py: include_dirs = ['/tmp/omd-2.20-labs-edition/packages/python-modules/dest/pymssql-2.1.3/freetds/nix_32/include', '/usr/local/include']
setup.py: library_dirs = ['/tmp/omd-2.20-labs-edition/packages/python-modules/dest/pymssql-2.1.3/freetds/nix_32/lib', '/usr/local/lib']

Installed /tmp/omd-2.20-labs-edition/packages/python-modules/dest/pymssql-2.1.3/.eggs/setuptools_git-1.1-py2.7.egg
running build
running build_ext
building '_mssql' extension
creating build
creating build/temp.linux-armv7l-2.7
arm-linux-gnueabihf-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/tmp/omd-2.20-labs-edition/packages/python-modules/dest/pymssql-2.1.3/freetds/nix_32/include -I/usr/local/include -I/usr/include/python2.7 -c _mssql.c -o build/temp.linux-armv7l-2.7/_mssql.o -DMSDBLIB
_mssql.c: In function ‘init_mssql’:
_mssql.c:24578:3: warning: this decimal constant is unsigned only in ISO C90
__pyx_v_6_mssql_MIN_INT = -2147483648;
^
creating build/lib.linux-armv7l-2.7
arm-linux-gnueabihf-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-z,relro -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security build/temp.linux-armv7l-2.7/_mssql.o -L/tmp/omd-2.20-labs-edition/packages/python-modules/dest/pymssql-2.1.3/freetds/nix_32/lib -L/usr/local/lib -lsybdb -lrt -o build/lib.linux-armv7l-2.7/_mssql.so
/usr/bin/ld: skipping incompatible /tmp/omd-2.20-labs-edition/packages/python-modules/dest/pymssql-2.1.3/freetds/nix_32/lib/libsybdb.a when searching for -lsybdb
/usr/bin/ld: cannot find -lsybdb
collect2: error: ld returned 1 exit status
error: command 'arm-linux-gnueabihf-gcc' failed with exit status 1
Makefile:68: recipe for target 'build' failed
make[2]: *** [build] Error 1

Is there a package missing?

Error on sharing Grafana Panel

Wenn man dem "Direct link rendered image" zum Sharen der Grafik nutzt, kommt nur:

Server side error :( Failed to render to png

Im grafana.log steht:
t=2017-04-05T15:21:37+0200 lvl=eror msg="Failed to update dashboard json index [lstat /omd/sites/datacenter/var/grafana/dashboards: no such file or directory]"

Check_MK 1.4

Is it possible to update Check_MK to the new stable version?

OMD with Grafana does not show bandwidth Info

Hi,

I installed OM 2.7 with thruk, check_mk and grafana.
However when i tried to look at the interface traffic graphs, i get the info in packets not the bandwidth as bits/sec.

If i use pnp4nagios, it works fine.

Please suggest on how to fix this.

live status patch not working on nightly build

Does the nightly build compile the patches that are added . i have been using the current nightly build 2.21.20170513-labs-edition but i still get the error on live status when using naemon or icinga2 core for not having column names.

274e45e

Can you check on this please.

image

image

On Ubuntu 16 with omd 2.70: omd init.d script missed by omd setup

Activating init script for "omd"
Going to execute 'update-rc.d omd defaults'
update-rc.d: error: initscript does not exist: /etc/init.d/omd
ERROR

There is however an /etc/init.d/omd-2.70-labs-edition, but symlinking that to omd doesn't do it:

Activating init script for "omd"
Going to execute 'update-rc.d omd defaults'
insserv: script omd is a symlink to another script, skipped!

Copying that to omd doesn't work either:

Activating init script for "omd"
Going to execute 'update-rc.d omd defaults'
insserv: script omd: service omd-2.70-labs-edition already provided!
insserv: exiting now!
update-rc.d: error: insserv rejected the script header
ERROR

Having no prior experience with omd setup, should I expect it has done enough despite this?

HTTP:X-Forwarded-Port is not considered

I'm using an ubuntu xenial based docker container. I realized that X-Forwarded-Proto is considered when reverse proxying (and SSL-wrapping) the container through an apache on the docker host. But X-Forwarded-Port is not.

I could fix my setup by adding the following patch to /omd/sites/<site>/etc/apache/conf.d/omd.conf

--- omd.conf.orig       2018-04-12 13:08:28.805630622 +0200
+++ omd.conf    2018-04-11 19:16:47.666596090 +0200
@@ -12,7 +12,12 @@
 RewriteCond %{HTTPS} =on
 RewriteRule ^/monitor/?$ - [env=proto:https]

-RewriteRule ^/monitor/?$ %{ENV:proto}://%{SERVER_NAME}:%{SERVER_PORT}/monitor/omd/ [R=302]
+RewriteRule ^/monitor/?$ - [env=port:%{SERVER_PORT}]
+
+RewriteCond %{HTTP:X-Forwarded-Port} !=""
+RewriteRule ^/monitor/?$ - [env=port:%{HTTP:X-Forwarded-Port}]
+
+RewriteRule ^/monitor/?$ %{ENV:proto}://%{SERVER_NAME}:%{ENV:port}/monitor/omd/ [R=302]

 # Keep original redirect as fallback, rewrite rules do no work in shared apache mode
 RedirectMatch ^/monitor$  /monitor/omd/

As you see, my site is called monitor. I think this file is generated on site creation. So please consider using X-Forwarded-Port in your site creation code. It checks if X-Forwarded-Port is available for usage and falls back to SERVER_PORT when not. As you may see, the .conf.orig is newer than the .conf, so I'm not completely sure if the patch fits. I tried to recreate the original file.

As this file resides in folders persisted in volumes this change is for me a single re-configuration issue, but the generating code should be enhanced too.

WebGUI Config

Hi i configured the site to start with the check_mk gui but i will get always the thruk gui first. After Login the check_mk gui login appears.

How could i change the default gui from thruk to check_mk ?

I use it on an Raspberry PI 3

Raspian

Distributor ID: Raspbian
Description: Raspbian GNU/Linux 8.0 (jessie)
Release: 8.0
Codename: jessie

OMD Version

OMD - Open Monitoring Distribution Version 2.10-labs-edition

mobile interface broken

Hello,

Version 1.85-20141009
OMD 1.21-nc.20141009
(from consol repo)

Mobile interface broken and unresponsive. (when clicking anything - just refreshes the page)
Attaching an image.
mobile

How to consistently bump the version when compiling from source

I am trying to upgrade existing OMD 1.20 sites to more update OMD version by compiling from source (issues found in #16).

The build process creates new package with version 1.20, which clashes the version number with the current installed sites. Therefore, I modified the file Makefile.omd, set the variable OMD_VERSION to '1.26' and the new package was succcessfuly built and installed.

Nevertheless, update a site omd stop site && omd update site was not working (unmount tmpfs enters in infinite loop).

The reason was because the omd script as the version hardcoded:

grep OMD_VERSION /opt/omd/versions/1.26/bin/omd | head -n 1

OMD_VERSION = "1.20"

Manually changed to "1.26" and the upgrade was successful.

Is there a easier way to make this process simpler, like make OMD_VERSION='1.26'? Or I need to manually update both Makefile.omd and omd before running ./configure?

`omd reload crontab` should ignore editor backup files

When rebuilding an OMD site crontab via omd reload crontab backup files in etc/cron.d with names matching *~ (created by the Emacs editor) are not ignored which leads to duplicate entries in the resulting crontab.

I suppose the same might happen with automatic backups as created by other editors.

[OMD 2.20-labs-edition]

Compite from source issues

I followed this tutorial http://omdistro.org/doc/compile_from_source. I used a plain Vagrant trusty 64 box with 1GB of ram.

make

This command failed because dnsutils was missing. fix : aptitude install dnsutils

omd start prod

Starting rrdcached...OK
Starting npcd...OK
Starting nagios...OK
Starting dedicated Apache for site prod...apache2: Syntax error on line 223 of /omd/sites/prod/etc/apache/apache.conf: Syntax error on line 2 of /omd/sites/prod/etc/apache/conf.d/02_fcgid.conf: Cannot load /usr/lib/apache2/modules/mod_fcgid.so into server: /usr/lib/apache2/modules/mod_fcgid.so: cannot open shared object file: No such file or directory
..........ERROR
Initializing Crontab...OK

fix : aptitude install libapache2-mod-fcgid

make deb

Possible documentation improvement. Necessary to define variablesDEBFULLNAME and DEBEMAIL before running the command.

Question: Is there a way to see when a

Hello,
First of all, I must say OMD is awesome. I just have a small question - Is there a way to see when a Notification has been enabled or disabled and by which user on the check_mk console or any log files (on CentOS) ? Thanks in advance.
Regards.

omd-nc rpm

Is no longer present in omd-nc.xxxxxx.rpm on testing/rhel repository.

check_mk lacks database fields

omd-newcores-2.00:

Livestatus problem: Unhandled exception: 400: Table 'hosts' has no column 'host_comments_with_extra_info'

Livestatus problem: Unhandled exception: 400: Table 'services' has no column 'service_comments_with_extra_info'

Add SLES 12 SP3 packages

Hi,
will you add package for SLES12 SP3? If I want to build OMD-Labs from source, procedure is same:
#> git clone https://github.com/ConSol/omd.git
#> cd omd
#> ./configure
#> make && make rpm

Of course before run .\configure create Makefile.SLES_12SP3 in distros folder.

Thanks,
Jan

omd-nc 1.11 issue with livestatus while using multi-site

I am using centos 6.3 32 bit and used the build omd-nc-1.11.20140702.rhel6.i386.rpm
I am getting the following error while using multisite
Livestatus problem: Unhandled exception: 400: Table 'hostsbygroup' has no column 'host_comments_with_extra_info'

Do I need to patch it?

Thanks
Ashish

Radius conflict


Transaction check error:
  file /etc/raddb from install of freeradius-3.0.13-8.el7_4.x86_64 conflicts with file from package pam_radius_auth-1.3.17-8.el7.x86_64

How can I keep using PAM Radius?

Missing libnaemon.so.0

omd-newcores-2.00
ubuntu trusty
upgraded from OMD 1.21
changed from nagios-core 3.5.0 to naemon:


# /omd/sites/foo/bin/naemon -V
/omd/sites/foo/bin/naemon: error while loading shared libraries: libnaemon.so.0: cannot open shared object file: No such file or directory

Graphana light theme hardcoded

Hello,

I know that the light theme is harcoded on Grafana and that i can append theme=dark on the URL to change it, but i'm having some issues while playing thourgh a playlist.

I put the theme=dark on the playlist page and click on Play, so the dashboards began to rotate with the dark theme, but after a while the browser auto-refresh the page and then the theme=dark is gone and the dashboards starts to display in light theme.

Is there a way for me to change this behaviour? Sorry for the lack ok knowledge, but can i recompile Grafana without the hardcoded theme and without broking anything on OMD?

Thanks!
Thiago

Upgrade OMD 1.2 to OMD 2.6 considering

Hi OMD team,

I am collecting information to make a plan to upgrade OMD 1.2 to OMD 2.6.
I have a couple of questions as below:
-Is it possible to upgrade existing OMD 1.2 to 2.6? Is there any document for upgrade steps?
-Why is Nagios Core still 3.5.1 but not 4.x.x in OMD 2.6
-Do i need to upgrade Check_MK, Java to compatible with OMD 2.6?
Thanks and regards!
Ninh

DBD + MSSQL does not appear to work in OMD Labs 2.40

Hello,

Using ./check_mssql_health under OMD-Labs 2.40 on Debian Jessie appears to be broken, All attempts to connect to an MSSQL Server result in Adaptive Server connection failed;

It looks like the libct isn't quite compiled consistently with the Debian Jessie released package:

rob@box:/usr/lib/x86_64-linux-gnu$ ldd libct.so.4
        linux-vdso.so.1 (0x00007ffd6313e000)
        libgssapi_krb5.so.2 => /usr/lib/x86_64-linux-gnu/libgssapi_krb5.so.2 (0x00007fadc7219000)
        libgnutls-deb0.so.28 => /usr/lib/x86_64-linux-gnu/libgnutls-deb0.so.28 (0x00007fadc6efa000)
        libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007fadc6cf6000)
        libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007fadc6ad9000)
        libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fadc672e000)
        libkrb5.so.3 => /usr/lib/x86_64-linux-gnu/libkrb5.so.3 (0x00007fadc645a000)
        libk5crypto.so.3 => /usr/lib/x86_64-linux-gnu/libk5crypto.so.3 (0x00007fadc6229000)
        libcom_err.so.2 => /lib/x86_64-linux-gnu/libcom_err.so.2 (0x00007fadc6025000)
        libkrb5support.so.0 => /usr/lib/x86_64-linux-gnu/libkrb5support.so.0 (0x00007fadc5e19000)
        libkeyutils.so.1 => /lib/x86_64-linux-gnu/libkeyutils.so.1 (0x00007fadc5c15000)
        libresolv.so.2 => /lib/x86_64-linux-gnu/libresolv.so.2 (0x00007fadc59fe000)
        libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007fadc57e3000)
        libp11-kit.so.0 => /usr/lib/x86_64-linux-gnu/libp11-kit.so.0 (0x00007fadc559d000)
        libtasn1.so.6 => /usr/lib/x86_64-linux-gnu/libtasn1.so.6 (0x00007fadc5389000)
        libnettle.so.4 => /usr/lib/x86_64-linux-gnu/libnettle.so.4 (0x00007fadc5157000)
        libhogweed.so.2 => /usr/lib/x86_64-linux-gnu/libhogweed.so.2 (0x00007fadc4f28000)
        libgmp.so.10 => /usr/lib/x86_64-linux-gnu/libgmp.so.10 (0x00007fadc4ca5000)
        /lib64/ld-linux-x86-64.so.2 (0x00007fadc76b9000)
        libffi.so.6 => /usr/lib/x86_64-linux-gnu/libffi.so.6 (0x00007fadc4a9c000)

vs the OMD version:

rob@box:/omd/versions/2.40-labs-edition/lib$ ldd libct.so.4
                linux-vdso.so.1 (0x00007fffd5374000)
                libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f30a9588000)
                libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f30a936b000)
                libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f30a8fc0000)
                /lib64/ld-linux-x86-64.so.2 (0x00007f30a99e0000)

Installing the libct4 package and symlinking /omd/versions/2.40-labs-edition/lib/libct.so.4 to /usr/lib/x86_64-linux-gnu/libct.so.4 makes it work again

Thanks,
Rob

Downtime API returning status 500 with "error": "Thruk found no backends"

Howdy,
I'm hitting https://omdsrv1/site3/api/downtime?host=myserver&comment=testing&duration=60
and getting an answer of:

{
    "status": 500, 
    "backends": [], 
    "params": {
        "comment": "test", 
        "duration": "60", 
        "host": "myserver"
    }, 
    "error": "Thruk found no backends", 
    "originating_ip": "10.0.10.33"
}

If I modify my URL to include a backend with: https://omdsrv1/site3/api/downtime?host=myserver&comment=testing&duration=60&backend=site3 I notice that the "backends" line still reads as an empty array with []. and my line is showing in the "params" section:

{
    "status": 500, 
    "backends": [], 
    "params": {
        "comment": "test", 
        "duration": "60", 
        "host": "myserver"
        "backend": "site3"    
    }, 
    "error": "Thruk found no backends", 
    "originating_ip": "10.0.10.33"
}

I have two OMD servers, and seven sites. I've tried all sorts of combinations to see if I can magically end with the right request, but no luck.
What am I missing??

omd-nc rpm

Is no longer present in omd-nc.xxxxxx.rpm on testing/rhel repository.

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.