Skip to content
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

how to for windows #4

Open
posuch opened this issue May 28, 2020 · 1 comment
Open

how to for windows #4

posuch opened this issue May 28, 2020 · 1 comment

Comments

@posuch
Copy link

posuch commented May 28, 2020

Hi guys

I compiled the binary for windows ( seems to be working - see screen - at least --h is showing help options ). When I try to query some metric I get "Element not found by name...."

Any ideas ? Maybe SAP is not configured properly ( suggestion from one of our SAP guys )

Perhaps some service needs to be running, user permissions ? Unfortunatelly I dont have possibility to test it on linux.

sap_3

sap_2

sap_1

@posuch
Copy link
Author

posuch commented May 29, 2020

I did cross compile from lin to win - what I see that the linux binary makes request to port 50013 by default ( verified woth wireshark too )

Linux

[user@host sapccmsget]$ ./sapccmsget 
2020/05/29 15:42:56 Post "http://host:50013/SAPCCMS.cgi": dial tcp 127.0.0.1:50013: connect: connection refused

Windows
fails with element not found message - so I guess it will not work on windows eg. Illtry to recompile the binary on windows ( not cross compile from lin to win )


PS C:\Users\luser\Desktop> .\sapccmsget.exe
2020/05/29 16:01:00 Element not found by name

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant