Ryan Loudfoot
137a8577d8
Add more acceptable paths to whereis command, as per further testing.
2014-09-06 17:46:48 -04:00
Ryan Loudfoot
b07b3d5edc
Added nil to the (commented) MONTH array for future use, so that each array element corresponds with it's desired month, like = 'may'.
2014-09-06 17:27:48 -04:00
Ryan Loudfoot
24614212fb
Version 1.0! Now use whereis to find the binary. Updated --help with the -P switch. Remove unnecessary variable.
2014-09-06 17:13:19 -04:00
Elyrith
8b2bbf4274
Merge pull request #5 from jackbenny/master
...
Bumped version (forgot it in my previous commit)
2014-06-28 14:46:25 -04:00
c00ed3bf20
Bumped version (forgot it in my previous commit)
2014-06-28 15:18:19 +02:00
Elyrith
5b7c79d62e
Merge pull request #4 from jackbenny/master
...
Added support for .org TLD
2014-06-26 18:29:11 -04:00
9bba50e20b
Updated readme to reflect support for .org TLD
2014-06-26 20:19:19 +02:00
2c1b78a1c6
Added support for .org TLD and updated 'Currently supports'-line
2014-06-26 20:15:02 +02:00
Ryan Loudfoot
d38da3473e
Update info for 0.98.
2014-02-21 20:48:35 -05:00
Ryan Loudfoot
8d420adfe3
Fix some comment spacing and update version number.
2014-02-21 20:48:01 -05:00
Ryan Loudfoot
7833c20aae
I need to test more. Re-added variable for whois command. It's a variable in case we want to do something with it later, such as options for whois host.
2014-02-21 20:27:50 -05:00
Ryan Loudfoot
02b3509b56
Remove godaddy.com check for .ca domains because it didn't work anymore.
2014-02-21 20:23:32 -05:00
Ryan Loudfoot
651d6b4fa7
Add .nu thanks to Jack-Benny
2013-12-16 21:15:09 -05:00
Ryan Loudfoot
4ff31eb1d9
Remove old attempts by Ryan
2013-12-16 21:14:46 -05:00
5e75c187ce
Added support for .nu TLD
2013-12-13 22:42:08 +01:00
Ryan Loudfoot
c638dbc675
Increment version number
2013-11-28 17:58:04 -05:00
Ryan Loudfoot
f1b3dac6d9
Add Jack-Benny thanks for .net fix
2013-11-28 17:57:44 -05:00
01a2007336
Added support for .net TLD
2013-11-28 23:22:05 +01:00
Ryan Loudfoot
5f79f0f9f3
Updated as per Vidar from shellcheck.net.
...
Email received from Vidar:
Hi,
On line 53 in the script, getopt is used with -u:
-u, --unquoted
Do not quote the output. Note that whitespace and special
(shell-dependent) characters can cause havoc in this mode (like
they do with other getopt(1) implementations).
This havoc is basically what Shellcheck is warning about.
Unfortunately it's not simply a matter of quoting the variable, since the
underlying problem is the way getopt is used.
Instead of -u, you can use -s bash, and then eval instead of word split:
args=$(getopt -o hd:w:c:P: --long help,domain:,warning:,critical:,path: -s
bash -n "$PROGRAM" -- "$@")
...
eval "set -- $args"
This way, no havoc is caused, and no shellcheck errors are reported.
Regards,
Vidar
2013-11-03 18:11:48 -05:00
Ryan Loudfoot
c6471330d6
Update my (Ryan) email address and fix utils.sh check (-a deprecated, using -e now)
2013-11-02 12:19:10 -04:00
Ryan Loudfoot
8358bd7f09
One pass through spellcheck.net. Hiccup on line: set --
2013-11-02 11:14:27 -04:00
Elyrith
0999905ff0
Use GoDaddy whois for .ca now.
2013-10-02 20:13:31 -04:00
Elyrith
58e813d162
Lower-case readme file name and add changelog to it.
2013-09-06 19:30:22 -04:00
Elyrith
e46bb45634
Loudfoot.com whois info no longer necessary with new .com method.
2013-09-06 19:18:17 -04:00
Elyrith
b3a65ef141
Version 0.92 - New .com method which works for more domains.
2013-09-06 19:17:49 -04:00
Elyrith
783be8a36a
Add example of a .com that check_domain doesn't work for.
2013-08-24 23:34:01 -04:00
Elyrith
23adc98cdc
Add check for utils.sh. See note on line 33.
2013-08-23 17:08:06 -04:00
Elyrith
59a503a218
Changed to numbering versions.
2013-08-22 22:11:19 -04:00
Elyrith
595c3cc03b
Add nagios exit state constants
2013-08-22 22:10:09 -04:00
Elyrith
2df597f8df
Not sure when, but all the output lines got commented out. Fixed.
2013-08-21 23:44:26 -04:00
Elyrith
f84ac3e093
Ubuntu whois broke .com checks. This fixes it by searching for a different string.
2013-08-20 17:26:52 -04:00
Elyrith
d205948548
Update README with info about requesting more TLDs
2013-08-09 18:16:43 -04:00
Elyrith
9fd6774670
General maintenance. Create README, update repo URL, etc.
2013-06-04 17:56:05 -04:00
Elyrith
bb78e81d15
Move from Bitbucket to GitHub
2013-06-04 17:09:35 -04:00