sholwe
sholwe
Can we get a documented API? I'd like to extend this outside of Linux as well. It was trivial to make work with Alpine, but some of this is kind...
Most of this was done by hand, since I can't always use Linuxisms. This works for version 1.59; I've implemented (most of) it for OpenBSD. ``` POSTDATA="v=$VERSION&s=$SID&d=$OS|$Uptime|$CPUModel|$CPUSpeed|$CPUCores|$CPU|$IOW|$RAMSize|$RAM|$SwapSize|$Swap|$DISKs|$NICS|$ServiceStatusString|$RAID|$DH|$RPS1|$RPS2|$IOPS|$CONN|$DISKi" v= current version...
Hi @hetrixtools - As @foxycode has stated, your service seems to take much of this raw data and decide what to do with it when it's parsed on your end....
Yaay! I miss Solaris. 2.6 5/98 will forever be in my heartworms. Here's an OpenBSD "functional" version. https://github.com/sholwe/hetrixtools-agent-openbsd
@foxycode It's going to be here- if [ "$CheckDriveHealth" -gt 0 ] then if [ -x "$(command -v smartctl)" ] #Using S.M.A.R.T. (for regular HDD/SSD) then for i in $(diskinfo...
Yikes. I noticed they were doing this with other data back for the 1.59 release. I saw you were based on 1.58, but wasn't sure what might have been changed.