i'm trying to work out Jenkins controlling PwrCtrl HOME. Because documentation is not the best I have following problem:
1. explanation of data
when running
Code: Alles auswählen
curl http://172.16.82.2/strg.cfg?Auth:user7anel | awk 'BEGIN { FS=",?[ ;]*"; } { print "name: ",$1,"|","hostname: ",$2,"|","IP: ",$3,"|","Mask: ",$4,"|","Gate: ",$5,"|","MAC: ",$6,"|","Port: ",$7,"|","Temp: ",$8,"|","Type: ",$9,"|",$10,"|",$11,"|",$12; }'
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 331 0 331 0 0 6566 0 --:--:-- --:--:-- --:--:-- 7355
name: NET-PWRCTRL_04.0 | hostname: NET-CONTROL | IP: 172.16.82.2 | Mask: 255.255.255.0 | Gate: 172.16.82.1 | MAC: 00:04:A3:0E:02:4E | Port: 80 | Temp: H | Type: Nr. | 1 | Nr. | 2
I don't see any proper explanation anywhere (how to get info automatically thru REST/http) so it would be good if anyone can point me to any.