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
Plugins4391Themes and Skins12Add-ons742Documentation283Graphics 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
Log Files check_octopussy.pl – Nagios Plugin that checks Octopussy
0.0 (0)
101.2K
RSS Feed
Newest Listings Updated Listings
Top Contributors
Julien DESMAREST (6)LAMY (6)deskwork_itunes142 (4)Davide Lemma (4)Marius (2)
See More
Newest Contributors
sowoii (1)Nitatemic (1)cjdepaul (1)ixs (1)messefreeze (2)
See More

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

Privacy PolicyTerms of UseTrademarks
Home > Kirk Hammond
KH

Kirk Hammond

@Kirk

User Stats

Member Since: February 24, 2012

Favorites1

Views867

Projects7

Barracuda Reputation Alert
Postfix
Barracuda Reputation Alert
The Barracuda Networks RBL can be a hassle to deal with. While not frequent some of my servers end up on the Barracuda RBL and…
3.0 (1)
41.5K
0
Kirk Hammond
GPL
check_cpu.py
Linux
check_cpu.py
Python script that returns overall and per-core utilization monitoring. Supports graphing in pnp4nagios
0.0 (0)
58.3K
1
Kirk Hammond
GPL
HTTP String Match – Python
Websites, Forms and Transactions
HTTP String Match – Python
This is a python script that checks a web page for a case insensitive string match.
5.0 (2)
42.7K
0
Kirk Hammond
GPL
NFS Check
Monitoring Agents
NFS Check
Shell script that checks to ensure NFS mounted directory is writable and lists current open files in that directory. Mimics the behavior of lsof -N…
0.0 (0)
9.6K
0
Kirk Hammond
BSD
OpenBSD 5 nrpe restart script
Monitoring Agents
OpenBSD 5 nrpe restart script
I wrote a script to reload nrpe on OpenBSD. You can easily start nrpe at boot up, but I grew tired of manually killing then…
0.0 (0)
76.3K
0
Kirk Hammond
GPL
Postgresql 9.3 Streaming Replication Delay
PostgresQL
Postgresql 9.3 Streaming Replication Delay
Python script to check and graph the delay in seconds from your primary to your hot standby PostgreSQL 9.3 server.
0.0 (0)
10.3K
0
Kirk Hammond
GPL
Python Memory Check (psutil)
Memory
Python Memory Check (psutil)
Improved memory check using Python, specifically the psutil library.
0.0 (0)
8.6K
0
Kirk Hammond
GPL
check_domain (new one)

Great plugin

This is working great for me. I modified the output so that the number of days is always shown last, it makes it much easier to scan down the list for me. I also created a dummy host that loops back to the nagius server (127.0.0.1) named "Domain-Expiration-Checks" then created a custom command and service checks for each domain. This requires quite a bit more typing and configuration but it keeps the domain checks under a host and not cluttering up my top level host view in Nagios. I highly suggest that you limits on how often your whois services check to avoid whois rate control on your nagios server. I created a once daily time frame that only checks from midnight to 12:30 then used the following values in each service to get 1 check per day per domain. normal_check_interval 30 max_check_attempts 1 check_period once-daily I also added support for .ms and .us domains. then TYPE=ms WHOIS_SERVER="whois.nic.ms" elif [ ${DLTYPE} == 'us' ]; then TYPE=us WHOIS_SERVER="whois.nic.us" else # for .ms domains elif [ $TYPE == 'ms' ]; then day=`cat ${FILE} | awk '/Registry/' | cut -d ' ' -f4 | cut -d T -f1 | cut -d '-' -f3` month=`cat ${FILE} | awk '/Registry/' | cut -d ' ' -f4 | cut -d T -f1 | cut -d '-' -f2` getmonth() { case $month in 01) echo jan ;; 02) echo feb ;; 03) echo mar ;; 04) echo apr ;; 05) echo may ;; 06) echo jun ;; 07) echo jul ;; 08) echo aug ;; 09) echo sep ;; 10) echo oct ;; 11) echo nov ;; 12) echo dec ;; *) echo 0 ;; esac } year=`cat ${FILE} | awk '/Registry/' | cut -d ' ' -f4 | cut -d T -f1 | cut -d '-' -f1` expiration=$day-$(getmonth ${2})-$year # for .us domains elif [ $TYPE == 'us' ]; then day=`cat ${FILE} | awk '/Domain Expiration Date:/' | cut -d ' ' -f27` month=`cat ${FILE} | awk '/Domain Expiration Date:/' | cut -d ' ' -f26` year=`cat ${FILE} | awk '/Domain Expiration Date:/' | cut -d ' ' -f30` expiration=$day-$month-$year Great plugin, thanks for your efforts in writing it.

Reviewed 13 years ago

check_domain

CentOS 6.3 change to who is

To get this to work on CentOS I had to modify line 60 to this: expiration=`whois communitect.com |grep "Expires"| awk -F":" '{print $2}'|cut -f 1` The who is "Expires on" string varied from what the program is looking for.

Reviewed 13 years ago

check_mem.pl

OpenBSD 5 + NPRE

This memory check works and graphs in pnp4nagios. I am running Nagios on Centos 6 and monitoring remote OpenBSD servers with check_nrpe. One issue I notice is it's showing MB values with KB next to them, so in my graph 66kb is actually 66MB. This check also does not include the OS cache for OpenBSD, not a huge issue if you just note what the overhead of your cache is. Nice work. This is the only memory check I could find that works and graphs for remote OpenBSD 5 servers using check_nrpe.

Reviewed 14 years ago

No Favorites Found

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

Privacy PolicyTerms of UseTrademarks
Home Browse Submit Profile