Create TCP port monitor to ping windows server or network device

Dears
I'm trying to create TCP port monitor which tests the ping of a remote network device or windows computer from the watcher node, but I don't know which port to use, is there a specific port number?
Thanks
Mohammad, IT NOC Team

I also would like to share the following article with you. It is a sample script that will use netstat –an to check the TCP ports currently in a listening state on the local system 
and parse the output to determine that the defined TCP port is in a listening state.
http://operatingquadrant.com/2009/08/13/scom-locallly-monitoring-a-listening-tcp-port/
Niki Han
TechNet Community Support

Similar Messages

  • [SQL QUERY] Select TCP Port Monitors and their related Watcher Node

    Hi everybody,
    I'm working on a SSRS report and SQL Query, I have no problem to find all my TCP Port Monitor (SCOM 2012 R2) based on the DisplayName, but I can't figure out how to get their related watcher nodes (in my case only 1 computer is a watcher node).
    I can't find which table, which field, contains this information..?
    Here is the query i started to write (i select * since i still searching for the right column):
    SELECT
    FROM StateView s
    INNER JOIN BaseManagedEntity me on me.BaseManagedEntityId=s.BaseManagedEntityId
    INNER JOIN MonitorView mv on mv.Id=s.MonitorId
    INNER JOIN ManagedTypeView mtv on mtv.Id=s.TargetManagedEntityType
    --where mv.DisplayName like 'Ping Target Status Check%'
    AND me.IsDeleted = '0'
    where mv.DisplayName like '%tcpmon%'
    and mv.LanguageCode = 'ENU'
    --and s.HealthState in (@state)
    ORDER BY s.Lastmodified DESC
    It would be great if someone can help me !
    Thanks,
    Julien

    Hi,
    After creating a TCP port monitor, we can find a table for this monitor under operationsmanager database :
    SELECT *
    FROM [OperationsManager].[dbo].[MT_TCPPortCheck_******WatcherComputersGroup]
    You will find the warcher computer group.
    Regards,
    Yan Li
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected]

  • RDP Port not Listen in Windows Server 2008 Std With Sp2

    Hi all
    I have Windows 2008 Server Std with SP2 Domain Member Server..  From Last week On-wards , am not able to take remote desktop control .. But i can able to Ping my Server from network .. I check remote settings on that server.. It
    is enabled.. and also remote desktop service(Terminal service) was started successfully..  I checked my network firewall for port(3389) blocking.. But there is no much block in my network firewall.. i also disabled windows firewall in my server.. But
    still i couldn't able to take RDP.. I also checked my Domain GPO and Local GPO settings for RDP Block.. But there is no such settings enabled.  I did following Troubleshooting Steps, but still the problem persist
    1. Telnet serverip 3389
     Result : Could not open connection to the host, on port 3389: 
    2. netstat -n -a -o | find "3389" (i run this command in my RDP Problem server)
    Result : nothing displayed (3389 port not listed )
    3. i again & again restarted Terminal service and the server, but still problem exists
    4.i changed the RDP port no and restarted the service as well as the server , but still problem exist
    5. I checked all RDP related Registry settings , everything is perfect
    Please help me to solve this issue
    I need your valuable reply urgently
    Thanks in advance

    Hi Mohamed,
    You mention, that you the server is not listening to port 3389 when you run netstat. This is the reason why telnet and RDP connectivity fails in a first place. You also said that you changed the RDP port number. What was is before the change, and to what
    did you change it to?
    Please verify if the Terminal Service is listening to 3389 (0xd3d) with following command:
    reg query "HKLM\System\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp" /v PortNumber
    Output:
    PortNumber    REG_DWORD    0xd3d
    Try to enable the Operational log for TerminalServices-RemoteConnectionManager events in Event Viewer:
    Open Event Viewer
    Navigate to Applications and Service Logs\Microsoft\Windows\TerminalServices-RemoteConnectionManager
    Select the Operational log and chose Enable Log
    from the Action or context menu
    Restart Terminal Services service
    Then consult this event log and the System and Application logs for any related errors and warning. It might be helpful to post relevant event log entries here.
    Additional information and solutions about Terminal Server Listener events and errors can be found here:
    http://technet.microsoft.com/en-us/library/cc727385(v=ws.10).aspx
    Regards,
    Johann
    // Johann

  • Operations Manager 2012 - TCP Port Monitor

    Hi,
    Is it possible to have the TCP port monitor only alert if it fails on subsequent polls, instead of the single connection failure which is the default? We have 3 GPRS connections which intermittently
    fail, so we only need to be alerted if they don't come back online after a 5-10 minute inverval and 2 failed connection attempts in a row.  We have orchestrator so perhaps a runbook needs to be created?
    Thanks

    Hi,
    Yes. The Runbook could do this trick. I think you need to make the monitors not to generate alerts when health state changes. Then use runbook to monitor the Health State, if some conditions are ture, an alert will be generated.
    I am not so familiar with Orchestrator, you may ask at Orchestrator to get answered of how to design the Runbook.
    Juke Chou
    TechNet Community Support

  • Rstrui.exe Create a system restore point on windows server 8 standard

    Hi,
    Before making system changes, I need to create a system restore point on windows server 2008 Standard with SP2 installed.,  I found where to accomplish that via the UI, but the file isn't found when I search the C:\windows directory on the server.
    The executable should be C:\windows\system32\rstrui.exe, unless it was changed for Server 2008. I have system protection turned on for the C: drive.This problem also exists on Windows server R2 enterprise with all updates applied.
    I searched the install media (DVD) it wasn't there. I tried the full name (rstrui.exe) as well as truncated versions. I've searched on all of the applicable forums for rstrui.exe and "create system restore point".
    Does someone know where I can get rstrui.exe for windows server 8.  It's not available on windows server R2 enterprise or essentials either. If there is an alternative method of creating restore points on windows server 8, please point me in the
    correct direction. Is it available in any of the variations of windows server 12. I have all of the updates installed when checking for how to create a system restore point or with searching for rstrui.exe. BTW, performing "system backups" or implementing
    "previous versions" functionality work just fine.
    Thank you in advance,
    Steve

    Hi Steve,
    I replied the same question you posted earlier:
    https://social.technet.microsoft.com/Forums/en-US/68352496-2fe8-4320-8848-f22d0d1a6f6b/rstruiexe-missing-unable-to-create-restore-point-windows-server-8-std-r2?forum=windowsbackup
    To me it seems that the function is removed in both Windows 2008 SP2 and Windows 2008 R2. Here is my original reply:
    I did not find this file either on my new-installed Windows 2008 SP2 system. I assume it is retired in Windows Server 2008 and the function is replaced by Windows Server Backup. I cannot confirm why there is still an option in MSCONFIG which point to
    rstrui.exe but I can find the file nowhere. Also this option is removed in Windows Server 2008 R2.
    Here link a link for using Windows Server Backup to create system state backup as a restore point:
    Recover
    the System State
    Please remember to mark the replies as answers if they help and un-mark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • How to use SCOM 2012 R2 Monitoring the standalone Windows Server

    Greetings,
    I want to use SCOM 2012 R2 to monitoring the standalone Windows Server that does not joined the domain. would you please guide me how to configure it.
    Thanks
    Frank@Hiweb 冯立超@瀚博资讯

    I found the answer, as following:
    http://pkjayan.wordpress.com/2010/05/17/agent-managed-non-trusted-servers-without-gateway/
    and
    http://blogs.technet.com/b/stefan_stranger/archive/2012/04/17/monitoring-non-domain-members-with-om-2012.aspx
    Frank@Hiweb 冯立超@瀚博资讯

  • TCP/IP Connection Issue on Windows Server 2008 SP2

    Hi All,
        We got the following error with our monitor application. Monitor application tried to make a TCP/IP connection to another server, and runs out of all local ports.  We can not  close these connections without
    rebooting.  This will happen if the windows server didn't reboot in 500 days. (We tested in our data center by some servers. )
       Please explain why it is exact 500 days??? We are looking for a solution to fix it without reboot.
    Thank yoU!
    Bill
    TCP/IP failed to establish an outgoing connection because the selected local endpoint was recently used to connect to the same remote endpoint. This error typically occurs when outgoing connections are opened and closed at a high rate, causing all available
    local ports to be used and forcing TCP/IP to reuse a local port for an outgoing connection. To minimize the risk of data corruption, the TCP/IP standard requires a minimum time period to elapse between successive connections from a given local endpoint to
    a given remote endpoint.

    Hi Bill,
    Thank you for your post.
    The event 4227 means that the application open up more ports but not closing them in timely fashion.
    Windows 2008 default dynamic port range specify start port 49152 end port 65535. So you monitor it try to make connection via 65535 port.
    To resolve this issue, please restart your application service or set
    TcpTimedWaitDelay to a lower value via registry 
    HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Tcpip\Parameters  
    If there are more inquiries on this issue, please feel free to let us know.
    Regards,
    Rick Tan

  • You cannot shadow a session with multiple monitors enabled in Windows Server 2008 R2

    Searching through the forums (and according to KB2484290) it appears that there is no solution to this problem.  We are rolling out thin clients that are using dual monitors exclusively and we were very surprised to find out that we couldn't shadow
    sessions with dual monitors (which to us means that we can't shadow ANY sessions).  This now completely changes our approach to managing these devices. 
    We are running Windows Server 2008 R2 SP1 with Remote Desktop Services installed.  The thin clients are running Windows Embedded Standard 7 with the latest updates / RDP client. All steps have been followed to ensure that the apropriate settings and
    permissions have been set up to allow access into the session. 
    We tested by unchecking the RDP setting “use all my monitors for the remote session”, with that setting disabled shadowing worked
    Questions:
    1. KB2484290 is from Dec 2010 - It's now April 2012, is there a workaround / hotfix for this issue that will allow us to shadow sessions using the native Microsoft tools?
    2. Are there any recommended alternatives (software)?  Free/Paid - doesn't matter we just need something that will work.  I'm sure there are a few options out there but I am looking for suggestions for what people have used in the past that worked
    best for them to help us narrow down the choices.

    Hi,
    In my experience, so far, the workaround is Remote Assistance, Remote Assistance supports multiple monitors, and is the presently recommended solution if you need this functionality. Remote Assistance is a Windows Server Feature that must be explicitly installed
    on Windows Server 2008 R2; it is already installed with the client versions of the operating system.
    More information:
    Remote Assistance Overview
    http://technet.microsoft.com/en-us/library/cc753881.aspx
    Remote Assistance and Resulting Internet Communication in Windows Server 2008
    http://technet.microsoft.com/en-us/library/cc770456(v=ws.10).aspx
    As far as I know, there are some third-party tools can be used as the solution, such as Teamviewer, ISL Online, etc.
    Please Note: The third-party products discussed here are manufactured by companies that are independent of Microsoft. We make no warranty, implied or otherwise, regarding
    these products' performance or reliability.
    Regards,
    Dollar Wang
    Forum Support
    TechNet Subscriber Support
    If you are TechNet Subscription user and have any feedback on our support quality, please send your feedback
    here.
    Technology changes life……

  • Failure to create a shared protection point during Windows Server 2012 R2 backup.

    Several partitions on a system disk have been extended as well as the backup destination partition. After that Windows Server 2012 R2 failed the backup of a system disk with the following error message 0x8004230C. The Server stated it had failed to create
    a shared protection point on source volumes and indicated a problem with volume shadow writer. What needs to be done to fix this error and does it have anything to do with partitions being extended?
    Vladimir Shipitsyn

    Hi,
    What destination did you use to do the previous unsuccessful backup? You could try the steps in the article below to troubleshoot errors where the cause is reported by an underlying layer to Windows Server Backup.
    Diagnosing Failures in Windows Server Backup - Part 1 (VSS/SPP Errors)
    http://blogs.technet.com/b/filecab/archive/2009/09/16/diagnosing-failures-in-windows-server-backup-part-1-vss-spp-errors.aspx
    Best Regards,
    Mandy 
    If you have any feedback on our support, please click
    here .
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • How Create Dos boot able USB for Create Ghost for NTFS File and windows server 2008

    Hi
    How Create Dos boot able USB.
    Which show all Partition Drive in dos mode for NTFS file system.
    I have Windows Server 2008 which have NTFS File System of Hard disk.
    I have not CD / DVD Rome and I cannot attach the CD / DVD because we have no permeation by our organization.
     but i wanted to create Ghost.
    So i need boot pc by other media USB.
    Please help me.

    Hi
    I just assembled a cd which boots dos and can read and write to ntfs drives.
    Should you be interested in the iso image file which you can use to write to cd or usb please email me at [email protected]
    Thanks
    Nuno

  • Windows Server Mac networking issues

    Hi all,
    I recently moved to a new office where internet access is provided via a Windows Server network.
    I use a Macbook and am having the following issues whilst using the internet:
    - When I attempt to FTP a file, the first time I do it it always hangs. If I immediately try to upload the same file it works fine.
    - The first time I send an email it bounces back, the second time it works just fine.
    - If I try to post a comment on a website (or add new content on our site via a custom CMS) the first time I do it it doesn't work, the second time it's fine!!
    These issues are driving me crazy, does anybody have any idea as to what the cause maybe? Does anybody know how I can find out more about the specific network set up via the terminal or cmd prompt on the pc next to me? I've tried asking people in the office but the tech support is non existent
    Cheers,
    Woody

    woodysabran wrote:
    Hi Charles,
    Thanks for your help with this... I've tried connecting via ethernet and via two wireless access points that are all connected to the same network but the issues still persist. Would this suggest that the problem is something to do with the actual server software configuration itself?
    Ooh, yes. That's a server problem. You're not going to have the same connectivity issue with different wired and wireless connections, and we've already established that DHCP and DNS are good. (It could still be an intermittent DHCP or DNS issue. Does anyone else have problems?)
    A temporary solution for me at the mo is to join someone elses open wireless network in my area but it has really bad reception
    What is your prognosis?!
    I went looking on Microsoft TechNet (a great resource for problems with MS software) and got this: <http://technet2.microsoft.com/windowsserver/en/library/ecc10b32-898a-435f-9d5c -01c25fb4d1f61033.mspx?mfr=true>. Do you have a domain or a workgroup configuration? If a domain, is your Mac set up in their AD Users & Computers settings? Also, is RADIUS configured properly? And what are the GPOs on their system?
    Also, what kind of Windows server is in use? WinNT Server, W2K Server, and W2K3 Server are all different beasts... and there are different flavors of each, especially W2K3 server.
    Cheers,
    Woody

  • SCOM Monitoring Multiple interface of a same network device

    hi
    I have deployed SCOM 2012 R2. I have discovered around 200 network device by using device's loopback IP adress with SNMP v3.
    100 dvices are in the branch offices those are connected with 3 links in three interfaces respectively. Even if two link is down, i can see that my network device is healthy since network device is discovered with the loopback address. How can i configure
    my network monitoring so that even if one link goes down i can see some kind of warning or error in the particular network device in my monitoring pane. Please say if my infrastructure is unclear.

    Hi,
    You can create built-in network ICMP only network monitoring for the three interfaces respectively.
    Using the built-in network monitoring within Operations Manager 2012 to monitor network devices using ICMP only mode
    http://blogs.catapultsystems.com/cfuller/archive/2013/07/03/using-the-built-in-network-monitoring-within-operations-manager-2012-to-monitor-network-devices-using-icmp-only-mode-scom-sysctr.aspx
    Note: Microsoft provides third-party contact information to help you find technical support. This contact information may change without notice. Microsoft does not guarantee the accuracy of this third-party contact information.
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected]

  • Create 10g Database with ASM on Windows Server 2003 x64

    I am running Windows 2003 Server Enterprise x64 on a Dell server and wish to install Oracle 10g 10.2 with ASM.
    First, I performed a software only install. Then, I created several raw partitions on each of two SATA2 disks, and created a disk group - DGROUP1 - using two partitions from each disk. So far so good.
    Next, I tried to use DBCA to create a general purpose database using ASM, and that is where the problem arose. I can use sqlplus to stop and start the ASM instance, but when I use DBCA to select ASM for storage I am asked for the SYS password for ASM. I enter it and get a message "Passwords cannot be verified because: Io exception: The network adapter could not establish the connection". If I ignore this I can go on to select my DGROUP1, but the installation ultimately fails due to "insufficient privileges".
    Can anyone please help?

    Hi Martin
    Thanks for the reply. I used ASMTOOLG to stamp the disks and then used DBCA and followed the description hereo create the disk group DGROUP1:
    http://www.databasejournal.com/features/oracle/article.php/3571371
    At one point, DBCA prompted me to run "localconfig add", which I did.
    If it is a missing password file that is the problem, is it possible to create one to put things right?
    Charles

  • Windows Server 2012R2 network start working very slow?

    The is no problem with excel. Network is slow. All other network applications are opening and working slow as well.
    So far I have checked physically connection between server and PC through switches, routers and servers.  All seems to be OK.

    After a few months our network, based on Server 2012 R2, start working very slow.
    When you want open for e.g. excel 2013 file from network drive its take ages and also any changing within spreadsheet making excel not responding.
    Any idea how to speed up network again? 
    This topic first appeared in the Spiceworks Community

  • How do i prevent mozilla from displaying "authentification required" for every page? I am running windows xp on a windows server 2003 network

    it only happens once when I use the browser for the first time after logging in with the administrator account

    I have heard of this situation before, but, like most Apple Mail problems, it is a problem on the recipient's side. There should be no reason that a recipient can't save an inline image from an e-mail message. For years, Apple has bent over backwards to construct messages that PC clients will be able to view. Obviously there are limits as to what they will do.
    If you want to follow the standard procedure and hack up your e-mail for the benefit of others who refuse to upgrade, you can try Attachment Tamer. You could also try Microsoft Outlook. This won't change the underlying problem. It will just make it Microsoft's problem to deal with.

