- edited description
Monit gives false alert - process does not exist
Hi Team,
Monit throwing false alert. even process running monit alerting as process does not exist and exist. please advice.
check process rqp matching rqp
start program = "/home/xamine/bin/rqp start"
stop program "/home/xamine/bin/rqp stop"
if failed port 9005 type TCP then restart
if 3 restarts within 5 cycles then alert
Comments (7)
-
repo owner -
repo owner Hi, few questions:
- which platform it is?
- under which user is monit running?
- please provide output of "monit procmatch rqp"
- please provide output of "ps -ef | grep rqp"
-
- which platform it is? - Linux <host name> 2.6.32-573.el6.x86_64
#1SMP Thu Jul 23 03:43:06 PDT 2015 x86_64 x86_64 x86_64 GNU/Linux under which user is monit running? root please provide output of "monit procmatch rqp"
am not sure if below is the info, if not can you help me where to check i took from var/log/messages Nov 10 05:24:02 <host name> monit[3920]: 'rqp' process is not running Nov 10 05:24:02 <host name> monit[3920]: 'rqp' exec: /opt/monit/bin/alert_logger Nov 10 05:24:02 <host name>monit: <wpm admin><Application><><4><rqp><rqp-<host name>: rqp: process is not running>
please provide output of "ps -ef | grep rqp"
xamine 3630 2905 12 04:21 ? 00:12:29 /usr/java/jdk1.8.0_31/bin/java -Dcom.sun.management.jmxremote.port=9005 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -Xms512m -Xmx1024m -Djava.awt.headless=true -XX:MaxPermSize=128M -XX:+HeapDumpOnOutOfMemoryError -XX:OnOutOfMemoryError=\ -classpath :/wm/apps/rqp/current/etc:/wm/apps/rqp/current/lib/java-core-1.6.172.jar:/wm/apps/rqp/current/lib/commons-collections-3.2.2.jar:/wm/apps/rqp/current/lib/loggly-1.0-beta-5.jar:/wm/apps/rqp/current/lib/slf4j-jdk14-1.5.6.jar:/wm/apps/rqp/current/lib/slf4j-api-1.5.6.jar:/wm/apps/rqp/current/lib/mongo-java-driver-2.13.2.jar:/wm/apps/rqp/current/lib/reflections-0.9.8.jar:/wm/apps/rqp/current/lib/javassist-3.12.1.GA.jar:/wm/apps/rqp/current/lib/rhino-1.7.6.jar:/wm/apps/rqp/current/lib/sitebricks-0.8.3.jar:/wm/apps/rqp/current/lib/mvel2-2.0.18.jar:/wm/apps/rqp/current/lib/guava-r07.jar:/wm/apps/rqp/current/lib/annotations-7.0.3.jar:/wm/apps/rqp/current/lib/commons-lang-2.5.jar:/wm/apps/rqp/current/lib/dom4j-1.6.1.jar:/wm/apps/rqp/current/lib/jaxen-1.1.1.jar:/wm/apps/rqp/current/lib/jdom-1.0.jar:/wm/apps/rqp/current/lib/xom-1.0.jar:/wm/apps/rqp/current/lib/xmlParserAPIs-2.6.2.jar:/wm/apps/rqp/current/lib/xalan-2.6.0.jar:/wm/apps/rqp/current/lib/icu4j-2.6.1.jar:/wm/apps/rqp/current/lib/saxpath-1.0-FCS.jar:/wm/apps/rqp/current/lib/servlet-api-2.5.jar:/wm/apps/rqp/current/lib/xstream-1.3.1.jar:/wm/apps/rqp/current/lib/xpp3_min-1.1.4c.jar:/wm/apps/rqp/current/lib/jsoup-1.4.1.jar:/wm/apps/rqp/current/lib/freemarker-2.3.10.jar:/wm/apps/rqp/current/lib/guice-multibindings-3.0.jar:/wm/apps/rqp/current/lib/jackson-core-asl-1.7.1.jar:/wm/apps/rqp/current/lib/jackson-mapper-asl-1.7.1.jar:/wm/apps/rqp/current/lib/commons-httpclient-3.1.jar:/wm/apps/rqp/current/lib/commons-logging-1.0.4.jar:/wm/apps/rqp/current/lib/commons-codec-1.2.jar:/wm/apps/rqp/current/lib/httpclient-4.0.jar:/wm/apps/rqp/current/lib/httpcore-4.0.1.jar:/wm/apps/rqp/current/lib/httpmime-4.0.jar:/wm/apps/rqp/current/lib/apache-mime4j-0.6.jar:/wm/apps/rqp/current/lib/commons-io-1.3.2.jar:/wm/apps/rqp/current/lib/jopt-simple-3.2.jar:/wm/apps/rqp/current/lib/ant-1.8.2.jar:/wm/apps/rqp/current/lib/ant-launcher-1.8.2.jar:/wm/apps/rqp/current/lib/bcprov-jdk16-1.43.jar:/wm/apps/rqp/current/lib/jetty-server-7.3.0.v20110203.jar:/wm/apps/rqp/current/lib/jetty-continuation-7.3.0.v20110203.jar:/wm/apps/rqp/current/lib/jetty-http-7.3.0.v20110203.jar:/wm/apps/rqp/current/lib/jetty-io-7.3.0.v20110203.jar:/wm/apps/rqp/current/lib/jetty-util-7.3.0.v20110203.jar:/wm/apps/rqp/current/lib/jetty-servlet-7.3.0.v20110203.jar:/wm/apps/rqp/current/lib/jetty-security-7.3.0.v20110203.jar:/wm/apps/rqp/current/lib/guice-3.0.jar:/wm/apps/rqp/current/lib/javax.inject-1.jar:/wm/apps/rqp/current/lib/aopalliance-1.0.jar:/wm/apps/rqp/current/lib/guice-servlet-3.0.jar:/wm/apps/rqp/current/lib/jcip-annotations-1.0.jar:/wm/apps/rqp/current/lib/agent-shared-4.31.15.jar:/wm/apps/rqp/current/lib/test-scripts-shared-1.4.382.jar:/wm/apps/rqp/current/lib/morphia-0.99.jar:/wm/apps/rqp/current/lib/validation-api-1.0.0.GA.jar:/wm/apps/rqp/current/lib/typica-1.7.2.jar:/wm/apps/rqp/current/lib/json-20090211.jar:/wm/apps/rqp/current/lib/amqp-client-3.5.4.jar:/wm/apps/rqp/current/lib/mysql-connector-java-5.1.12.jar:/wm/apps/rqp/current/lib/commons-pool-1.5.5.jar:/wm/apps/rqp/current/lib/uuid-3.2.jar:/wm/apps/rqp/current/lib/jedis-2.6.0.jar:/wm/apps/rqp/current/lib/commons-pool2-2.0.jar:/wm/apps/rqp/current/lib/rqp-1.1.178.jar -Dapp.name=rqp -Dapp.pid=3630 -Dapp.repo=/wm/apps/rqp/current/lib -Dbasedir=/wm/apps/rqp/current com.webmetrics.monitoring.rqp.Main
- which platform it is? - Linux <host name> 2.6.32-573.el6.x86_64
-
repo owner The command-line is very long (ca. 3.5kB), but it should work - which monit version do you use? (monit -V). Monit 5.25.0 command-line limit is currently 4kB.
-
Unable to get the version, $ monit -V -bash: monit: command not found
but i have installed monit-5.8.1-4.x86_64.rpm
-
repo owner Please try to upgrade monit ... i think version 5.8.1 had lower command-line limit (1kB).
You can build monit RPM from the source code this way:
rpmbuild -tb monit-5.25.0.tar.gz
-
repo owner - changed status to closed
- Log in to comment