Nagios-Webmin-Module/start_nrpe.cgi

11 lines
185 B
Plaintext
Raw Permalink Normal View History

2024-01-29 17:00:16 +00:00
#!/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("");