Maybe you are looking for

  • Msi kt3 ultra aru ... Cnet pro200 Ethernet problem..

    Hi guys i have this wierd problem i cant figuer out i just bought a new mobo an msi kt3 ultra aru and amd palamino xp 1800  512 mb kingston pc2700 ram asus geforce (2) v7100 pro mx-400 the ohter stuff i have is imb deskstar 40gb maxtor diamond 7gb as

  • Safari 6 intermittently not loading images or doesn't load pages.

    Not sure if anyone else is having any issues like this. Safari doesn't load pages at all or pictures just do not load at all. It seems like if I restart my browser and try to go to the page again I can get pages to load but not always. Its not the In

  • Corrupted Master File Table on External Hard-Drive(NTFS)

    You could try some data recover software, it should be able to copy the data off for you (as long as there are no physical problems with the HD). Recuva is free, Rstudio is also very good. You will need to have enough space available on another drive

  • Slow Motion sound from FCP doesn't get sent?

    Hi, I recently sent a segment of my FCP movie top STP and found that footage I'd reduced to 50% speed is imported as empty sound files or in one case a different part of the audio track. Has anybody else experienced this? The FCP file is fully render

  • 1 Movie file has video track for appletv & 1 for iphone

    Does anyone know how when you purchase a movie on itunes in HD, you get a beautiful HD movie to watch on your AppleTV that is a fairly large file, but when you choose to sync it to your iphone the movie file is MUCH smaller, made just for the iphone.