Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
check_esg_health
1.1.0
2023-05-22
- Nagios 1.x
- Nagios 2.x
- Nagios 3.x
- Nagios 4.x
- Nagios XI
GPL
1244
Meet The New Nagios Core Services Platform
Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.
Monitoring Made Magically Better
- Nagios Core on Overdrive
- Powerful Monitoring Dashboards
- Time-Saving Configuration Wizards
- Open Source Powered Monitoring On Steroids
- And So Much More!
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
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
- ]
-v, --verbose
print extra debugging information
-h, --help
print this help message
-S --SSL
Use SSL
-H, --Host=
Hostname or IP of the nsx server
-U, --User=
User for webservice authentication
-P,--Password=
Password for webservice authentication
-N --Name=
Name of the edge to check
-B --Blacklist=
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)
Be the first to review this listing!