Archived community.zenoss.org | full text search
Skip navigation
3906 Views 11 Replies Latest reply: Mar 27, 2013 10:27 AM by Mark Clegg RSS
Mark Clegg Rank: White Belt 8 posts since
Nov 19, 2012
Currently Being Moderated

Jan 8, 2013 11:26 AM

Core4: How to add a new Windows Service to be monitored?

Hi

 

I'm trying to add a new windows service to the list of services to be monitored, but the new service isn't being discovered or reported against on the selected devices.

 

Other services/event log etc are reporting correctly so I know that WMI\DCOM security is setup correctly.

 

The service I'm trying to add is the Microsoft SCCM Agent, so I've created a new windows service by clicking the Add Service option under Infrastructure / Windows Services,  as follows

 

Name:                          CcmExec
Description:                  SMS Agent Host

Service Keys:               CcmExec

Monitored Start modes: Auto

 

I'm pretty sure I've got this right, (Except for Service Keys: - what is that?)

 

If I go to the device itself, re-model it, and goto Windows Services under Components, the newly added service doesn't appear, but I can then add it manually. 

zenwin.log then lists the service as running for the device when it's polled, but within the Zenoss web console, it jsut shows as unknown.  When the device is next re-modelled, however, it is removed from the list.

 

Have I missed a step here, I want to add this service to all our monitored Windows devices so that it's picked up automatically during modelling.

 

Thanks in advance

Mark

  • hydruid Rank: Green Belt 262 posts since
    Nov 5, 2012

    Mark,

     

    Did you set the Microsoft SCCM Agent service on the server to start automatically? Unless I'm mistaken, Zenoss will monitor each service that is set to start automatically.

     

    I will test on one of my servers to confirm this functionality.

     

    Hydruid

  • hydruid Rank: Green Belt 262 posts since
    Nov 5, 2012

    Mark,

     

    I was wrong.....I changed a service from manual to automatic and started it, then remodeled the server, and the new service did not show up.

     

    I will look into this and let you know what I find out!

     

    Hydruid

  • hydruid Rank: Green Belt 262 posts since
    Nov 5, 2012

    Mark,

     

    I was able to manually add a service to be monitored. Is the CcmExec you mentioned a service (controllable thru services.msc) or is it only a process that is running (ex. CcmExec.exe) ?

     

    Hydruid

  • hydruid Rank: Green Belt 262 posts since
    Nov 5, 2012

    Mark,

     

    I found the solution

     

    Add the service like you did before, and it will show up as 'Status Unknown'.

     

    Then go to Infrastructure -> Windows Services -> Click on the CcmExec Service -> for Enable Monitoring? (zMonitor) Set Local Value: Yes

     

    Remodel the server and it should change it to 'Status Up'!!!!

     

    Hydruid

  • hydruid Rank: Green Belt 262 posts since
    Nov 5, 2012

    Mark,

     

    Alternatively you could add the service back, make the changes I mentioned,

    and then 'Lock' the service. The lock will stop it from being

    changed/removed after a remodel.

     

    Hydruid

  • hydruid Rank: Green Belt 262 posts since
    Nov 5, 2012

    I just saw that too! Time to upgrade

More Like This

  • Retrieving data ...

Legend

  • Correct Answers - 4 points
  • Helpful Answers - 2 points