# write into db current process info

p_query = """INSERT INTO `observium_processes` (`process_pid`,`process_ppid`,`process_name`,`process_uid`,`process_command`,`process_start`,`device_id`)

             VALUES (%s,%s,%s,%s,%s,%s,'0')"""

try:

  cursor.execute(p_query, (pid,ppid,scriptname,uid,command,s_time))

  process_id = db.insert_id()

  db.commit()

except:

  pass

 

Can I leverage the above for process level info ?


Regards

Kaustubh

 

From: Kaustubh Parthasarthy, CLSA
Sent: Wednesday, August 29, 2018 10:32 AM
To: observium@observium.org
Subject: RE: [Observium] Get more information on Dashboard for Process consumption

 

I found the poller-wrapper.py script

 

Was thinking if I can do some customization on this script. Can you experts please suggest something

 

Regards

Kaustubh

 

From: observium [mailto:observium-bounces@observium.org] On Behalf Of Adam Armstrong
Sent: Wednesday, August 29, 2018 9:14 AM
To: observium@observium.org
Subject: Re: [Observium] Get more information on Dashboard for Process consumption

 

There is no script. These are counters pulled from either HOST-RESOURCES-MIB or UCD-MIB via SNMP.

 

adam.

On 2018-08-29 04:09:55, Kaustubh Parthasarthy, CLSA <kaustubh.parthasarthy@clsa.com> wrote:

Ok,

 

Can you let me know what script observium uses to pull the performance data ? There has to be script which is running on the system correct.


Regards

Kaustubh

 

From: observium [mailto:observium-bounces@observium.org] On Behalf Of Adam Armstrong
Sent: Tuesday, August 28, 2018 6:45 PM
To: observium@observium.org
Subject: Re: [Observium] Get more information on Dashboard for Process consumption

 

Hi,

 

We don't currently collect per-process statistics.

 

adam.

On 2018-08-28 04:34:55, Kaustubh Parthasarthy, CLSA <kaustubh.parthasarthy@clsa.com> wrote:

I have been using observium for few months now. I wanted some info from the graphs that observium spins off.

 

Following is the graphs for running process consumption:

 

 

Can I get something like top 10 process graphs?

 

Let me give you an example, I sometimes get requests from folks asking, “Ok my memory utilization on a server ABC was 90% on this particular day. Can we get list of processes consuming high memory on that particular day ?

 

So as per this, can I customize the graph to get process level info ?

 

Kaustubh Parthasarthy

Analyst, Production Management Group

D  +91 20 6646 8625  |  M  +91 989 284 4625  |  T  +91 20 6646 8888

4/F, C-Wing, Panchshil Tech Park-1, Yerawada, Pune 411006, India

 

:1. Social Media Icons:CLSA_Social Media Icons_linkedin.png:1. Social Media Icons:CLSA_Social Media Icons_twitter.png:1. Social Media Icons:CLSA_Social Media Icons_youtube.png:1. Social Media Icons:CLSA_Social Media Icons_facebook.png

 

clsa.com

Insights. Liquidity. Capital.

 

CLSA_RGB

 

A CITIC Securities Company

 

The content of this communication is intended for the recipient and is subject to CLSA Legal and Regulatory Notices.
These can be viewed at
https://www.clsa.com/disclaimer.html or sent to you upon request.
Please consider before printing. CLSA is ISO14001 certified and committed to reducing its impact on the environment.

The content of this communication is intended for the recipient and is subject to CLSA Legal and Regulatory Notices.
These can be viewed at
https://www.clsa.com/disclaimer.html or sent to you upon request.
Please consider before printing. CLSA is ISO14001 certified and committed to reducing its impact on the environment.

The content of this communication is intended for the recipient and is subject to CLSA Legal and Regulatory Notices.
These can be viewed at https://www.clsa.com/disclaimer.html or sent to you upon request.

Please consider before printing. CLSA is ISO14001 certified and committed to reducing its impact on the environment.