What you mean as "process level".. CPU load?


This is impossible (and it makes no sense), because here is checked
if poller process already
launched.
And records information about the process just created (when there is still no load in it).
Kaustubh Parthasarthy, CLSA
29 August 2018 at 10:01

I am trying to get the process level information through observium.

 

Hence I am trying to leverage the script or if there is anything else you guys can assist me or guide me to.


Regards

Kaustubh

 

From: observium [mailto:observium-bounces@observium.org] On Behalf Of Markus Klock
Sent: Wednesday, August 29, 2018 12:29 PM
To: Observium Network Observation System
Subject: Re: [Observium] Get more information on Dashboard for Process consumption

 

What exactly is it that you are trying to accomplish here?

 

/Markus

 

Den ons 29 aug. 2018 kl 07:04 skrev Kaustubh Parthasarthy, CLSA <kaustubh.parthasarthy@clsa.com>:

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.



_______________________________________________
observium mailing list
observium@observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
Markus Klock
29 August 2018 at 09:59
What exactly is it that you are trying to accomplish here?

/Markus

_______________________________________________
observium mailing list
observium@observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
Kaustubh Parthasarthy, CLSA
29 August 2018 at 08:04

# 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.

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.



_______________________________________________
observium mailing list
observium@observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
Adam Armstrong
29 August 2018 at 06:43
There is no script. These are counters pulled from either HOST-RESOURCES-MIB or UCD-MIB via SNMP.

adam.
_______________________________________________
observium mailing list
observium@observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
Kaustubh Parthasarthy, CLSA
29 August 2018 at 06:09

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.

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.



_______________________________________________
observium mailing list
observium@observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium

--
Mike Stupalov
Observium Limited, http://observium.org