Views [dbo].[ResourceNameServerView]
Properties
PropertyValue
ANSI Nulls OnYes
Quoted Identifier OnYes
Created11:10:04 AM Wednesday, March 07, 2007
Last Modified5:37:37 PM Monday, May 04, 2009
Columns
Name
server_addr
probe_addr
rsrcIndex
rsrcOtherIndex
rsrcType
collect_flags
rsrcName
rsrcDescr
IP_addr
port
community
ifSpeed
ifType
agentName
ifName
ifIndex
mibIndex
mibId
monitored
bypassAvail
viewType
rsrcId
userId
Permissions
TypeActionOwning Principal
GrantSelectuniadmin
SQL Script
CREATE VIEW ResourceNameServerView AS
SELECT server_addr=c.server_addr
    ,probe_addr=0
    ,rsrcIndex=0
    ,rsrcOtherIndex=0
    ,rsrcType=-1
    ,collect_flags=536870912
    ,rsrcName=c.server_name
    ,rsrcDescr='Collector'
    ,IP_addr=''
    ,port=0
    ,community='public'
    ,ifSpeed=0
    ,ifType=0
    ,agentName=c.server_name
    ,ifName=''
    ,ifIndex=0
    ,mibIndex=''
    ,mibId=0
    ,monitored=1
    ,bypassAvail=0
    ,viewType=-1
    ,rsrcId=convert(varchar(10),-1)+':'+convert(varchar(12),c.server_addr)+':'+convert(varchar(10),0)+':'+convert(varchar(10),0)
    ,userId=0
FROM CollectServer c
GO
GRANT SELECT ON  [dbo].[ResourceNameServerView] TO [uniadmin]
GO
Uses