Skip to Content
avatar image
Former Member

unix proces ntp gives wrong procescount in rz20

Hi admins,

I am trying to set up "ntp" process monitoring with ccm4x

I configured a ini file in /usr/sap/tmp/procmon called "P02_ABAP_30_procmon.ini"

The content of this file is:

=============================================

$PROC

  1. Check if CUPS is running

cupsd USER=root CUSTOMGROUP=LINUXOSCOL

  1. Check if the Name Server Cache Deamon is running

nscd USER=root CUSTOMGROUP=LINUXOSCOL

  1. Check if the Time service is running

ntp USER=ntp CUSTOMGROUP=LINUXOSCOL

$

============================================

the processes are:

cups

root 15795 15751 0 Nov11 ? 00:00:00 socket://gn016p01.gn016.kpn-post.nl:9100/ 1 a01adm 0008fj8b.A01 1 /var/spool/cups/d00001-001

nscd

root 4542 1 0 Oct29 ? 00:00:27 /usr/sbin/nscd

ntpd

ntp 3708 1 0 Oct29 ? 00:00:01 /usr/sbin/ntpd -p /var/lib/ntp/var/run/ntp/ntpd.pid -u ntp -i /var/lib/ntp

In RZ20, under

=> SAP CCMS Monitor Templates

+ cia01_A01_10

+ Monitored Processes

+ ntp

[ ] ntp: Process Count 0

+ nscd

[ ] root: Process Count 1

+ cupsd

[ ] root: Process Count 1

Why is the ntp process giving a count of 0 (zero)?

The other processes do give a count of 1 (one)

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Nov 14, 2009 at 01:33 PM

    should you not monitor ntpd ?

    Add comment
    10|10000 characters needed characters exceeded

    • just a small follow up:

      I would stil narrow down the generality:

      - see if *ntp works

      - if not see if ntp* works

      Most commom issue is that its started as (for example) /sbin/ntp *ntp would then work , but also /sbin/ntp

      problem is that if you now start tommorow a new process containt "ntp" this will also counten.

      Don't forget to do the ultimate test:

      kill ntp and check if you have count 0 !

  • Nov 16, 2009 at 05:55 PM

    from this doc: (page 81)

    [http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/d724f879-0901-0010-219b-af6665b95fee&overridelayout=true]

    I learn that processes can be monitord via ntp, can you widen your check to ntp?

    maybe allso remove the USER part ( for testing only)

    can you also post the log from

    Windows:
    <host>saplocprfclog; UNIX: /usr/sap/tmp/logmon

    Add comment
    10|10000 characters needed characters exceeded