I need to monitor servers with unsupported OS by influx (AIX/Solaris)
I would like to know how influx grabs the data for CPU/DISK and so on, so I could trigger script from inputs.exec that will use curl once the CPU/DISK measurement will be done.
I imagined something like
#!/bin/bash myserver = `hostname` # load influx stuff or something disk = influx.disk() cpu = influx.cpu() curl -XPOST "http://localhost:8086/write?db=mydb" -d 'cpu,host=myserver,region=uswest load=cpu.load' curl -XPOST "http://localhost:8086/write?db=mydb" -d 'disk,host=myserver,disk_used=disk.used, disk_total=dis.total'
is that possible ?