11 lines
185 B
Plaintext
11 lines
185 B
Plaintext
|
#!/usr/bin/perl
|
||
|
|
||
|
require './nagios-lib.pl';
|
||
|
&ReadParse();
|
||
|
&error_setup($text{'start_err'});
|
||
|
|
||
|
my ($err, $out) = exec_cmd('systemctl start nrpe');
|
||
|
&error($out) if ($err);
|
||
|
|
||
|
&redirect("");
|