WhatsUp Gold v14.3.1 中的percent变量列表


%ActiveMonitor.Argument


SNMP instance number. This is only used when an action is associated  directly with an active monitor, and not the device as a whole.


%ActiveMonitor.Comment


The human readable name that coincides with the network switch. This is only  used when an action is associated directly with an active monitor, and not  the device as a whole.


%ActiveMonitor.Name


The name of the active monitor that fired an action. This is only used  when an action is associated directly with an active monitor, and not the  device as a whole.


%ActiveMonitor.NetworkInterfaceAddress


IP address for the network interface. This is only used when an action  is associated directly with an active monitor, and not the device as a whole.


%ActiveMonitor.Payload


The payload returned by a WMI, Exchange, SQL, SNMP or Active Script  active monitor. This is only used when an action is associated directly with  an active monitor and not the devices as a whole.

For Active Script Active Monitors, the payload is the text that is passed  to the SetResult() method in the script.


%ActiveMonitor.State


The Current status of the monitor, such as "Down at least 5  min." This is only used when an action is associated directly with an  active monitor, and not the device as a whole.


Device Variables


Description


%Device.ActiveMonitorDownNames


List of down services using the abbreviated name if available.


%Device.ActiveMonitorUpNames


Full service names of all UP monitored services on a device.


%Device.Address


IP address (from device properties).


%Device.Attribute.[Attribute Name]


Returns an attribute from the SNMP information available for the device,  such as the Contact name. To specify the attribute, append the category name  (listed below) to the end of the variable. For example: %Device.Attribute.Contact,  returns the contact name.

Default categories:

*.  Returns all attributes

Info1.  Upgrade path from v8

Info2.  Upgrade path from v8

Contact.  Contact information from SNMP

Location.  Location information from SNMP

Description.  Description information from SNMP

 Custom. If you have created a custom attribute you can use the  name of that custom attribute in the percent variable.

Example:

%Device.Attribute.Phone
 %Device.Attribute.RackPosition

To avoid an error, always place a space or line break after the  attribute name.


%Device.DatabaseID


Returns the database ID of a device.


%Device.DisplayName


Display Name (from General of device properties)


%Device.HostName


Host Name (from General of device properties)


%Device.Notes


Notes. (Notes are from the device properties Notes)


%Device.SNMPOid


SNMP Object identifier.


%Device.State


The state‘s description (such as "Down at least 2 min" or  "Up at least 5 min")


%Device.Status


This shows the name of the active monitor, preceded by the device state  id : 10|DNS


%Device.Type


Device Type (from General of device properties)


Passive Monitor Variables


Description


%PassiveMonitor.DisplayName


The name of the monitor as it appears in the Passive Monitor Library.


%PassiveMonitor.LoggedText


Detailed Event description. (SNMP traps - Returns the full SNMP trap  text.) (Windows Log Entries - Returns information contained in the Windows  Event Log entries.) (Syslog Entries - Returns the text contained in the  Syslog message.)


%PassiveMonitor.Payload.*


Payload generated by a passive monitor.


%PassiveMonitor.Payload.EventType


The type of passive monitor (Syslog, Windows Event, or SNMP Trap)


%PassiveMonitor.Payload.LogicalSource


Shows the device‘s logical IP address.


%PassiveMonitor.Payload.PhysicalSource


Shows the device‘s physical IP address.


System Variables


Description


%System.Date


The current system date. Configure the date format in Regional Options  (from Program Options)


%System.DisplayNamesDownDevices


Display names of devices with down monitors


%System.DisplayNamesDownMonitors


Shows the name of a device and each monitor that is down on that device.  The format of the response is ‘device name‘:‘monitor 1‘,‘monitor 2‘,‘...‘

Example: ARNOR: FTP, HTTPS, Ping


%System.DisplayNamesUpDevices


Display names of up devices


%System.DisplayNamesUpMonitors


Shows the name of a device and each monitor that is up on that device.  The format of the response is ‘device name‘:‘monitor 1‘,‘monitor 2‘,‘...‘

Example: ARNOR: FTP, HTTPS, Ping


%System.InstallDir


Displays the directory on which WhatsUp Gold is installed


%System.NumberofDownDevices


Number of down devices on your network


%System.NumberOfDownMonitors


Shows the number of down monitors on your network


%System.NumberofUpDevices


Number of up devices on your network


%System.NumberOfUpMonitors


Shows the number of up monitors on your network


%System.Time


The current system  time. The format is hh:mm:ss

时间: 2024-12-26 13:10:32

WhatsUp Gold v14.3.1 中的percent变量列表的相关文章

Javascript中的Keycode值列表

关于如何得到一个键在Javascript中的Keycode值,可以参考: <body onkeypress=alert(event.keyCode)>请按任意键,你将得到该键的键值! keycode 0 = keycode 1 = keycode 2 = keycode 3 = keycode 4 = keycode 5 = keycode 6 = keycode 7 = keycode 8 = BackSpace BackSpace keycode 9 = Tab Tab keycode 1

mac中如何创建文件列表清单介绍详情

