-
Python Script to fetch the diskreport from remote servers using python spur and send mail.
change the serlist,freport and logon variable location of directory path
logon.txt should contain the credentials.
change fromaddr and SMTP_Mail_Server accordingly
Python spur need to be installed - pip install spur or you can install through your package manager
Do passwordless authentication
Add server check before getting the report
-
Python script to know who is on-call duty for a particular group from x-Matters(Service Reliability|Automated Incident managemnet tool) web-api
Modify the rfile path and add the baseurl,username and password for xmatters