I have Docker for windows with default docker containers going to Kubernetes.
I also want to save some of that data (K8S by design blows up everything every pod launch)
SO I exported all your dirs to my WINDOWS file system.
FIRST ISSUE : Windows no likey named pipes or sockets.
You have to move nagios.qh and nagios.cmd inside the container - I put mine in /opt/nagios/
SECOND ISSUE: Nagios graph won't work because the ngshared.pm moves the /opt/nagios/var/perfdata.log file to perfdata.log.nagiosgraph
WINDOWS no likey the extra extension.
Changing ngshared.pm to use a _ vs a . did the trick for me.
my $worklog = $fn . '_nagiosgraph';
Other than Windows being stupid.. great container - thanks
OK Windows is stupid.
I have Docker for windows with default docker containers going to Kubernetes. I also want to save some of that data (K8S by design blows up everything every pod launch) SO I exported all your dirs to my WINDOWS file system.
FIRST ISSUE : Windows no likey named pipes or sockets. You have to move nagios.qh and nagios.cmd inside the container - I put mine in /opt/nagios/
SECOND ISSUE: Nagios graph won't work because the ngshared.pm moves the /opt/nagios/var/perfdata.log file to perfdata.log.nagiosgraph WINDOWS no likey the extra extension. Changing ngshared.pm to use a _ vs a . did the trick for me. my $worklog = $fn . '_nagiosgraph';
Other than Windows being stupid.. great container - thanks