Code Monkey home page Code Monkey logo

Comments (7)

saytik avatar saytik commented on July 20, 2024

don't have this problem with 4.4.1 version. Rollback to 4.4.1

from docker-nagios.

saytik avatar saytik commented on July 20, 2024

Hi Jason,

When will image with nagios core 4.4.3 be available ?
(nagios core 4.4.3 has bugfix with notification fromservice soft state)
Thanks

from docker-nagios.

saytik avatar saytik commented on July 20, 2024

as i see 4.4.3 can be used with latest tag, cool.
Also, i have found the problem with check_icmp, need to use check_ping instead ...
In my template was set:
check_command check-host-icmp
I have fixed back to check-host-alive, where check_ping is used.

from docker-nagios.

JasonRivers avatar JasonRivers commented on July 20, 2024

The :latest image is running 4.4.3, I don't tag the version on dockerhub until the following version, so the "latest" should always be the latest version, There's no real reason for not tagging at release time, other than I do maintenance between, so would just create a merge when I bump the version.

Let me know if this solves your issue!

from docker-nagios.

saytik avatar saytik commented on July 20, 2024

I have solved by switching check_icmp to check_ping.
But the command check_icmp has no problem with version 4.4.1, and the problem is in 4.4.2 and latest

4.4.1:

$ ls -la /opt/nagios/libexec/check_icmp
-rwsr-xr-x 1 nagios nagios 271424 Jan 23 12:35 /opt/nagios/libexec/check_icmp
$ sudo -u nagios -i /opt/nagios/libexec/check_icmp -H 127.0.0.1
OK - 127.0.0.1: rta 0.039ms, lost 0%|rta=0.039ms;200.000;500.000;0; pl=0%;40;80;; rtmax=0.058ms;;;; rtmin=0.031ms;;;;

latest:

$ ls -la /opt/nagios/libexec/check_icmp
-r-xr-xr-x 1 nagios nagios 271424 Jan 23 12:35 /opt/nagios/libexec/check_icmp
$ sudo -u nagios -i /opt/nagios/libexec/check_icmp -H 127.0.0.1
Warning: This plugin must be either run as root or setuid root.
To run as root, you can use a tool like sudo.
To set the setuid permissions, use the command:
chmod u+s yourpluginfile
check_icmp: Failed to obtain ICMP socket: Operation not permitted

chmod u+s /opt/nagios/libexec/check_icmp doesn't helps

from docker-nagios.

viperk1 avatar viperk1 commented on July 20, 2024

Can't believe this problem is still around, lol. @JasonRivers has there been any update on getting the check_icmp fixed? I can change the permissions inside the container and it works for a while, but I can't get it to work from a fresh create.

from docker-nagios.

digin1 avatar digin1 commented on July 20, 2024

@sayik Your check_icmp is still owned by nagios. Change it to root.
chown root.root check_icmp

from docker-nagios.

Related Issues (20)

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.