Monitoring open ports and IP adresses on Windows clients

I'm using SCOM 2012 for monitoring system. 
I cannot find how to monitor open ports (TCP, UDP) and IP addresses on Windows based PCs. I need that kind of report for Internal auditors and Security officer.
Is it possible to get Windows Firewall State, collect it in SCOM and prepare report on monthly base?
tnx in advance

I have found a possibility to do this. Hope you understand this and it is helpful. This is a two step process but guess will definitely server the purpose.
Scope: We will be running a tool which will monitor a port (TCP or UDP) for a specific host / IP and will throw a log file.
SCOM will monitor the log file and will throw a alert if the log file contains the string NOT LISTENING (Port not working or unable to open the port) which the program will create the log with the results.
First download the program named: PortQry Command Line Port Scanner Version 2.0 from microsoft using the below link. It is a command line tool.
http://www.microsoft.com/en-in/download/details.aspx?id=17148
Run it using by making a batch file or powershell script using task scheduler as per your time requirement (Every 5 min or 1Hr).
Use this command to monitor a ip / hostname and its port with TCP or UDP.
I have pasted the command file of the program in C:\Port_checker directory so i am using the below syntax
C:\Port_checker\PortQry.exe -N 192.168.1.1 -e 5723 -p UDP -l C:\Port_checker\Result.log /y
-N = Hostname / FQDN of agent or Ip address
-E = Port # what you want to monitor
-P = Protocol (TCP or UDP)
-L = Generate log on the following location and name
/Y = To replace the existing log file name to fresh one without prompt.
The result in the log file will be as follows:
============================
For successful port open:
PortQry Version 2.0 Log File
System Date: Tue Oct 07 09:42:32 2014
Command run:
 C:\PortQryV2\PortQry.exe -N 192.168.1.1 -e 5723 -p UDP -l C:\Portqryv2\Result.log /y
Local computer name:
 192.168.1.2
Querying target system called:
 192.168.1.1
Attempting to resolve name to IP address...
Name resolved to 192.168.1.1
querying...
UDP port 5723 (unknown service): LISTENING
========= end of log file ========= 
  PortQry developed by Tim Rains
For failure port open:
PortQry Version 2.0 Log File
System Date: Tue Oct 07 09:42:32 2014
Command run:
 C:\PortQryV2\PortQry.exe -N 192.168.1.1 -e 5723 -p UDP -l C:\Portqryv2\Result.log /y
Local computer name:
 192.168.1.2
Querying target system called:
 192.168.1.1
Attempting to resolve name to IP address...
Name resolved to 192.168.1.1
querying...
UDP port 5723 (unknown service): NOT
LISTENING
========= end of log file ========= 
  PortQry developed by Tim Rains
Now as per the above results NOT LISTENING Port is blocked or is not opened and LISTENINGmeans
working or port is opened.
So now using SCOM you will monitor the log file Result.log in the location C:\Port_checker\ saying
if NOT LISTENING comes in the log file throw me a alert in SCOM consle or via email.
To configure that alert you need to create a Generic text log alerting Rule which will throw a alert if any thing added in that log which is not to be added and if it is added like NOT
LISTENING then it will throw a alert.
Refer this link on how to open a Generic text log alerting Rule.
http://blogs.technet.com/b/kevinholman/archive/2009/06/20/using-a-generic-text-log-rule-to-monitor-an-ascii-text-file-even-when-the-file-is-a-unc-path.aspx
Gautam.75801

