pierrecdn / phpipam

phpIPAM Docker image
GNU Lesser General Public License v3.0
94 stars 111 forks source link

unable to icmp scan. #22

Closed pageb018 closed 6 years ago

pageb018 commented 6 years ago

When trying to run any ping scan from the local agent, I get a JSON error.

"Invalid JSON response - JSON_ERROR_SYNTAX"

piteralt commented 6 years ago

I too!

pierrecdn commented 6 years ago

Hi, Thanks for the report. Could you give me more context?

Thanks,

pageb018 commented 6 years ago

So I am running 1.3.2 (updated via docker pull after initial install via Docker Compose yesterday. I am a bit of a novice when it comes to Docker, but to me it seems like a container issue. The reason I installed via docker is to move away from my full version running on a VM. I am running 1.3.2 on the full install as well and ICMP ping works just fine.

I have attached a screen shot of the exact error. screen shot 2018-07-06 at 8 43 21 am

pageb018 commented 6 years ago

I can try to set up another container instance using 1.3.1. I will report back.

pageb018 commented 6 years ago

Confirmed it is an issue with 1.3.2.

The scan agent works correctly in 1.3.1.

rubencode commented 6 years ago

We are having the same issue... ping and fping are not present in the container... Would it be possible to add ping/fping to the docker file?

pierrecdn commented 6 years ago

Hi,

This should be fixed by 8ef7c15, in which I add iputils-ping. To keep the project in sync with phpipam version, I updated the tag so please docker pull.

Thanks for the reports, tell me if something is still not working.