Guest

Preview Tool

Cisco Bug: CSCur04958 - Sessionmgr not monitored by Monit in PCRFCLIENT

Last Modified

Dec 26, 2016

Products (1)

  • Cisco Policy Suite for Mobile

Known Affected Releases

7.0.0

Description (partial)

Symptom:
[root@rtpclabqps1g-cc01a ~]# monit summary
The Monit daemon 5.5 uptime: 51m

Program 'db_trap'                   Waiting
Program 'failover_trap'             Waiting
Program 'qps_process_trap'          Waiting
Program 'admin_login_trap'          Waiting
Program 'vm_trap'                   Waiting
Process 'sessionmgr-27720'          Execution failed
Process 'sessionmgr-27719'          Does not exist
Process 'sessionmgr-27718'          Does not exist
Process 'sessionmgr-27717'          Running
Process 'qns-2'                     Execution failed
Process 'qns-1'                     Waiting
Process 'logstash'                  Running
Process 'elasticsearch'             Running
Process 'collectd'                  Not monitored
Process 'carbon-cache'              Running
Process 'carbon-aggregator'         Running
System 'rtpclabqps1g-cc01a'         Running
[root@rtpclabqps1g-cc01a ~]#
[root@rtpclabqps1g-cc01a ~]#

Conditions:
[root@rtpclabqps1g-cc01a broadhop]# ps -aef|grep mongo |grep 27720 |grep 27719 |grep 27718|grep 27717
[root@rtpclabqps1g-cc01a broadhop]#  ps -aef|grep 277
root      4383     1  3 Sep06 ?        15:39:54 /usr/bin/mongod --nojournal --noprealloc --smallfiles --oplogSize 100 --port 27718 --dbpath=/var/data/sessions.2 --replSet set02 --fork --logpath /var/log/mongodb-27718.log --logappend --quiet
root      5956     1  3 Sep06 ?        15:57:20 /usr/bin/mongod --nojournal --noprealloc --smallfiles --oplogSize 100 --port 27719 --dbpath=/var/data/sessions.3 --replSet set03 --fork --logpath /var/log/mongodb-27719.log --logappend --quiet
root      6480     1  2 Sep06 ?        11:25:04 /usr/bin/mongod --nojournal --noprealloc --smallfiles --oplogSize 100 --port 27720 --dbpath=/var/data/sessions.4 --replSet set04 --fork --logpath /var/log/mongodb-27720.log --logappend --quiet
root     14636     1  0 Sep08 ?        00:43:56 /usr/bin/mongod --nojournal --smallfiles --nopreallocj --port 27717 --dbpath=/var/data/sessions.1 --replSet set01 --fork --syslog --quiet --pidfilepath /var/run/sessionmgr-27717.pid --noprealloc --oplogSize 100
qns      16791 16789  5 17:35 ?        00:00:00 mongo sessionmgr21:27717/session_cache
root     16797 11693  0 17:35 pts/4    00:00:00 grep 277
qns      20496     1 13 17:32 ?        00:00:24 /usr/bin/java -server -XX:+UnlockDiagnosticVMOptions -XX:+UnsyncloadClass -XX:MaxPermSize=256m -Xms2048m -Xmx2048m -javaagent:/opt/broadhop/qns-1/bin/jmxagent.jar -Dorg.eclipse.equinox.http.jetty.customizer.class=org.eclipse.rap.jettycustomizer.internal.SessionCookieCustomizer -Dqns.config.dir=/etc/broadhop/pcrf -Dlogback.configurationFile=/etc/broadhop/logback-pb.xml -Djmx.port=9046 -Dorg.osgi.service.http.port=7070 -Dosgi.framework.activeThreadType=normal -Declipse.ignoreApp=true -Dosgi.noShutdown=true -Dqns.instancenum=pb -Dshow.updates.tab=false -Dsession.timeout=9000 -Dsession.db.primary=sessionmgr01 -Dsession.db.secondary=sessionmgr02 -Dsession.db.port=27717 -jar /opt/broadhop/pb/plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar -console 9092 -clean -os linux -ws gtk -arch x86_64 -data /var/broadhop/pb/workspace
[root@rtpclabqps1g-cc01a broadhop]# cd /etc/monit.d/
[root@rtpclabqps1g-cc01a monit.d]# ls
carbon-aggregator  carbon-cache  collectd  elasticsearch  logging  logstash  qns-1  qns-2  sessionmgr-27717  sessionmgr-27718  sessionmgr-27719  sessionmgr-27720  snmp_event_scripts
[root@rtpclabqps1g-cc01a monit.d]# more sessionmgr-27717
check process sessionmgr-27717 with pidfile /var/run/sessionmgr-27717.pid
        start = "/etc/init.d/sessionmgr-27717 start"
        stop = "/etc/init.d/sessionmgr-27717 stop"

[root@rtpclabqps1g-cc01a monit.d]# more /var/run/sessionmgr-27717.pid/var/run/sessionmgr-27717.pid
/var/run/sessionmgr-27717.pid/var/run/sessionmgr-27717.pid: Not a directory
[root@rtpclabqps1g-cc01a monit.d]# more /var/run/sessionmgr-27717.pid
14636
[root@rtpclabqps1g-cc01a monit.d]#
Bug details contain sensitive information and therefore require a Cisco.com account to be viewed.

Bug Details Include

  • Full Description (including symptoms, conditions and workarounds)
  • Status
  • Severity
  • Known Fixed Releases
  • Related Community Discussions
  • Number of Related Support Cases
Bug information is viewable for customers and partners who have a service contract. Registered users can view up to 200 bugs per month without a service contract.