mirror of
https://github.com/opinkerfi/nagios-plugins.git
synced 2024-11-26 04:13:46 +01:00
examples updated
This commit is contained in:
parent
0d2782836c
commit
db7c41f827
@ -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/lib/nagios/plugins/check_nrpe -H $opt_H -c get_disks";
|
$cmd = "/usr/lib64/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