Forums

Resolved
0 votes
When setting up ClearGLASS monitoring on a AWS Windows Instance, this is displayed:

Monitoring is not yet activated

ClearGLASS can not install the monitoring agent automatically, because there are no associated keys with this machine.
You can install the agent manually by running the following command with ssh.
$TELEGRAF_MACHINE = 'd83ee09ee4e842609cd284d0362aaee9'; $TELEGRAF_HOST = 'https://clearos4.pvg.bebconsultingservices.com:9443/ingress/a1d4151194afd310e14f2e850f9e6e0ff173e34b97e98a838a8d995abc9e15bc'; mkdir 'C:\Program Files\Telegraf';cd 'C:\Program Files\Telegraf'; Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser -Force; (New-Object System.Net.WebClient).DownloadFile('https://dl.influxdata.com/telegraf/releases/telegraf-1.4.4_windows_i386.zip', 'C:\Program Files\Telegraf\telegraf.zip'); Expand-Archive .\telegraf.zip; cp .\telegraf\telegraf\telegraf.exe .; Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser -Force; (New-Object System.Net.WebClient).DownloadFile('https://raw.githubusercontent.com/mistio/mist-telegraf/master/telegraf-windows.conf', 'C:\Program Files\Telegraf\telegraf.conf'); (Get-Content .\telegraf.conf) -replace 'TELEGRAF_HOST', $TELEGRAF_HOST | Set-Content .\telegraf.conf; (Get-Content .\telegraf.conf) -replace 'TELEGRAF_MACHINE', $TELEGRAF_MACHINE | Set-Content .\telegraf.conf; C:\'Program Files'\Telegraf\telegraf.exe --service install; net start telegraf

However this does NOT work as there is NO SSH on a Windows Instance. how do we configure this on Windows?

Thanks.
Monday, May 14 2018, 08:44 PM
Share this post:
Responses (1)
Your Reply