mirror of
https://github.com/opinkerfi/nagios-plugins.git
synced 2024-11-22 10:23:46 +01:00
This commit is contained in:
parent
107e71d85c
commit
aee4793de1
@ -196,7 +196,7 @@ my $args;
|
|||||||
#Si on est en local inutile de faire du nrpe
|
#Si on est en local inutile de faire du nrpe
|
||||||
if($opt_H ne "localhost" and $opt_H ne "127.0.0.1") {
|
if($opt_H ne "localhost" and $opt_H ne "127.0.0.1") {
|
||||||
#$cmd = "ssh $opt_u\@$opt_H '$cmd'";
|
#$cmd = "ssh $opt_u\@$opt_H '$cmd'";
|
||||||
$cmd = "/usr/lib64/nagios/plugins/check_nrpe -H $opt_H -c get_disks";
|
$cmd = "/usr/lib/nagios/plugins/check_nrpe -H $opt_H -c get_disks";
|
||||||
#$cmd = "cat /tmp/df";
|
#$cmd = "cat /tmp/df";
|
||||||
#print "$cmd";
|
#print "$cmd";
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user