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

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
Plugins4387Themes and Skins11Add-ons734Documentation283Graphics 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
Videos Nagios Server Install Bash Script (version 1.0) by nighthawk8001
0.0 (0)
95.7K
RSS Feed
Newest Listings Updated Listings
Top Contributors
Julien DESMAREST (6)LAMY (6)Davide Lemma (4)deskwork_itunes142 (4)Joerg Hoerter (3)
See More
Newest Contributors
Guillaume8723 (1)Salvo (1)SOHA-IT (1)Tsvetomir Tsvetanov (1)Igor Ru (1)
See More

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

Privacy PolicyTerms of UseTrademarks
Home > Joe McShinsky
JM

Joe McShinsky

@utahluge

User Stats

Member Since: August 10, 2011

Favorites0

Views0

Projects2

check_domain_jwhois.sh
Internet Domains and WHOIS
check_domain_jwhois.sh
Bash script plugin to alert on expiring domain names. Uses jwhois (developed on CentOS). Warning at 30 days, critical at 14.
3.5 (2)
28.8K
0
Joe McShinsky
check_traceroute.sh
* Routing
check_traceroute.sh
Bash Script To Check The 1st & 2nd Hop Of Your Network
0.0 (0)
100K
0
Joe McShinsky
Check Nessus Scans

Nice work :) Slight Critical/Warning Modification

I modified the end of this to give critical to any critical issues. Then if nothing critical, it checks for any high alerts which outputs as a warning. ########### if [[ $CRIT_VULNS -gt $CRITICAL_THRESHOLD ]]; then echo "CRITICAL - There are $CRIT_VULNS critical and $HIGH_VULNS high vulnerabilities in $TARGET_SCAN. | $PERF_DATA" exit 2 elif [[ $HIGH_VULNS -gt $WARNING_THRESHOLD ]]; then echo "WARNING - There are $CRIT_VULNS critical and $HIGH_VULNS high vulnerabilities in $TARGET_SCAN. | $PERF_DATA" exit 1 else echo "OK - There are $CRIT_VULNS critical and $HIGH_VULNS high vulnerabilities in $TARGET_SCAN. | $PERF_DATA" exit 0 fi echo "UNKNOWN - Check script output" exit 3

Reviewed 9 years ago

check_ssl_cert_expiry

One that works!

After trying a bunch of other ssl cert plugins, this one works right out of the box on a minimal install O.S. Thank you very much!

Reviewed 10 years ago

check_disk_inodes

Perfect with a wrapper :)

Hey nice work. I wrote a little wrapper for this to check on every mount point. A little more dynamic for systems where a mount point may get missed by accident. #! /bin/bash # Wrapper script for check_hdd_inodes # Checks all mount points in one easy output if [ $# -ne 2 ] then echo "Usage: $0 [warn %] [crit %]" exit 3 fi loc="/usr/local/bin/check_hdd_inodes" out="" for s in `df -ilP | cut -d"%" -f2 | grep "/"` do getStat=`$loc -w $1 -c $2 -p $s` out=`echo -e "$getStat $out"` done out=`echo "$out" | sed s/"|"/"n "/g` if [ `echo "$out" | cut -d";" -f1 | grep CRITICAL | wc -l` -gt 0 ] then echo -e "CRITICAL: inodes above $1 % threshold. Click service name for more info. $out" exit 2 elif [ `echo "$out" | cut -d";" -f1 | grep WARNING | wc -l` -gt 0 ] then echo -e "WARNING: inodes above $1 % threshold. Click service name for more info. $out" exit 1 elif [ `echo "$out" | cut -d";" -f1 | grep OK | wc -l` -gt 0 ] then echo -e "OK: inodes below thresholds. Click service name for more info. $out" exit 0 fi echo "Oops; something went wrong :(" exit 3

Reviewed 9 years ago

No Favorites Found

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

Privacy PolicyTerms of UseTrademarks
Home Browse Submit Profile