StoreStatisticalDatabool StoreStatisticalData(int iRecordSet,float fData,float fThreshold,int iVirtualType,int iVirtualUnit,string Unit) Return values True if data was successfully stored to statistical database, false if there was an parameter error. Parameters
Remarks This function is only available for advanced scripts. The difference between this function and the old function with the same name is the ability to store type information with the data. iVirtualType and iVirtualUnit can be used in the following combinations: VT_SWAP_UTILIZATION VT_MEMORY_UTILIZATION VT_DISK_UTILIZATION VT_CPU_UTILIZATION UNIT_TYPE_PERCENT VT_FREE_DISKSPACE VT_SQL_QUERY VT_TEMPERATURE: VT_HUMIDITY VT_WETNESS VT_VOLTAGE VT_BANDWIDTH_UTILIZATION VT_BANDWIDTH_USAGE VT_DIRECTORY_SIZE: VT_DIRECTORY_COUNT VT_PING_ROUNDTRIP VT_PING_PACKETLOSS VT_MAIL_ROUNDTRIP: VT_MEMORY_USAGE VT_TRANSFER_SPEED VT_HTTP_FETCHTIME VT_WMI_GENERIC_VALUE VT_LUA_GENERIC_VALUE VT_WINPERF_GENERIC_VALUE VT_SSH2SCRIPT_GENERIC_VALUE VT_SNMP_GENERIC_VALUE VT_CURRENT VT_FANSPEED VT_LUMINOSITY The record set index parameter can be one of the following constants. LUA_RECORDSET_1 LUA_RECORDSET_2 LUA_RECORDSET_3 LUA_RECORDSET_4 LUA_RECORDSET_5 LUA_RECORDSET_6 LUA_RECORDSET_7 LUA_RECORDSET_8 | |||
Topic 9492: Send Feedback. Download a PDF of this online book from the first topic in the table of contents. Print this topic. |