Skip to content

Commit

Permalink
get status of gluster volumes (#2)
Browse files Browse the repository at this point in the history
  • Loading branch information
scrat14 committed Oct 19, 2018
1 parent dfc1f19 commit 625e96d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions plugin-dir/check_rhv.pl
Original file line number Diff line number Diff line change
Expand Up @@ -453,6 +453,7 @@ sub check_cluster{
check_cstatus("clusterhosts","$o_rhev_cluster") if $o_check eq "hosts";
check_cstatus("clustervms","$o_rhev_cluster") if $o_check eq "vms";
check_istatus("clusters",$o_rhev_cluster,"networks") if $o_check eq "networks";
check_istatus("clusters",$o_rhev_cluster,"glustervolumes") if $o_check eq "glustervolumes";
print_unknown("cluster");
}else{
print "[V] Cluster: No check is specified, checking cluster host status.\n" if $o_verbose >= 2;
Expand Down

0 comments on commit 625e96d

Please sign in to comment.