Ir a contenido


MENSAJE DE BIENVENIDA Foro vínculado con Twitter, más info aquí.

“El secreto para progresar es empezar por algún lugar. El secreto para empezar por algún lugar es fragmentar tus complejas y abrumadoras tareas de tal manera que queden convertidas en pequeñas tareas que puedas realizar y entonces simplemente comenzar por la primera.” - Mark Twain

Foto

Discovery basado en Servicios de Windows

SCOM Discovery

  • Please log in to reply
No replies to this topic

#1 Jaime Callejón

Jaime Callejón

    Nuevo

  • Miembros
  • Pip
  • 5 Mensajes:

Escrito 09 enero 2014 - 12:54

Para la creacióon de un discovery basado en un servicio de Windows se debe de realizar de la siguiente manera.

 

  1. Añadir la referencia Microsoft.SystemCenter.NTService.Library
    Para ello dentro del XML del Management Pack añadimos el siguiente nodo en el siguiente path "ManagementPack/Manifest/References"
    <Reference Alias="MicrosoftSystemCenterNTServiceLibrary">
     <ID>Microsoft.SystemCenter.NTService.Library</ID>
     <Version>6.1.7043.0</Version>
     <PublicKeyToken>31bf3856ad364e35</PublicKeyToken>
    </Reference>
  2. Creamos la clase Base MP.Pruebas.Component.WindowsService.Base.Class

    Esta clase es una clase abstracta que hereda de Microsoft.SystemCenter.OwnProcessNTService
    Para ello dentro del XML del Management Pack añadimos el siguiente nodo en el siguiente path "ManagementPack/TypeDefinitions/EntityTypes/ClassTypes"
    <ClassType ID="MP.Pruebas.Component.WindowsService.Base.Class" Accessibility="Public" Abstract="true" Base="MicrosoftSystemCenterNTServiceLibrary!Microsoft.SystemCenter.OwnProcessNTService" Hosted="true" Singleton="false" />
    
  3. Creamos la clase sobre la que crearan las instancias  MP.Pruebas.Component.WindowsService.Servicio1.Class

    Para ello dentro del XML del Management Pack añadimos el siguiente nodo en el siguiente path "ManagementPack/TypeDefinitions/EntityTypes/ClassTypes"
    <ClassType ID="MP.Pruebas.Component.WindowsService.Servicio1.Class" Accessibility="Public" Abstract="false" Base="MP.Pruebas.Component.WindowsService.Base.Class" Hosted="true" Singleton="false" />
    
    
  4. Creamos el Discovery MP.Pruebas.Component.WindowsService.Servicio1.Discovery

    Para ello dentro del XML del Management Pack añadimos el siguiente nodo en el siguiente path "ManagementPack/Monitoring/Discoveries"
    Deberemos modificar los valores de TargetServiceNameFrecuency y ClassId según nuestra necesidad
  • <Discovery ID="MP.Pruebas.Component.WindowsService.Servicio1.Discovery" Enabled="true" Target="Windows!Microsoft.Windows.Server.Computer"ConfirmDelivery="true" Remotable="true" Priority="Normal">
            <Category>Discovery</Category>
            <DiscoveryTypes>
              <DiscoveryClass TypeID="Windows!Microsoft.Windows.OperatingSystem" />
            </DiscoveryTypes>
            <DataSource ID="DS" TypeID="Windows!Microsoft.Windows.Win32ServiceInformationProviderWithClassSnapshotDataMapper">
              <ComputerName>$Target/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
              <ServiceName>Servicio1</ServiceName>
              <Frequency>60</Frequency>
              <ClassId>$MPElement[Name="MP.Pruebas.Component.WindowsService.Servicio1.Class"]$</ClassId>
              <InstanceSettings>
                <Settings>
                  <Setting>
                    <Name>$MPElement[Name="Windows!Microsoft.Windows.Computer"]/PrincipalName$</Name>
                    <Value>$Target/Property[Type="Windows!Microsoft.Windows.Computer"]/PrincipalName$</Value>
                  </Setting>
                  <Setting>
                    <Name>$MPElement[Name="MicrosoftSystemCenterNTServiceLibrary!Microsoft.SystemCenter.NTService"]/ServiceName$</Name>
                    <Value>$Data/Property[@Name='Name']$</Value>
                  </Setting>
                  <Setting>
                    <Name>$MPElement[Name="MicrosoftSystemCenterNTServiceLibrary!Microsoft.SystemCenter.NTService"]/ServiceProcessName$</Name>
                    <Value>$Data/Property[@Name='BinaryPathName']$</Value>
                  </Setting>
                  <Setting>
                    <Name>$MPElement[Name="MicrosoftSystemCenterNTServiceLibrary!Microsoft.SystemCenter.NTService"]/DisplayName$</Name>
                    <Value>$Data/Property[@Name='DisplayName']$</Value>
                  </Setting>
                  <Setting>
                    <Name>$MPElement[Name="MicrosoftSystemCenterNTServiceLibrary!Microsoft.SystemCenter.NTService"]/Description$</Name>
                    <Value>$Data/Property[@Name='Description']$</Value>
                  </Setting>
                  <Setting>
                    <Name>$MPElement[Name="System!System.Entity"]/DisplayName$</Name>
                    <Value>Centros Telefonicos OpenSSH Server</Value>
                  </Setting>
                </Settings>
              </InstanceSettings>
            </DataSource>
          </Discovery>
    

