vCenter

 View Only
  • 1.  Alerting on high number of processes running?

    Posted Nov 12, 2009 06:11 PM
    Hi,

    Is there anyway I can set up a monitor/alert which will monitor the number of processes of a certain type running,and alert me if they climb above a certain number?

    Specifically, I want to monitor how many php.exe processes are running on a server and alert if it creeps up over about 15?

    I can see in the list of monitoring options, under administration, there is the ability to view the number of running processes, but I cannot find anywhere that this information can be displayed or monitored in the main area of hyperic?

    thanks in advance!

    Phil


  • 2.  RE: Alerting on high number of processes running?

    Posted Nov 13, 2009 12:18 AM
    Hi,

    yes you can. Have a look at the documentaton, especially the Alerting Guide:
    http://support.hyperic.com/display/DOC/Alerting+Guide


    Cheers,
    Mirko


  • 3.  RE: Alerting on high number of processes running?

    Posted Nov 16, 2009 11:19 AM
    Hi, yes thanks, I have looked at that. I understand fully how to set up alerts on individual resources - however, it is the specific of how to monitor and alert on this particular circumstance that I am not sure of - I can't see within the interface - under platforms, services, servers...etc, how I can monitor this particular indicator (number of processes of a particular type, or even number of processes in total that are running)

    thanks,

    Phil


  • 4.  RE: Alerting on high number of processes running?

    Posted Nov 20, 2009 02:06 AM
    If you define a Multiprocess Platform Service, one of the non-default metrics is "Number of Processes". Turn it on under the Metric Data tab.


  • 5.  RE: Alerting on high number of processes running?

    Posted Nov 20, 2009 03:34 PM
    Apologies if I am being dumb....

    But, I have enabled the Metrics...

    Running Processes
    Sleeping Processes
    Total Processes
    (plus several others)

    within Admin->Monitoring Defaults->Win32->Edit Metric Templates
    by ticking them in the list and clicking "Set Selected Metrics as Indicators:". Under the indicator column it says "Yes".

    Now, if I click to view all Win32 platforms, it shows a heading of these metrics, but all have "n/a" as values in them (I have left it long enough for it to have actually started recording values based on the monitoring period)

    If I go to the page for the individual Win32 platform, the metrics are not listed under "All Metrics " in the left side bar, nor anywhere under the "Metric Data" tab.

    If I click to click to show all metrics here, they are listed along with all of the others, but again, with no data collected?

    I feel like I am missing something really fundamental/obvious, but I just can't see it!

    thanks again,
    Phil


  • 6.  RE: Alerting on high number of processes running?

    Posted Dec 04, 2009 05:15 PM
    Setting them as indicators doesn't mean they have a collection interval. Do these metrics have a set collection interval?


  • 7.  RE: Alerting on high number of processes running?

    Posted Dec 04, 2009 05:22 PM
    Certainly under the heading of "collection interval" - there is a value (e.g. 00:05:00, so it looks like they have one set?


  • 8.  RE: Alerting on high number of processes running?

    Posted Dec 07, 2009 04:30 PM
    Try putting the agent servicing this Platform into debug mode and restart it. Perhaps it is failing to collect these metrics for some reason:

    http://support.hyperic.com/display/DOC/Troubleshoot+Agent+Problems#TroubleshootAgentProblems-AgentLogFiles


  • 9.  RE: Alerting on high number of processes running?

    Posted Dec 07, 2009 04:55 PM
    I posted in a separate thread about other metrics that were not being collected.

    Although they were showing as having a collection interval in the admin section, when I went to show "All metrics" on the monitoring pages, no collection interval was showing.

    So I set one in the monitoring defaults anyway, and it now appears to be working.

    Thanks for all your advice though, much appreciated.

    Phil


  • 10.  RE: Alerting on high number of processes running?

    Posted Dec 03, 2009 09:09 PM
    I am not sure about any other method to do this but if you want to use SNMP to do this you could do that. Create a custom SNMP plugin and then try using the hrSystemProcesses OID to monitor the number of processes.