Closed szepeviktor closed 9 years ago
My solution was a tiny shell script.
#!/bin/bash # # Kimsufi server alert. AVAILABILITY_JSONP="https://ws.ovh.com/dedicated/r2/ws.dispatcher/getAvailability2?callback=Request.JSONP.request_map.request_0" KS="150sk10" wget -q -O- "$AVAILABILITY_JSONP" \ | sed 's/},/},\n/g' \ | grep -A8 "\"reference\":\"${KS}\"" | cut -d'"' -f8,12 \ | tail -n +2 | grep -v "^unknown" exit 0
Very good, thats exactly the software freedom - you share what you have, and people choose what they like to use
:smile: I like yours better.
My solution was a tiny shell script.