For ntp process checks only look for processes whose parent is init - on freebsd...
authorPeter Palfrader <peter@palfrader.org>
Wed, 3 Feb 2010 10:22:14 +0000 (11:22 +0100)
committerPeter Palfrader <peter@palfrader.org>
Wed, 3 Feb 2010 10:22:14 +0000 (11:22 +0100)
config/nagios-master.cfg

index c7fed74..c73930e 100644 (file)
@@ -1206,9 +1206,7 @@ services:
  ###
   -
     name: process - ntpd
-    # sarge: nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u root -C ntpd -a '/usr/sbin/ntpd -p /var/run/ntpd.pid'"
-    # etch: nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -u ntp -C ntpd -a '/usr/sbin/ntpd -p /var/run/ntpd.pid'"
-    nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -C ntpd -a '/usr/sbin/ntpd -p /var/run/ntpd.pid'"
+    nrpe: "/usr/lib/nagios/plugins/check_procs -w 1:1 -c 1: -p 1 -C ntpd -a '/usr/sbin/ntpd -p /var/run/ntpd.pid'"
     hostgroups: computers
     excludehosts: zelenka
   -