相信很多苹果电脑用户们一定都在困惑mac系统到底如何创建列表清单呢?其实方法还是比较简单的,想了解吗?有兴趣不妨来mac中如何创建文件列表清单介绍中仔细瞧瞧哦,相信它可以给你使用mac系统带来有效的帮助哦,还是先来mac中如何创建文件列表清单介绍中看看再说吧.mac中如何创建文件列表清单介绍: 1. 打开Finder定位到要生成文件清单的文件夹,将文件按照想要的方式排序,例如:创建时间 2. 直接全选(Command+A)所有文件,然后复制(Command+C)它们. 3. 接下来打开文本编辑器

Asp.Net Core 如何在 IIS 中设置环境变量

当运行一个 Asp.Net Core 应用的时候, WebHostBuilder 根据环境变量来判断当前运行的是哪个环境,可能是 Development,Staging或者Production.你也可以设置成随便的一个字符串. 这个链接将会告诉你 如何在各种平台各种环境中设置环境变量.但如果你使用 IIS来代理 Asp.Net Core.你需要在 web.config 中设置环境变量 <configuration> <system.webServer> <handlers&g

继承的基本概念: (1)Java不支持多继承,也就是说子类至多只能有一个父类。 (2)子类继承了其父类中不是私有的成员变量和成员方法,作为自己的成员变量和方法。 (3)子类中定义的成员变量和父类中定义的成员变量相同时,则父类中的成员变量不能被继承。 (4)子类中定义的成员方法,并且这个方法的名字返回类型,以及参数个数和类型与父类的某个成员方法完全相同,则父类的成员方法不能被继承。 分析以上程

继承的基本概念: (1)Java不支持多继承,也就是说子类至多只能有一个父类. (2)子类继承了其父类中不是私有的成员变量和成员方法,作为自己的成员变量和方法.(3)子类中定义的成员变量和父类中定义的成员变量相同时,则父类中的成员变量不能被继承.(4)子类中定义的成员方法,并且这个方法的名字返回类型,以及参数个数和类型与父类的某个成员方法完全相同,则父类的成员方法不能被继承. 分析以上程序示例,主要疑惑点是“子类继承父类的成员变量,父类对象是否会实例化?私有成员变量是否会被继承?被继承的成员变量

mac中如何创建文件列表清单介绍

相信很多苹果电脑用户们一定都在困惑mac系统到底如何创建列表清单呢?其实方法还是比较简单的,想了解吗?有兴趣不妨来mac中如何创建文件列表清单介绍中仔细瞧瞧哦,相信它可以给你使用mac系统带来有效的帮助哦,还是先来mac中如何创建文件列表清单介绍中看看再说吧.mac中如何创建文件列表清单介绍: 1. 打开Finder定位到要生成文件清单的文件夹,将文件按照想要的方式排序,例如:创建时间 2. 直接全选(Command+A)所有文件,然后复制(Command+C)它们. 3. 接下来打开文本编辑器

关于Lumen / Laravel .env 文件中的环境变量是如何生效的

.env 文件包含默认环境变量,我们还可自定义其他任何有效的变量,并可通过  调用 env() 或 $_SERVER 或 $_ENV  来获取该变量.那么env()是如何加载到这些变量的呢?在Lumen的vendor/laravel/lumen-framework/src/helpers.php中,我们可以发现env函数是这样被定义的: if (! function_exists('env')) { /** * Gets the value of an environment variable.

OpenGL中glVertex、显示列表(glCallList)、顶点数组(Vertex array)、VBO及VAO区别

OpenGL中glVertex.显示列表(glCallList).顶点数组(Vertex array).VBO及VAO区别 1.glVertex 最原始的设置顶点方法,在glBegin和glEnd之间使用.OpenGL3.0已经废弃此方法.每个glVertex与GPU进行一次通信,十分低效. glBegin(GL_TRIANGLES); glVertex(0, 0); glVertex(1, 1); glVertex(2, 2); glEnd(); 2.显示列表(glCallList) 每个gl

浅谈php中include文件变量作用域

本文给大家总结了php中include文件时的几种情况下的作用域,十分的简单实用,希望对大家熟悉include的使用能够有所帮助. 在php中我们有时候需要include一个文件.比如我前段时间在写一个框架的时候,打算用原生的php作为模板,然后写一个display方法引入模板文件就可以,但是这只是我的意淫而已. 写完后发现在模板中所有的变量都提示未定义.通过各种研究和查找资料,总结了include文件时的几种情况下的作用域. 第一种情况:A文件include B文件,在B文件中可以调用A中的变

Linux中的环境变量

什么是环境变量 环境变量也叫全局变量,当前进程的的环境变量会被该进程的子进程继承. 查看环境变量 env   查看环境变量 set   查看环境变量和自定义变量 一些常见的环境变量的说明 [[email protected] ~]# env //查看环境变量 HOSTNAME=BASE //主机名 TERM=linux SHELL=/bin/bash //使用的是哪一个shell HISTSIZE=1000 //记录历史命令的条数 SSH_CLIENT=192.168.220.1 54798 5