-
Notifications
You must be signed in to change notification settings - Fork 253
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Nagiosgraph not working v2 #125
Comments
I ran the container without the volume binds and copied the contents to nagiosgraph, then stopped that container and started again with all the options, and its fixed. |
So you did some docker cp ... then docker stop 'name' and then docker run 'with all options' ? |
Hi @duckmysick01 that was over an year ago I don't remember at all, I'm sorry. |
I made it work, no problem. |
How to fix? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yeaa there is some issue with perl path like /usr/local/lib/x86_64-linux-gnu/perl/5.22.1 ...etc.
The workaround is to reinstall NagiosGraph. Here is how you can do that:
Start your container with volumes
#Enter your container
docker exec -it nagios4 /bin/bash
#Clean /opt/nagiosgraph folder --- you will receive ...etc and ... var are busy dont worry.
rm -rf /opt/nagiosgraph
#Build your NagiosGraph --- you dont need to download it its already there just reinstall it.
cd /tmp/nagiosgraph &&
./install.pl --install
--prefix /opt/nagiosgraph
--nagios-user ${NAGIOS_USER}
--www-user ${NAGIOS_USER}
--nagios-perfdata-file ${NAGIOS_HOME}/var/perfdata.log
--nagios-cgi-url /cgi-bin
&&
cp share/nagiosgraph.ssi ${NAGIOS_HOME}/share/ssi/common-header.ssi
No errors anymore.
Originally posted by @vhristev in #67 (comment)
Hi there, this doesn't work for me using the latest image available at this date:
Suggestions? thanks
The text was updated successfully, but these errors were encountered: