Untitled

 avatar
unknown
plain_text
2 years ago
1.5 kB
3
Indexable
kazantsev@ansible-01:~/git/ansible$ sudo /opt/wasd/ansible/bin/ansible third_party -i hosts -u wasder -m shell -a "ps -eo size,pid,user,command | grep postgres | awk '{ hr=\$1/1024 ; printf(\"%13.6f Mb \"
,hr) } { for ( x=4 ; x<=NF ; x++ ) { printf(\"%s \",\$x) } print \"\" }' | sort | grep -v \"pmm2\|prometheus\|postgres_exporter\" | awk '{s+=\$1} END {print s}'"
[WARNING]: Invalid characters were found in group names but not replaced, use -vvvv to see details
third-party.paris.wasd.tv | CHANGED | rc=0 >>
310.816
third-party.kostroma.wasd.tv | CHANGED | rc=0 >>
285.43
third-party.vegas.wasd.tv | CHANGED | rc=0 >>
255.684
third-party.berlin.wasd.tv | CHANGED | rc=0 >>
263.383
third-party.dev.wasd.tv | CHANGED | rc=0 >>
394.066
third-party.mobile.wasd.tv | CHANGED | rc=0 >>
431.48
third-party.samara.wasd.tv | CHANGED | rc=0 >>
510.141
third-party.rostov.wasd.tv | CHANGED | rc=0 >>
372.191
third-party.combine.wasd.tv | CHANGED | rc=0 >>
470.852
third-party.rc.wasd.tv | CHANGED | rc=0 >>
595.891
third-party.stage.wasd.tv | CHANGED | rc=0 >>
456.918
[WARNING]: Unhandled error in Python interpreter discovery for host third-party.chicago.wasd.tv: EOF on stream; last 100 lines received: ssh: connect to host 172.16.19.12 port 22: Connection timed out
third-party.chicago.wasd.tv | UNREACHABLE! => {
    "changed": false,
    "msg": "EOF on stream; last 100 lines received:\nssh: connect to host 172.16.19.12 port 22: Connection timed out\r",
    "unreachable": true
}
Editor is loading...