Nagios Exchange Nagios Exchange
  • Home
  • Directory
  • Library
  • Support
  • About
  • Submit Feedback

Advanced Search

Build precise queries to find exactly what you need

Search Logic

Select compatible versions

Press ESC to close

Sign In Sign Up
  • Home
  • Directory
  • Library
  • Support
  • About
  • Submit Feedback
Plugins4416Themes and Skins13Add-ons768Graphics and Logos36View All Categories
LinuxSecuritySNMPFile SystemCloud
New Listings Recently Updated Listings Most Favored Listings Most Popular Listings Most Rated Listings Most Reviewed Listings
Random Project
Clustering and High-Availability check_hadoop_datanodes_block_balance.pl (Advanced Nagios Plugins Collection)
0.0 (0)
28.6K
RSS Feed
Newest Listings Updated Listings
Top Contributors
deskwork_itunes142 (4)John Shorey (4)Chad Columbus (3)Marcin Bednarski (3)Nick Overstreet (3)
See More
Newest Contributors
Seiichi YAMAMOTO (1)codemasterydevelopers (1)sunilka (1)davidb (1)faddom (1)
See More

Copyright © 2009-2026 Nagios Enterprises, LLC. All rights reserved.

Privacy PolicyTerms of UseTrademarks
Home > Fabio Guidotti
FG

Fabio Guidotti

@networkshark

User Stats

Member Since: October 10, 2020

Favorites0

Views

Projects0

No Projects Found
check_https

Edit code

I removed ipcalc from the code and replaced it with regex, because ipcalc gave errors of missing parameters. ----- CODE ----- [...] # Variables definition # my PID mypid="$$" html_tmp="/tmp/tmp_html.$mypid" rep_tmp="/tmp/tmp_rep.$mypid" add_uri='https://' end_uri='/' PORT='' exit_code=2 regexIPv4="^[0-9]{1,3}.[0-9]{1,3}.[0-9]{1,3}.[0-9]{1,3}$" regexIPv6=".*:.*" [...] # Give some brain to this script. Detect yourself if we are checking an hostname, an ipv4 or an ipv6 if [[ $1 =~ $regexIPv4 ]] then target=ipv4 elif [[ $1 =~ $regexIPv6 ]]; then target=ipv6 else # we consider here cases in which the passed argument is DNS name target=DNS fi [...] ----- CODE -----

Reviewed 6 years ago

No Favorites Found

Copyright © 2009-2026 Nagios Enterprises, LLC. All rights reserved.

Privacy PolicyTerms of UseTrademarks
Home Browse Submit Profile