nrpe check_proc is given false alert & count

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
rishikeshms
Posts: 2
Joined: Thu Jul 16, 2015 12:18 pm

nrpe check_proc is given false alert & count

Post by rishikeshms »

Team,

We are running a nagios core monitoring server version 3.4.1 with nrpe service. We are monitoring the tomcat process with specific arguments example command[check_procs_tom]=/usr/local/nagios/libexec/check_procs -c 1:1 -a org.apache.catalina.startup.Bootstrap. But in few occurrence we are getting a alert (false alert ) Tomcat is CRITICAL:PROCS CRITICAL: 2 processes with args org.apache.catalina.startup.Bootstrap.

But when checked in the server, i do see only one process is running with the arguments. What could be the exact issue or am i missing something here. This is not happening frequently, but once in a while it occurs in all the tomcat servers.

please help.
jolson
Attack Rabbit
Posts: 2560
Joined: Thu Feb 12, 2015 12:40 pm

Re: nrpe check_proc is given false alert & count

Post by jolson »

It's quite likely that the plugin is not reporting incorrectly. The next time that this happens, could you check on the server immediately to see whether or not the two services do exist? It's possible that the two services only co-exist for a few seconds or minutes at a time, which is why you might not catch it when you log into the server manually.
Twits Blog
Show me a man who lives alone and has a perpetually clean kitchen, and 8 times out of 9 I'll show you a man with detestable spiritual qualities.
rishikeshms
Posts: 2
Joined: Thu Jul 16, 2015 12:18 pm

Re: nrpe check_proc is given false alert & count

Post by rishikeshms »

Thanks for the response. I will check next time and keep posted. BTW , is there any other way to find out through logs or some other application how it determined ?
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: nrpe check_proc is given false alert & count

Post by tgriep »

You could check the Tomcat logs on the server around the time that the Alert was generated to see if there are any clues in it.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked