Monitoring Azure under Proxy

Hi,


We have a problem, in order to monitor our infrastructure (IT Security) Azure forces us to go to the internet through a proxy. We have requested such access but we do not see where to configure our proxy in lpar2rrd.

Both yum and OS global variables have been configured but are not queried by monitoring scripts.

They can help us? Is there a way to configure the proxy?


Thank you very much

greetings in advance

Comments

  • Hi,


    do you need to redirect REST API queries to the proxy on the operating system level, right?

  • If that is. When Azure monitoring is launched, you need to make use of the configured proxy.

  • Logs:

    /home/lpar2rrd/lpar2rrd/logs/error.log-azure

    Thu Sep 15 09:04:04 2022: ERROR: Can't handle login request, bad credentials? : Connection timed out

    Thu Sep 15 09:24:04 2022: ERROR: Can't handle login request, bad credentials? : Connection timed out

    Thu Sep 15 09:44:05 2022: ERROR: Can't handle login request, bad credentials? : Connection timed out

    Thu Sep 15 10:04:04 2022: ERROR: Can't handle login request, bad credentials? : Connection timed out

    Thu Sep 15 10:24:05 2022: ERROR: Can't handle login request, bad credentials? : Connection timed out

    ...

    /home/lpar2rrd/lpar2rrd/logs/load_azure.log

    menu      : menu_azure.json is missing, force it to create a new one

    installing WWW : install-html.sh azure

    Host identif  : Linux

    timestamp   : Fri Sep 16 13:32:32 CEST 2022

    Menu      : menu refresh for azure

    AGENT_UUIDS  : OK at Fri Sep 16 13:32:33 CEST 2022, find_active_lpar.pl (Linux)

    ...

    Execute command in log "load_azure.log":

    ./bin/install-html.sh azure

    ./bin/install-html.sh: line 444: -e: command not found

    mkdir: cannot create directory ‘/favourites’: Permission denied

    ./bin/install-html.sh: line 457: /bin/fav.sh: No such file or directory

    mkdir: cannot create directory ‘/custom’: Permission denied

    ./bin/install-html.sh: line 471: [: too many arguments

    cp: cannot stat '/html/not-implemented-yet.html': No such file or directory

    cp: cannot stat '/html/nmonfile.html': No such file or directory

    cp: cannot stat '/html/noscript.html': No such file or directory

    cp: cannot stat '/html/wipecookies.html': No such file or directory

    cp: cannot stat '/html/index.html': No such file or directory

    cp: cannot stat '/html/dashboard.html': No such file or directory

    cp: cannot stat '/html/cpu_workload_estimator.html': No such file or directory

    ./bin/install-html.sh: line 1179: [: -eq: unary operator expected

    ./bin/install-html.sh: line 1187: [: -eq: unary operator expected

    ./bin/install-html.sh: line 1191: [: too many arguments

    ./bin/install-html.sh: line 1211: [: too many arguments

    ./bin/install-html.sh: line 1219: [: too many arguments

Sign In or Register to comment.