SCOM 2012 - network - monitor all the interfaces except admin down ones

Answered SCOM 2012 - network - monitor all the interfaces except admin down ones

  • Friday, November 16, 2012 12:30 AM
     
     
    Hello, I want to enable network monitoring for all interfaces that are not in administrative shutdown, don't care if is connected or not connected. I want this to be dynamic, ie if I shutdown an interface I want to disable monitoring for that interface. Any idea how to do this? Thanks,

All Replies

  • Friday, November 16, 2012 12:27 PM
    Moderator
     
     Answered

    Hi Ionut235:

    You probably know that you can manually disable or enable port-level monitoring from the Interface Tasks in the Network Node Dashboard of a device.

    As for automating that, and having the automation key on the administrative up/down status of the port is an interesting idea. Out of the box OpsMgr is not going to do that. So you need to invent something. Two approaches:

    #1 - A full-fledged custom management pack that polled for OID changes (the admin status of a port), then took recovery tasks (to disable or enable port-level monitoring) would do the job, but would be a good spot of work. 

    #2 - Use a combination of Orchestrator and PowerShell. The first place I would experiment would be Orchestrator (connected to OpsMgr, so you have the integration pack for OpsMgr installed on Orchestrator). I would also research what you can do with PowerShell and port-level monitoring (if anything, I have no information here). Combine a custom OpsMgr monitor with PowerShells that modify monitoring is an idea.

    Of course the default behavior is to monitor ports that are connected to monitored computers or other monitored network devices. The discovery of these connections and the automatic enable or disable of port level monitoring occurs daily in conjunction with scheduled network device discovery in a process referred to as 'stitching'.

    Good luck,


    John Joyner MVP-SC-CDM

  • Friday, November 16, 2012 4:26 PM
     
     

    Thanks for you replay.

    In a environment with thousands of interfaces enabling/disabling monitors for interfaces will be a very time consuming  job.

    I was thinking a on a powershell script that will check each interface if is in admin down using SNMP gets and update a group membership and have overrides to enable/disable the monitoring using this group.

    I was hopping for something easy that this.