Similar Messages

  • Open .lwp and .123 files in Windows 7

    How do I open .lwp and .123 files in Windows 7?

    Check the lotus pages. Perhaps there is some conversion tool or web-based service that allows to export to more modern formats like MS Office.
    IBM Collaboration Solutions software - Lotus software
    Mylenium

  • Firewall in 10.5, how to open ports and how to manage?

    I am pulling my hair out with the new firewall in 10.5. In 10.4 I could just set ports as I liked in the control panel, in 10.5 there is no such thing.
    I need to for example open port 49999 to allow PageSender to function in my network.
    I need to open port 5901 to work with JollyFast VNC, as port 5900 is used by Apple Remote Desktop and the conflict if they both use the same port.
    Some of these ports I need permanent open like 59999 and others for one session and than close again, like 5901. Again in 10.4 I made the rule in the pref pane, ticked the box and Bob was your uncle. Now?
    I would like to be able to see what ports are open and active on the machine. I have no idea as to where I could see this.
    And at the same time I would like to keep the firewall as closed as possible as I am often on line in hotels etc.
    So I need help, is there a manual somewhere someone is aware of? Or do you have any answers?

    The new Application Firewall does not work in the same way as IPFW (the main firewall in 10.4).
    Instead of managing ports, it simply controls the access of applications to any port. Thus, if you want PageSender to receive connections, you simply need to switch the firewall to "Set access for specific services and applications", and then add PageSender to the list, with "Allow incoming connections". When you do this, PageSender will be able to receive connections on any port that it needs to.
    If you don't like this method of controlling connections, you can still use IPFW. Apple has removed the GUI, but you can download a GUI application like [NoobProof|http://www.hanynet.com/noobproof> or [WaterRoof|http://www.hanynet.com/waterroof/index.html], and you can then set access for specific ports.
    There are no problems with using both IPFW and Application Firewall.
    Cheers,
    Rodney

  • Not able to open pdf and adobe reader on windows xp sp3.

    Hello,
    I am not able to open pdf and adobe reader on my windows xp sp3 computer. I have reinstalled adobe reader 11.0.3 twice, but, no luck. I would appreciate if you could help me in resolving this issue. Thanks in advance.
    Regards,
    Venkata

    You can try using this tool to first remove all traces of Reader from your computer:
    http://labs.adobe.com/downloads/acrobatcleaner.html
    Then, you can download the full offline Reader installer from
    http://get.adobe.com/reader/enterprise/
    After downloading, restart your computer and run the installer before doing anything else.

  • I need to open ports, and nothing I've read seems to help me

    I have an aiport express, it's my only router.  it's connected directly to my cable modem (TWC).  I have no firewall for incoming (there's no options for outgoing) no matter what combination of settings I use, I can't seem to get more than port 5000 open. Why 5000?  and why can't I get any other port open?

    There are heaps of posts here about how to open ports on apple routers specifically for xboxes.
    AirPort Extreme and xbox 360

  • Oracle on Solaris and JAVA app on Windows clients

    hi im currently developing a JAVA app that accesses the data from an Oracle databse, these apps all running on windows clients. Im wondering the best way to access the database? is the JDBC the only way to do this.. thanks in advance

    Yes, you can download a JDBC driver from Oracle. I think this site might do it:
    http://otn.oracle.com/software/tech/java/sqlj_jdbc/content.html
    I'm assuming that you're using the JDBC-ODBC bridge driver now to get into Access. You'll just have to change the name of the JDBC driver class and the database URL to connect to Oracle.
    Once you have it, you'll have to make sure you put it in the right place for your app. If it's a Web-based app, it'll depend on the container you're running.
    - MOD

  • Firefox always opens maximized and does not save window size unless I delete localstore.rdf

    I use Linux MInt 13 with Cinnamon 1.6.7. Since the updates to Firefox 17 came through the update manager, the program always opens maximized, no matter what state I close it in. When I de-maximize, it comes up in a different size and position than the last time.
    Some googling turned up that this can be due to a corrupted localstore.rdf file, and indeed the window sizing works properly if I delete that before starting.
    It also works propoerly in safe mode, but even a fresh install without any add-ons, search engines or anything opens in window mode at first startup, but will always open in the same place as the first time after I move and close it, and if I resize it, it goes back to always opening maximized.
    Any help to fix this would be greatly appreciated.

    Hello norumaru, did you try to [https://support.mozilla.org/en-US/kb/troubleshoot-extensions-themes-to-fix-problems#w_turn-off-hardware-acceleration Turn off hardware acceleration] ? (in safe mode hardware acceleration is disable).
    thank you

  • Unable to open .xls and .xlsx files from windows explorer or from Microsoft outlook using MS Office 2007

    When I double click on an .xls or .xlsx file Excel will open up, but I never see the file open up.
    If I right click on the excel file and say open with excel I then get the following error:
    "Windows cannot find file c:\test\test.xls.  Make sure you typed the name correctly, and then try again...."
    Everywhere I looked seems to indicate the file associations was messed up so per a technical document I deleted the .xls and .xlsx association and then ran the Office 2007 repair and rebooted.  Still not working even after office puts the .xls and .xlsx
    file associations in.
    Here is what I see the in .xls and .xlsx for the &Open action:
    Application: "C:\Program Files\Microsoft Office\Office12\EXCEL.EXE" /e
    UseDDE: Checked
    DDE Message: [open("%1")]
    Any guidance would be appreciated!
    Greg

    In the ened I had to go into Excel Options, Advanced, General, and uncheck the "ignore other applicaitons....".  BUT this only worked after doing the Office 2007 repair.

  • Checking for open ports and looking for unauthorized traffic

    I would like to know if there is an easy way to look at all the ports on the computer and if so how to determine which one are authorized and how to detect suspicious traffic. thanks
    Jeff

    Jeff,
    Here are a few links to help you answer your question:
    1. Using a firewall to protect your computer
    2. Setting advanced firewall options
    3. How Firewalls Work
    These sites will test your installation:
    1. Sheilds UP!
    2. Sygate Online Services
    If you are worried about suspicious traffic, Little Snitch is often recommended. It listed in Detecting and avoiding malware and spyware, by Dr. Smoke.
    ;~)

  • Is there a VI to monitor CPU and memory usage on wINDOWS 2000 system ?

    I want to monitor CPU usage and available memory for Windows 2000 computer. Is there a VI that can call the task mngr. via a DLL to provide this information in real time ?

    There was a nice example using .NET technology, but it seems the link has changed and I cannot find it anymore. See this older thread for some clues.
    Does anyone know what happened to the target of the original link in my old post?
    Edit: Found it here.Message Edited by altenbach on 04-29-2005 12:42 PM
    LabVIEW Champion . Do more with less code and in less time .

  • Ports and clicks layer

    Hi everyone,
    I've finally started using Logic 7 (even though I bought it when it first came out in the UK). It's resolved my midi issues but I have a simple question.
    Does anyone know where the ports and clicks have gone to in the environment window?
    Instead of a drop down menu bar - I have several graphical icons saying midi, input, track, inst, aux, bus, output.
    but no clicks and ports.
    and in the midi window - there are graphical representations of inputs. I just want the grided box i'm familiar with and a window where I can select multi instruments.
    I've looked at the manual and it says that this should be there upon opening the environment. Maybe I'm being thick but I can't see it and I don't know if I need to alter my preferences in order to see it.
    Thanks for your help.

    Ah yes, it was me being thick. I think I'm getting slow in my old age. I must have spent half a day trying to work this out, and I still couldn't manage!
    Thanks for your help,
    Andrew

  • Photo shop openes up and says it cant function any more then shuts down

    the program open sup and gives 2 options windows trys to fine a solution on tnternet and then shuts down or shut down help

    You have not provided any system information or other technical details like what version of PS, so nobody can tel lyou anything.
    Mylenium

  • RV215W inbound rules with control ip - cannot open port 25

    I have the exact same router, exact same firmware and the this exact same problem.  I cannot open port 25 and specify a range of IP addresses.  This is simply not working.  What do we have to do to get this to work correctly?  When I port forward the SMTP service it allows all IP's and works fine.  When i try to use an Access Rule, it does not work.  Can someone from CISCO help please?  Thanks,

    It's not just single port forwarding that has bugs, the entire router has bugs and simply does not work as advertised. I have found the following bugs/aspects of this router that just does not work correctly: 1. If you have to open ports, and who doesn’t, this router will eventually stop accepting packets from WAN>LAN. You will still have Internet access but no open ports. A reboot will fix this problem. Oh, by the way, this router has no scheduled reboot option! ••ßThat would be a workaround but a welcome one for this router. 2. Firewall Access rules do not work!! Yep, a Cisco router and basic functionality simply does not work. I called Cisco and even though the tech saw the router not working denied it was a bug! Said we have to do port mirroring, setup a workstation with WireShark and capture packets so we can debug the issues! I told him I would have appreciated if Cisco would have debugged the issues with their router BEFOR they shipped the units. Stay away from Cisco Small Business Routers. I wish I had. And if there are any Cisco die-hards out there willing to prove me wrong, just reply to this and please, prove me wrong that the RV series and specifically the RV215W is not JUNK.

  • Application Error - Impossible to login with windows client

    Hello all,
    We recently installed Primavera P6 v8.2 to replace Primavera P3.
    We Installed the database on a server (SQLEXPRESS) and we installed Primavera windows client on several computers and since this morning we have an access problem to the database trough these client.
    After login, this message appear:
    "Exception EAccessViolation in module PM.exe at 0043BFBF.
    Access violation at adress 0083BFBF in module 'PM.exe'. Read of address 00000381."
    We have created and worked on multiple projects for 2-3 weeks without problem before this morning.
    The fact is that we can login and access to the database and projects with the Web client.
    the problem is that we can't work with this web client. (to slow, to small ...)
    Does anyone already have this problem?
    Thank you very much in advance.

    You're not alone: Unable to login P6 R8.2 Professional Application
    Can someone submit an incident report?

  • I have a dvr and I want to monitor from my phone.  this worked when I had a Belkin router that let me open ports.  I use "canyouseeme" and it can't see 80, 9000 or 1025. How do I make them available?

    I have a Lorex DVR that I want to monitor from my IPhone and IPad.  I used to be able to do this when I had a Belkin router (easy to open ports) but I bought the AirPort Extreme router and no longer have that capability.  When I use "canyouseeme" they can NOT see 80, 9000 or 1025.  Lorex says I need them all available in order to access.  Help!  And all the help I see refers to a earlier version of the AirPort Utility so I cant use those to look at anything, I cant find the same screens, I have version 6.1 (610.31).  I also don't really understand how ports work, so I need a pretty basic explanation.

    Well...I went to the modem (Westell, WireSpeed), found the NAT settings, once again, I'm WAY over my head, I am assuming this is a TCP connection (as opposed to a UDP) and per Lorex my mobile devices will use port 1025.  So I gave it a "global port range" of 1-10 and I indicated that the "base host port" was 80, 1025, & 9000 (ports 1,2,3).  When I selected the 'enable' it asked for a "host devise" my choices are my IPhone, IMac and the IP address for the dvr, so I choose the dvr.  I still cannot connect and canyouseeme still can NOT find these open ports.  This is taking up my whole day! I don't know how people figure this stuff out.

Maybe you are looking for