5.  Crear las traducciones de los objetos en el LanguagePack

 

  • Para ello dentro del XML del Management Pack añadimos el siguiente nodo en el siguiente path "ManagementPack/LanguagePacks/LanguagePack/DisplayStrings"
        <DisplayString ElementID="MP.Pruebas.Component.WindowsService.Base.Class">
          <Name>MP Pruebas Component WindowsService Base Class</Name>
        </DisplayString>
        <DisplayString ElementID="MP.Pruebas.Component.WindowsService.Servicio1.Class">
          <Name>MP Pruebas Component WindowsService Servicio1 Class</Name>
        </DisplayString>
        <DisplayString ElementID="MP.Pruebas.Component.WindowsService.Servicio1.Discovery">
          <Name>MP Pruebas Component WindowsService Servicio1 Discovery</Name>
        </DisplayString>

Espero que sea de ayuda,

un saludo a todos



#2 porsercok

porsercok

    Experto

  • Miembros
  • PipPipPipPip
  • 442 Mensajes:
  • LocationParis

Escrito 11 julio 2017 - 21:00

[3D-Hentai] [FINAL BOOSTER] NEKOMIMI RAG! - гЃ­гЃ“гЃїгЃїгѓ©г‚° [Censor]

TecDoc 2Q 2017 Lite FULL Crack
The Chainsmokers & Coldplay - Something Just Like This (Alesso Remix Audio)
part izle


Le Follie Dell’Imperatore DOWNLOAD ITA (2000)

KAHO NAA PYAAR HAI (2000) – qHD – DVDRip – x264 – AC3 5.1 (W. Bonus) – MSubs – DrC 2.80 GB
Game of Silence
От любви не убежать (1 сезон)
SimCity PC download torrent
Read More..



18. G-Eazy & Kehlani

Manchester By the Sea
Chasing Shadows


Trial & Error

The Belko Experiment
SOKO Wismar
Rommance
The Big Bang Theory


Read more

LOVE. FEAT. ZACARI.
The Bachelor AU (season 1, 2, 3, 4, 5)


#3 porsercok

porsercok

    Experto

  • Miembros
  • PipPipPipPip
  • 442 Mensajes:
  • LocationParis

Escrito 14 julio 2017 - 16:46

From Dusk Till Dawn The Series S03E08 WEB-DL x264-RARBG

Third Watch – Einsatz am Limit
End Day (2005)


Mixology

Adventure
Mac & Devin Go to High School
Gekkan Shoujo Nozaki-kun (Complete)
The Handmaid's Tale S01E09
Thriller



Ver Ahora

➤ More
Кристоффер Йонер
Season 1 Episode 10 Bora Bora Bora
Houston, We Have a Problem! (Houston, We Have a Problem) streaming
Read More


Star Wars Episode IV - A New Hope (1977) 720p 6.1ch BluRay RIP - [GeekRG]

Espen Sandberg
SisterSister ~Koi no Heartfull Panic~
Zachary Quinto,
The Fox Family


Rex: Un policГ­a diferente

