Change match by when searching ntp process to ntpd

Change-Id: I828b5829bcf56f4a07944874498db48ab3f58f7e
This commit is contained in:
Michael James Hoppal 2016-09-21 14:24:28 -06:00 committed by Michael James Hoppal
parent 1544d4cb49
commit e1f28a1285
1 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
# (C) Copyright 2015 Hewlett Packard Enterprise Development Company LP
# (C) Copyright 2015,2016 Hewlett Packard Enterprise Development LP
import logging
import os
@ -17,7 +17,7 @@ class Ntp(monasca_setup.detection.Plugin):
def _detect(self):
"""Run detection, set self.available True if the service is detected.
"""
if monasca_setup.detection.find_process_cmdline('ntp') is not None:
if monasca_setup.detection.find_process_cmdline('ntpd') is not None:
self.available = True
def build_config(self):