/paramiko-scripts

Utility Python Paramkio Scripts for Remote Server Management

Primary LanguagePython

Utility Python Paramkio Scripts for Remote Server Management

The sample script needs the sample server inventory file as well.

Sample Execution is below. SERVERNAME1 and SERVERNAME2 are dummy names

$ ls
infrachecks.py servernames.txt

$ ./infrachecks.py 

||--||--||--||--||--||--||--||--||--||--||--||--||--||--||--||--||--||--||--||--||--||--||--||--||
SERVERNAME-1
 INFRASTRUCTURE METRICS 
Memory >> Mem:          3821       2045       1775          0        470        648 
Number of Processors >> 1
||--||--||--||--||--||--||--||--||--||--||--||--||--||--||--||--||--||--||--||--||--||--||--||--||
SERVERNAME2
 INFRASTRUCTURE METRICS 
Memory >> Mem:          3821       2737       1083          0        567       1246 
Number of Processors >> 1