XXX-COMICS - Hilda (Issues 1,2,3)
Eps11 iZombie Saison 3
Captain Underpants 1080p TrueFrench Film Torrent complet en francais
Subttulos subidos: 16


#4 porsercok

porsercok

    Experto

  • Miembros
  • PipPipPipPip
  • 442 Mensajes:
  • LocationParis

Escrito 14 julio 2017 - 20:58

FTVGirls com_17 07 12 Winter Braid Her Hair And XXX IMAGESET-FuGLi[rarbg]

TV library
Ellie Goulding
The Walking Dead – Saison 1


Google Cast

Private.Eyes.S01.FRENCH.HDTV.x264-AMB3R(N) (A)
School of Rock
Animation
The Seven Deadly Sins



Download

S01E06 - 15. 7. 2016 | Chapter Six: The Monster
World of Warcraft Client - Version 1.12.1 enUS - Windows
Релизы за сегодня
El hobbit Un viaje inespe..
Designated Survivor


Sakurada Reset episode 15

The Listener - Hellhorig
Shuumatsu Nani Shitemasuka Isogashii Desuka Sukutte Moratte Ii De... - 2017-06-06
Animatie


Perdidos

Adrienne C. Moore
Yakkity Yak


#5 porsercok

porsercok

    Experto

  • Miembros
  • PipPipPipPip
  • 442 Mensajes:
  • LocationParis

Escrito 19 julio 2017 - 19:31

Peter Dinklage

Vikingek A Vikingek tortenete Ragnar Lothbrok, kora legnagyobb hosenek felemelkedeset meseli el, aki elsokent hajozik nyugatra es jut el Nagy-Britanniaba. Ragnar-nak es bajtarsaiknak mar eleguk van abbol, hogy vezeruk, Earl Haraldson (Gabriel Byrne) minden evben kelet fele, ugyanarra a videkre kuldi el a torzset hoditani. Azonban Ragnar-nak, a felelmet nem ismero harcosnak megvan a terve, hogy mindent megvaltoztasson.
Watch


The Shannara Chronicles [W-Series]

Tulip Fever (2017)
Die Nektons – Abenteurer der Tiefe
Barah Aana 2009 1080p WEBHD x265
The Fear



Watch show

Watch Twin Peaks Online
Koukaku no Regios
OpenLoad


Un dГ©fi mode pour se sentir plus belle

The Brink
julijean
Ryan James
The Mammoth Encyclopedia of Extraterrestrial Encounters
Glowa rodziny


Es503music

Kalkofes Mattscheibe
HD Xibalba
Don T Be Shy Remix.mp3


#6 porsercok

porsercok

    Experto

  • Miembros
  • PipPipPipPip
  • 442 Mensajes:
  • LocationParis

Escrito 19 julio 2017 - 20:26

Watch show

Music Torrents
Mariette Hartley
Bloody Murder (2000)
Master Chef India Season 5


A Stork's Journey

once upon a time
video ngentot anak perawan



Lip Sync Bat...S04E05

Treat You Better (Ashworth Remix) - Single - Shawn Mendes
Mil De Ay Mahiya Mp3
Creature Lake (2017)
Kovetkezo


Mr. Robot 8.8

ringtone surat yusuf untuk ibu hamil
Power Rangers Megaforce
Aku Lelakimu - Virzha
Descargar Mp3


Wrath of the Titans (2012) Bluray 720p + Indo Subtitle

Tadakha 2013 HDRip Full Movie in Hindi Download
Read More
B And H.MP3
captain fantastic


#7 porsercok

porsercok

    Experto

  • Miembros
  • PipPipPipPip
  • 442 Mensajes:
  • LocationParis

Escrito 22 julio 2017 - 08:43

Doctor-X 3

HD Big Mommas: Like Father, Like Son
.hack//Sign
Aknak foldjenLand of Mine
El Nacimiento De Una Nacion 20.. BluRay MicroHD


Versie: DVDRip.XviD-MEDiEVAL

Orphan Black – Saison 4
pdfFactory Pro v6 11 Final + Serial
Окрыленные (1 сезон)



► Regarder Perception Saison 1 Г©pisode 2 : La femme sans visage gratuit en streaming HD & VO / VF / VOST / VOSTFR

