Posts Tagged ‘nagios’

0

check_domain_es – Nagios, Check Spanish Domain Names

Friday, January 28, 2011
posted by otioti

Hi everybody,

some time ago, I was looking for a plugin for nagios that let me check Domain Names .es, for Spain, but all plugins cannot check this kind of domain names.

So, I decided to create new one. It’s very easy to use, it’s like check_domain plugin:

check_domain_es – v%s
Copyright (c) 2011 Juan Pedro Escalona Rueda <jpescalona@otioti.com> under GPL License
This plugin checks the expiration date of a domain name.
Usage: check_domain_es -h | -d <domain> [-c <critical>] [-w <warning>]
NOTE: -d must be specified
-h: Print detailed help
-d: domain name to check
-w: Response time to result in warning status (days). 30 days by default
-c: Response time to result in critical status (days). 7 days by default
This plugin will use whois service to get the expiration date for the domain name.
Example:
check_domain_es.py -d iavante.es -w 30 -c 10
You can visit project web page here: https://code.google.com/p/nagios-check-domain-es/