Hi again! I had a new idea, imagine that you want to buy a domain that is busy but is near to expire. Could be great to check the availability of the domain. You can do it in many ways with Pandora FMS, I will show one of them using Goliat, if you know any more methods, show us :) There is a Website that offers whois service and the domain can be passed through the URL. It's www.domaintools.com. We're going to check to domains, only one of them is registered. Registered domain: http://google.com Unregistered domain: (Link not available anymore) We pass the domains to the whois tool with the following result: Registered domain: http://whois.domaintools.com/google.com
(Link not available anymore)
Unregistered domain: http://whois.domaintools.com/iiinnnvvveeennnttteeeddd.com
(Link not available anymore)
We can parse the string: "This domain name is not registered" in a Web server module and when the domain will be free, the module turn from critical to normal status. Then we can configure an alarm that send us an email, for example. The process to create this module is the following:
- Create a "Web server module" of the type "Remote HTTP module to check server response"
- Fill the Web checks box with the following data:
task_begin get http://whois.domaintools.com/iiinnnvvveeennnttteeeddd.com check_string This domain name is not registered task_end Changing the domain for that you want to monitor.
Simple! This is not the best method because we depend on an external tool, and if domaintools.com change their system, our module could fail. Any better idea? :) More info about Goliat: (Link not available anymore)
[

](//pandorafms.com/community/media/forum/0/10590=183-notregistered.png)
[

](//pandorafms.com/community/media/forum/0/10590=184-registered.png)
