I am on my server and want to download the agent, I exit omd and want to download the agent but something is weird. It feels like I want to download a file on my server from my server, because the URL for agent download has server’s ip (see bellow).
Curl URL doesn’t help either.
Same when I enter omd and run wget and curl, no luck.
wget inside omd:
Redirecting output to ‘wget-log.2’.
I don’t want to download the agent on my win notebook and move it to debian machine.
It is not a big deal, I can do it but I think it is a better way to download inside terminal from server.
Check_MK is running on a PC with Debian 10.
I am connected through Putty.
I want to download the Agent to monitor the server.
Right click on icon “Avaible agent configurations - Linux - DEB” copy Link.
I let run the instance and omd status is running, I
exit and run
EDIT: I removed “http” because of forum restriction: “New users can only have two links”
Output creates a wget log file:
–2020-02-14 08:43:45-- http://192.168.101.117/mysite/check_mk/download_agent.py?hash=5ba61d358aecefac
Connecting to 192.168.101.117:80… connected.
HTTP request sent, awaiting response… 302 FOUND
Location: /mysite/check_mk/login.py?_origtarget=download_agent.py%3Fhash%3D5ba61d358aecefac [following]
–2020-02-14 08:43:45-- http://192.168.101.117/mysite/check_mk/login.py?_origtarget=download_agent.py%3Fhash%3D5ba61d358aecefac
Reusing existing connection to 192.168.101.117:80.
HTTP request sent, awaiting response… 200 OK
Length: 1769 (1.7K) [text/html]
Saving to: ‘download_agent.py?hash=5ba61d358aecefac.2’
^M download_ag 0%[ ] 0 --.-KB/s ^Mdownload_agent.py?hash= 100%[============================>] 1.73K --.-KB/s in 0s
2020-02-14 08:43:45 (10.1 MB/s) - ‘download_agent.py?hash=5ba61d358aecefac.2’ saved [1769/1769]
With ls I see inside omd and outside the same file:
Did I express myself well enough? Do you understand my problem?
Than you for your time.