Specific port required for HTTPS access

Specific port required for HTTPS access
0

#1

Ran into an issue with a IND script that uses HTTPS to the device. The device requires a special port number other than tcp/443 access the device via HTTPS. I'm not sure where in the script to add the specific port number for the script to use.


Where is the example below would I place the port number to be used?

Example script name device-cpu-statistics.ind

#! REMOTE::HTTP
url: "/Diagnostics/CPU/Statistics?stats_mode=0"
protocol: HTTPS

#2

As I recall, the special admin port is built into the platform and there is no need to specify this in the IND scripts.


If you are having issues connecting, you can do the following tests:

  1. If you have a firewall seperating Indeni and the BC device, view fw logs. Is it opened on the firewall?
  2. If telnet is enabled, can you telnet to it from the Indeni server over port 8082?
  3. scp sysinfo.out off indeni server and review output and test https access to Blue Coat from Indeni Server:
curl -k --user admin -o /tmp/sysinfo.out https://<bluecoatproxysgIP>:8082/sysinfo



#3

David,

Can you try changing the url as follow:




url: ":8082/Diagnostics/CPU/Statistics?stats_mode=0" 



#4

We identify the issue and we created a task to address it (IS-2929). I'll update once we will start working on this.


#5

new command-runner is avilable here:

s3://indeni-public/command_runner/command-runner-6.0.62_65.zip

#6

I think information got lost in translation here. Last status was that Julia asked me to check if the props was loaded, and they were. Neither command-runner nor the scripts using indeni server worked though.

/Patrik


#7

@Julia_Elikhis @Alon_Ashkenazi next steps so we can troubleshoot?


#8

@Alon_Ashkenazi @Julia_Elikhis @Patrik_Jonsson Ping again. Next step? Would like to see this working.


#9

I am waiting for an answer myself. :slight_smile:


#10

Hi @Patrik_Jonsson,
Did you get any error when running with command-runner? Maybe something like “Http response for port 8082 failed with status:…” or “No ports are configured”?
Is there an access log for the HTTP server on Blue Coat? We can check there is indeni-collector is reaching the HTTP server.

What is the indication that the IND is not working? Do you get and error, or the returned metrics are empty?


#11

Correct, no metrics was returned. There’s a Bluecoat device in the lab. Maybe you guys can look into it?


#12

No problem, I’ll look into it.


#13

Hi Patrik, we investigated this issue and it looks like the collector is using properly the configured HTTPS port, but the HTTPS response throws an error, a seen on interrogation (401). Are you using a BC device that is in our lab?

@Patrik_Jonsson @Shouky_Dan


#14

I’m not, but maybe Daniel is. I will ping him on slack.


#15

@Patrik_Jonsson This is working now. Our QA tested this successfully!