X-Git-Url: https://git.octo.it/?p=collectd.git;a=blobdiff_plain;f=contrib%2Fexec-nagios.px;h=02bd0a330f202965bb89b351a9e69a44548e74da;hp=938721fc55624977fa89d5ea3a1d289531573b6d;hb=1bb1667d220d07f25c584a41be7f3dfcbc1ad04b;hpb=a158940fd85bbef59a65f593cd8130896f5c44d0 diff --git a/contrib/exec-nagios.px b/contrib/exec-nagios.px index 938721fc..02bd0a33 100755 --- a/contrib/exec-nagios.px +++ b/contrib/exec-nagios.px @@ -23,6 +23,7 @@ use Regexp::Common ('number'); our $ConfigFile = '/etc/exec-nagios.conf'; our $TypeMap = {}; +our $NRPEMap = {}; our $Scripts = []; our $Interval = 300; @@ -40,6 +41,7 @@ config syntax, so it's very similar to the F syntax, too. Here's a short sample config: + NRPEConfig "/etc/nrpe.cfg" Interval 300