how to download from exchange thru unix shell?

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
jriker1
Posts: 115
Joined: Tue Dec 15, 2015 8:40 pm

how to download from exchange thru unix shell?

Post by jriker1 »

Trying to download a plugin from nagios exchange:

https://exchange.nagios.org/directory/P ... ck/details

I am trying to do so directly from my Linux box which has no GUI. How do I download directly? If I go:

wget https://exchange.nagios.org/directory/P ... ck/details

All I get is a zero byte file named attachment.php?link_id=1758.

Thank.s

JR
rkennedy
Posts: 6579
Joined: Mon Oct 05, 2015 11:45 am

Re: how to download from exchange thru unix shell?

Post by rkennedy »

Try this syntax -
wget -O filename "https://exchange.nagios.org/components/ ... 8&cf_id=24"
(change filename to what you want it to save as)
Former Nagios Employee
Locked