
Others
check_esg_health
Description:
check vmware esg health via nsx rest api [PERL]
Current Version
1.1.0
Last Release Date
2023-05-22
Compatible With
- Nagios 1.x
- Nagios 2.x
- Nagios 3.x
- Nagios 4.x
- Nagios XI
Owner
License
GPL
Project Notes
check_esg_health
check vmware esg health via nsx rest api [PERL]
prerequisites
This script uses theses libs : REST::Client,Data::Dumper,Getopt::Long,MIME::Base64,LWP::UserAgent,IO::Socket::SSL
to install them you can use cpan :
sudo cpan REST::Client Data::Dumper Getopt::Long MIME::Base64 LWP::UserAgent IO::Socket::SSL
Use case
check_esg_health 1.1.0
Usage: check_esg_health.pl [-v] -U -P -H -N [-S] [-F] [-B
- ]
-v, --verbose
print extra debugging information
-h, --help
print this help message
-S --SSL
Use SSL
-H, --Host=
-
list of service to ignore ex sslvpn, ipsec, nat, routing, syslog, highAvailability, firewall, routing
-F --Forcecritical
Force critical state when edge status is yellow
sample :
check_esg_health.pl -U Username -P Password -H MYNSX_IP_OR_FQDN -S -N EDGENAME -B sslvpn,ipsec,nat
you may get :
OK EDGENAME vm Name EDGENAME-1 OK, vm Name EDGENAME-2 OK, service routing is Applied, service syslog is up, service highAvailability is up, service firewall is Applied
Reviews
(0)
Add a Review
Page Sections
Project Stats
Rating
0 (0)
Favorites
0
Views
1,214