1
0
mirror of https://github.com/opinkerfi/nagios-plugins.git synced 2024-11-22 18:33:45 +01:00

examples updated

This commit is contained in:
Páll Guðjón Sigurðsson 2010-09-12 23:03:31 +00:00
parent 0d2782836c
commit db7c41f827

View File

@ -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";
} }