Ticket #380 (new enhancement)

Opened 21 months ago

CheckProcState - extend with CPU & memory usages

Reported by: Tontonitch Owned by: mickem
Priority: 1 Milestone:
Component: CheckSystem Version: 0.3.7
Severity: Feature Requests Keywords:
Cc:

Description

Hi,

It would be interesting to extend the functionnalities provided by CheckProcState, with the total/average cpu/memory usages for the matched process(es). It's indeed very useful when looking for process memory leak, or simply to keep resource usages for a particular process (via the performance data).

I currently use a modified version of the check_snmp_process plugin from Manubulon. However, this is the last kind of checks that I do without NSClient++ (via snmp).

Exemple of output:

Status Information:

1 process matching nsclient (> 0), Mem: 8.8Mb OK, Cpu: 0% OK

Performance Data:

Ramused=9203712o CpuUsed?=0.0398671096345515 nbProcess=1

Regards,

Yannick

Note: See TracTickets for help on using tickets.