Page 1 of 1
Monitoring The Number of Processes
Posted: Mon Jul 28, 2014 12:45 pm
by rdhall01
I have had process monitoring in place for awhile, it monitors java processes and the time they have been up!. I have been using the check_proc_age plugin and it was working perfectly! We recently added another application that runs a java process and it runs as an agent, but know the monitoring numbers are skewed by an additional processes as well as it reports as the oldest! How can I get back to monitoring the 2 specific java instances without havaing to stop the agent from running (or excluding this one from the plugin)? Any help would be greatly appreciated on this one. I looked in the exchange but there is not a plugin for this already in place
Nagios XI 2014R1.3
Re: Monitoring The Number of Processes
Posted: Mon Jul 28, 2014 12:47 pm
by sreinhardt
Do you have a link to the check_proc_age plugin? Maybe there is a usage flag to exclude processes by name or regex.
Re: Monitoring The Number of Processes
Posted: Tue Jul 29, 2014 9:12 am
by rdhall01
The plugin will not work even if you give the full path for the process and user account it still sees all 3 process from the same path and the same user. So its back to the drawing board to monitor the homegrown application. Unlees anyone has some input:
Example I have an running twice so there are 2 java processes running
We used to check for the java processes and check the age and after a set time it would alert (basically to say the process needed to be restarted, because the automation didnt run)
Newly added Sumo Logic agent now adds a third java process and will always have the lomgest runtime as it runs as an agent!
Re: Monitoring The Number of Processes
Posted: Tue Jul 29, 2014 1:31 pm
by sreinhardt
Well, again I'd be happy to look over check_proc_age, maybe there is a small tweak we can do to make it suite your needs. Otherwise is this a windows or linux system, maybe we know of something that will do this already.