cannot send CPM data using wget

More
5 years 2 months ago - 5 years 2 months ago #4342 by pilovis
My system stopped sendig data to radmon.org a few days ago, It was using wget to send data:
/usr/bin/wget -O /dev/null "http://radmon.org/radmon.php?function=submit&user=pilovis2&password=zzzzz&value=xx"

I double checked my system and everything works well, did you change anything on your side?

Thanks.

P.S.: I'm now using curl but not sure it is the right method:

/usr/bin/curl -s "http://radmon.org/radmon.php?function=submit&user=pilovis2&password=zzzzz&value=xx"
Last edit: 5 years 2 months ago by pilovis.

Please Log in or Create an account to join the conversation.

More
5 years 2 months ago - 5 years 2 months ago #4343 by mw0uzo
You have to specify &unit=CPM at the end. Only supported unit is CPM at this time.
I haven't changed anything here as I have been busy with work, so there should be no change in recent behaviour.
Last edit: 5 years 2 months ago by mw0uzo.

Please Log in or Create an account to join the conversation.

Moderators: Gamma-Man
Time to create page: 0.127 seconds
Powered by Kunena Forum
Everything's free. Please support us by considering a donation. Log in first!
Solar powered Raspberry Pi 4 server stats: CPU 56% Memory 15% Swap 17% CPU temp=62.3'C Uptime 46 Days