Top 5 Memory n Cpu Consuming Process for windows via nsclie+

An open discussion forum for obtaining help with Nagios Core. Nagios Core users of all experience levels are welcome here. Subforum have been created for the discussion of Nagios Core and Nagios Plugin development.

NOTE: The SourceForge.net mailing lists have been deprecated in favor of this forum in order to expedite support and provide additional features not available on the old mailing list.

Top 5 Memory n Cpu Consuming Process for windows via nsclie+

Postby padu_3891 » Mon Sep 11, 2017 8:22 am

Hi Team,

I got a situation here to show the top 5/10 memory and cpu process when there is a alert . I tried event handler . But am unable to show it in nagios front end .

Please suggest an idea to get it done .
padu_3891
 
Posts: 25
Joined: Thu Sep 05, 2013 10:12 pm

Re: Top 5 Memory n Cpu Consuming Process for windows via nsc

Postby dwasswa » Mon Sep 11, 2017 11:46 am

Hi @ padu_3891,

Here is another topic on the forum where the same question was answered. see below...
https://support.nagios.com/forum/viewtopic.php?f=6&t=36530
User avatar
dwasswa
 
Posts: 58
Joined: Tue Jul 25, 2017 3:32 pm

Re: Top 5 Memory n Cpu Consuming Process for windows via nsc

Postby tacolover101 » Mon Sep 11, 2017 12:00 pm

the link @Derick mentioned is your best bet.

as for bringing it to a front end, that's something you would need to build, or possibly ingest these logs into a central log management place.

to add to this, you could also modify those powershell / bash scripts to make REST calls out to a place with the payload, or even add raw TCP/UDP sending to your favourite log collector.
User avatar
tacolover101
 
Posts: 250
Joined: Mon Apr 10, 2017 11:55 am

Re: Top 5 Memory n Cpu Consuming Process for windows via nsc

Postby dwhitfield » Mon Sep 11, 2017 12:57 pm

tacolover101 wrote:possibly ingest these logs into a central log management place.


If you go that route, let me suggest https://www.nagios.com/products/nagios-log-server/

Let us know if the suggestions above don't work for you.
Be sure to check out our Knowledgebase for helpful articles and solutions!
User avatar
dwhitfield
The Doctor
 
Posts: 3754
Joined: Wed Sep 21, 2016 10:29 am
Location: Nagios Enterprises, LLC

Re: Top 5 Memory n Cpu Consuming Process for windows via nsc

Postby padu_3891 » Wed Sep 13, 2017 11:10 am

Am using nscliet ++ 0.4.1 version and i am unable to achive top 5 process with that .
Still i am looking for a solution.

can anyone help on this .
padu_3891
 
Posts: 25
Joined: Thu Sep 05, 2013 10:12 pm

Re: Top 5 Memory n Cpu Consuming Process for windows via nsc

Postby scottwilkerson » Wed Sep 13, 2017 2:41 pm

Did you try what was suggested by @dwassa above? In that thread it walks through the creation of a custom script you would need and adding the script to NSClient

viewtopic.php?f=6&t=36530
User avatar
scottwilkerson
CTO
 
Posts: 7590
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises


Return to Nagios Core

Who is online

Users browsing this forum: No registered users and 29 guests