tronyx / docker-nagios Goto Github PK
View Code? Open in Web Editor NEWThis project forked from jasonrivers/docker-nagios
Docker image for Nagios
License: MIT License
This project forked from jasonrivers/docker-nagios
Docker image for Nagios
License: MIT License
Describe the issue/bug
Building docker container on
Linux pi-docker-2 5.10.63-v8+ #1496 SMP PREEMPT Wed Dec 1 15:59:46 GMT 2021 aarch64 GNU/Linux
Arch - aarch64
During make of git clone https://github.com/NagiosEnterprises/nsca.git
I get UNAME_MACHINE = aarch64
UNAME_RELEASE = 5.10.63-v8+
UNAME_SYSTEM = Linux
UNAME_VERSION = #1496 SMP PREEMPT Wed Dec 1 15:59:46 GMT 2021
configure: error: cannot guess build type; you must specify one
To Reproduce
run docker build .
Expected behavior
Successful build.
Actual behavior
Build fails.
More context
Is it an out of date ./configure-guess?
Cloning into 'nsca'...
HEAD is now at 824f4ea Merge pull request JasonRivers#40 from NagiosEnterprises/maint
checking for a BSD-compatible install... /usr/bin/install -c
checking build system type... ./config.guess: unable to guess system type
This script, last modified 2006-12-08, has failed to recognize
the operating system you are using. It is advised that you
download the most up to date version of the config scripts from
http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.guess
and
http://savannah.gnu.org/cgi-bin/viewcvs/*checkout*/config/config/config.sub
If the version you run (./config.guess) is already up to date, please
send the following data and any information you think might be
pertinent to [email protected] in order to provide the needed
information to handle your system.
config.guess timestamp = 2006-12-08
uname -m = aarch64
uname -r = 5.10.63-v8+
uname -s = Linux
uname -v = #1496 SMP PREEMPT Wed Dec 1 15:59:46 GMT 2021
/usr/bin/uname -p = aarch64
/bin/uname -X =
hostinfo =
/bin/universe =
/usr/bin/arch -k =
/bin/arch = aarch64
/usr/bin/oslevel =
/usr/convex/getsysinfo =
UNAME_MACHINE = aarch64
UNAME_RELEASE = 5.10.63-v8+
UNAME_SYSTEM = Linux
UNAME_VERSION = #1496 SMP PREEMPT Wed Dec 1 15:59:46 GMT 2021
configure: error: cannot guess build type; you must specify one
Describe the issue/bug
Nagios returns "HOST ALERT: **** ;DOWN;HARD;10;CRITICAL - Could not interpret output from ping command"
To Reproduce
Standard use.
Expected behavior
Nagios should be able to interpret the output from the ping command
Actual behavior
A clear and concise description of what is actually happening
Screenshots/CLI Output
If applicable, add screenshots or CLI output to help explain your problem.
Additional context
Solution is the following command: chmod u+s /bin/ping
Hi, in your docker container missing this plugin
http://nagios-plugins.org/doc/man/check_by_ssh.html
You have idea how to resolve?
Original "jasonrivers/nagios" it have and work.
Thanks
NG_NAGIOS_CONFIG_FILE and other environment variables referencing other set variables in the ENV instruction on line 6 of the Dockerfile do not have access to the referenced NAGIOS_HOME variable.
To Reproduce
Steps to reproduce the behavior:
Build the container, exec into the container and echo NG_NAGIOS_CONFIG_FILE, NG_CGI_DIR, or NG_WWW_DIR
Environment variables should be separated as follows
# Environment variables
ENV NAGIOS_HOME=/opt/nagios \
NAGIOS_USER=nagios \
NAGIOS_GROUP=nagios \
NAGIOS_CMDUSER=nagios \
NAGIOS_CMDGROUP=nagios \
NAGIOS_FQDN=nagios.example.com \
NAGIOSADMIN_USER=nagiosadmin \
NAGIOSADMIN_PASS=nagios \
APACHE_RUN_USER=nagios \
APACHE_RUN_GROUP=nagios \
NAGIOS_TIMEZONE=UTC \
DEBIAN_FRONTEND=noninteractive \
NG_CGI_URL=/cgi-bin \
NAGIOS_BRANCH=nagios-4.4.6 \
NAGIOS_PLUGINS_BRANCH=release-2.3.3 \
NRPE_BRANCH=nrpe-4.0.2 \
NSCA_TAG=nsca-2.10.0
ENV NG_NAGIOS_CONFIG_FILE=${NAGIOS_HOME}/etc/nagios.cfg \
NG_CGI_DIR=${NAGIOS_HOME}/sbin \
NG_WWW_DIR=${NAGIOS_HOME}/share/nagiosgraph
Describe the issue/bug
None of the cgi calls from Nagiosgraph are accessible through HTTP
To Reproduce
http://host:8080/nagios/cgi-bin/show.cgi
http://host:8080/nagios/cgi-bin/showconfig.cgi
Expected behavior
http://host:8080/nagios/cgi-bin/show.cgi should not return 404
http://host:8080/nagios/cgi-bin/showconfig.cgi should not return 404
Actual behavior
A clear and concise description of what is actually happening
Screenshots/CLI Output
Additional context
Looks like the cgi files are installed in /usr/sbin instead of /opt/nagios/sbin
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.