I configured the command for this plugin but need to know how i add the custom template supplied with this plugin in nagiosXI. i.e check_ps.php (PNP template)
on the core config manager -> services -> add new -> manage template .. here i am not finding the template uploaded.. whats when wrong.
Am i following right step in installed a plugin with graph template to make it use.
or is there any other way to get the "sum of all oracle user CPU% and MEM%" every 10 min in nagiosxi.. .. I am trying here to monitor individual user to find how much cpu and memory it occupies with time to time..
Kindly shed some light on.. as i m new in configuring nagiosxi.
The Graph template is just used to format the output of the performance graph, and it will do it automatically if you named the command that you created check_ps
This is not a service template, that is something different...
./check_ps.sh -h
Version 1.0, 2009, Mike Adolphs (http://www.matejunkie.com/)
check_ps.sh is a Nagios plugin to check a specific process via ps.
You may provide any string as an argument to match a specific
process. Please note that the output could be distorted if the
argument matches various processes, so please make sure to use
unique strings to match a process.
check_ps.sh -p firefox [-w 10] [-c 20] [-t cpu]
Options:
-p/--process)
You need to provide a string for which the ps output is then
then "greped".
-w/--warning)
Defines a warning level for a target which is explained
below. Default is: off
-c/--critical)
Defines a critical level for a target which is explained
below. Default is: off
-t/--target)
A target can be defined via -t. Choose between cpu and mem.
Default is: mem
Be sure to check out our Knowledgebase for helpful articles and solutions!
thanks for reply.. i remove the -H flag. it shows what it suppose to do. but limit to unique process. where there are more than one process run under a user.
I am in search of a plugin which shows the Per User CPU and MEM. and graph it.
Say i installed oracle with oracle user.. then i use the oracle user to get the CPU% and MEM% of sum of all oracle process run by oracle user .
Currently i am using top command in bash.
Is this can be achieved by nagiosXI..? per user CPU and MEM detail.?
I don't believe that such plugin is currently available (at least I didn't find anything like it on the Nagios Exchange).
This is a very good idea, though and I can see how this could be useful. We can develop a custom plugin for you with this functionality.
If you are interested, please, contact our sales department at sales@nagios.com, and ask for a quote on a custom development. Thank you!
Be sure to check out our Knowledgebase for helpful articles and solutions!