| 1 |
#!/usr/bin/perl |
| 2 |
# Copyright 2024 Centreon (http://www.centreon.com/) |
| 3 |
# |
| 4 |
# Centreon is a full-fledged industry-strength solution that meets |
| 5 |
# the needs in IT infrastructure and application monitoring for |
| 6 |
# service performance. |
| 7 |
# |
| 8 |
# Licensed under the Apache License, Version 2.0 (the "License"); |
| 9 |
# you may not use this file except in compliance with the License. |
| 10 |
# You may obtain a copy of the License at |
| 11 |
# |
| 12 |
# http://www.apache.org/licenses/LICENSE-2.0 |
| 13 |
# |
| 14 |
# Unless required by applicable law or agreed to in writing, software |
| 15 |
# distributed under the License is distributed on an "AS IS" BASIS, |
| 16 |
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 17 |
# See the License for the specific language governing permissions and |
| 18 |
# limitations under the License. |
| 19 |
|
| 20 |
use warnings; |
| 21 |
use FindBin; |
| 22 |
use lib "$FindBin::Bin"; |
| 23 |
use centreon::script::centreon_vmware; |
| 24 |
|
| 25 |
centreon::script::centreon_vmware->new()->run(); |
| 26 |
|
| 27 |
__END__ |
| 28 |
|
| 29 |
=head1 NAME |
| 30 |
|
| 31 |
centreon_vmware.pl - a daemon to handle VMWare checks. |
| 32 |
|
| 33 |
=head1 SYNOPSIS |
| 34 |
|
| 35 |
centreon_vmware.pl [options] |
| 36 |
|
| 37 |
=head1 OPTIONS |
| 38 |
|
| 39 |
=over 8 |
| 40 |
|
| 41 |
=item B<--config-extra> |
| 42 |
|
| 43 |
Specify the path to the centreon_vmware configuration file (default: /etc/centreon/centreon_vmware.pm). |
| 44 |
|
| 45 |
=item B<--vault-config> |
| 46 |
|
| 47 |
Full path to the file defining access to the Centreon vault (/etc/centreon-engine/centreonvault.json by default). |
| 48 |
|
| 49 |
=item B<--help> |
| 50 |
|
| 51 |
Print a brief help message and exits. |
| 52 |
|
| 53 |
=back |
| 54 |
|
| 55 |
=head1 DESCRIPTION |
| 56 |
|
| 57 |
B<centreon_vmware.pl> will connect to ESX and/or VirtualCenter. |
| 58 |
To be used with the plugin 'apps::vmware::connector::plugin' from: https://github.com/centreon/centreon-plugins |
| 59 |
|
| 60 |
=cut |