Maray rashjay pamar tue nay pahali nazar
Register a new account
Clean Bandit ft. Zara Larsson - Symphony MANDA Remix
Ужасы


Rookie Agent Rouge

Dave Edmunds - I Hear You Knocking free download Dave Edmunds - I Hear You Knocking
Fifty Shades Darker
La Bella E La Bestia DOWNLOAD ITA – 1080p BluRay (2017)
Download


streamango vostfr

Trideviyaan...
HD Kill Switch
Bella Block
Tıklayınız


#8 porsercok

porsercok

    Experto

  • Miembros
  • PipPipPipPip
  • 442 Mensajes:
  • LocationParis

Escrito 22 julio 2017 - 09:35

A Death in the Gunj (2017) Hindi Full Movie Watch Online Free

Star gegen die Machte des Bosen
Die Erbschaft


3D Buzz Udk Fundamentals

1,000 Places to See Before You Die, 2nd Edition - A Travelers Life List
Zelda Breath of The Wild Cemu (PC) Edition Pre Patched
college_gurl
Zobrazit posledny prispevok



Skylarking (Vinyl) (24bit-96kHz)

Eine Reihe betrublicher Ereignisse
Getting On (season 1, 2, 3)
Westlich von Santa Fe
Agac seklinde gosterime gec
-10 Resident Evil 7: biohazard ·2017


BitLord.com

Prison Break Sequel FOX
???!??.2016.?????CMCT??


Cakra Khan - Mencari Cinta Sejati (Official Music Video) Ost. Rudy Habibie mp3

Sign of the Times
Highway Online Movie
??????????..
Openload.co
The Fall 8


#9 porsercok

porsercok

    Experto

  • Miembros
  • PipPipPipPip
  • 442 Mensajes:
  • LocationParis

Escrito 31 julio 2017 - 20:33

The Sims 4 Update v1.3.32.1010-RELOADED[doggerking] [Isohunt.to]

0 Comment
Taken Temporada 1 Completa BluRay 1080p
Anthropoid (2016)
Slyszacy Mysli
Lagu Minang Kim Mudiak Arau


Development

Lista PC
2001 Top 100 Billboard



les neiges du kilimanjaro

the orphan
Westworld
Label Stickers
Download
Peaky Blinders


the gaslamp killer feat kutmah

borisclck
Download
Girls Trip (2017) streaming HD
Anna Maria - Eine Frau geht ihren Weg
Silicon Valley


Documentary

2002 The Al Cohn-Zott Sims Quintet - Al And Zoot You 'N' Me
More Alleged Bachelor In Paradise Details Are Emerging, A Lawsuit May Follow
Season 2 Episode 11 Lesser of Two Evils
Neruda (2016) hd .mkv
PrimeWire | 1Channel - Watch Movies Online, Watch Free Movies


#10 porsercok

porsercok

    Experto

  • Miembros
  • PipPipPipPip
  • 442 Mensajes:
  • LocationParis

Escrito 02 agosto 2017 - 06:01

[H-Manga] [Shiina Kazuki] Ubawarete Ataerareta Mono -Chounyuu Kaizou- [гЃ—гЃ„...

Sarp Poo Sah episode 4
Die Musketiere
A Fond 2016 Truefrench 720p x264 AAC PIXEL(A)
??? The Sheriff In Town.2017.HDRip.1080p.H255.AC3-STY.mp4


BitLord.com

Siguiente
Скачать торрент »
Anger And Forgiveness Bible Verses
Rhino 5 0
basta lion Mp3



Auto Plus NВ°1465 - 30 Septembre au 06 Octobre 2016

Darshan Kumar
Descargar MS SQL PHP Generator Professional 16.9 Full Espanol (Mega)
OpenLoad


Adobe Illustrator CC 2017 Portable 32Bit | 64Bit

Следователь Тихонов (1 сезон: 1-3 серии из 20) (2016) WEB-DL 720p
Superstore (season 1, 2, 3)
Джереми Айронс
fishing mania mod apk jalan tikus


EroticaX 17 07 26 Emma Hix Master Student XXX 1080p MP4-KTR

fifa 17 klucz seryjny
Yura Yunita
double v
David Hackney
Episode 2





0 usuarios están leyendo este tema

0 miembro/s, 0 invitado/s, 0 usuario/s anónimo/s