summaryrefslogtreecommitdiff
path: root/manifests/agent/ps.pp
blob: 67a999f5423267acce17dc0b5e5dccf21278348a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
define check_mk::agent::ps (
  # procname and levels have defaults in check_mk::ps
  $procname = undef,
  $levels = undef,
  # user is optional
  $user = undef
) {

  @@check_mk::ps { "${::fqdn}_${name}":
    desc     => $name,
    host     => $::fqdn,
    procname => $procname,
    user     => $user,
    levels   => $levels,
    tag      => 'check_mk_ps';
  }
}