[ porridge ][ logo: My porridges ]
Porridges Pasta Muffins Images Help Materials Tools Links Scripts
Japanese

VBScript which reports a server's situation

Cautions.
Although the script introduced here is moving in my environment satisfactory, it can be secured as no operating normally in environments. Supposing you perform these, please carry out based on your own responsibility. All scripts have changed the extension of a file into .txt so that it may not operate accidentally. For this reason, a click of the following scripts displays the contents.
Moreover, be careful also of the authority to perform a script. Reservation of the case where creation of a report file cannot be performed, and the task by WMI may not be able to be performed.
Excuse me, I cannot reply to the inquiry about this report.

ftp-sys-chk.txt: The script which reports the situation of a Windows server or a client.

  • Input: Nothing.
  • Output: Create the following files in a holder with a script.
    ftp-sys-chk.txt : report file (sample of Windows XP)
    ftp-sys-chk-ftpparm.txt : The parameter for uploading a report file by FTP.
  • Others: Upload a report file by FTP. Moreover, download of a script performs the updating.
ftp-sys-chk-schedule.txt: The script which reserves the above-mentioned script for every hour from Monday to Saturday.
  • Input: Nothing.
  • Output: Create the following files in a holder with a script. Moreover, execution time is reserved to the schedule management function of WMI.
    ftp-sys-chk-schedule.txt : The detailed file of the reserved task
    ftp-sys-chk-schedule-ftpcommand.txt : Control file for uploading by FTP
  • Others: Upload a report file by FTP.
ftp-sys-chk-schedule-cancel.txt: The script which cancels the above-mentioned reservation.
  • Input: Nothing.
  • Output: Cancel reservation using the schedule management function of WMI. The report file of an execution result is created in a holder with a script.
    ftp-sys-chk-schedule-cancel.txt : The file which reports the schedule of a task.
    ftp-sys-chk-schedule-cancel-ftpcommand.txt : The parameter file of the FTP command.
  • Others: Upload a report file by FTP.

Supplementary explanation.
I introduce these scripts into many servers, am uploading a server's situation by FTP to WEB of truck an inn, and am supervising the server.
Moreover, a script is downloaded in order to update many servers' script automatically.
Although FTP is specified in a script, it has gone by the following conditions. (Naturally, since these are the objects for explanation, they need to be changed.)

  • IP address: 192.168.0.20
  • userID: ftpuser
  • password: ftppasswd
  • upload directory: /ftpuser/server_monitor/
  • scripts library for download: /ftpuser/server_monitor/scripts/
Moreover, environment which checked operation They are Windows 98, NT, 2000, 2000server, XP, and 2003server. Information collectable from a server etc. changes with OS's.
In XP, the following information is collected.
  • TCP/IP
  • DISK free space
  • SQL server install/running/not running
  • Hardware informations
  • The large process of load
  • The process which is working for a long time
  • Printer
  • The situation of various services
  • UPS log
  • SQL server log
  • Others

home back update:05/29/05
SEO [PR] 爆速!無料ブログ 無料ホームページ開設 無料ライブ放送