Contents
Table of Contents
Download Scriptomatic and locate the desired metric(s)
Scriptomatic is a Microsoft utility that allows you to create scripts that access the WMI counters built into Windows. You can get Scriptomatic from the Microsoft Download Center.
...
Once you have a script that successfully retrieves the required values, some changes will be needed to enable it to work with up.time.
Allow Remote WMI Requests
The initial script should work for the local system but it may not work when retrieving values for your remote servers. The script can be placed on all the remote systems but this complicates the installation and setup process and also presents scaling issues. Making the small modifications described below will allow the script to retrieve metrics from your remote servers with a properly authenticated method.
...
Code Block | ||
---|---|---|
| ||
WScript.Echo "AvailableBytes " & objItem.AvailableBytes WScript.Echo "AvailableKBytes " & objItem.AvailableKBytes WScript.Echo "AvailableMBytes " & objItem.AvailableMBytes |
...
Create and import the monitor UI
The monitor interface can be generated with the uptime Plug-In Monitor XML Generator. Please refer to Creating the XML definition for your plug-in service monitor for further assistance.
...
> cd <uptime_dir>
> scripts\erdcloader -x <xml_filename>
...
Additional Step for Windows Monitoring Stations
If the up.time monitoring station is running on a Windows platform, the following steps will need to be implemented to allow the VB script to run properly.
...