Skip to main content

Protocol WHOIS

Pack Assets​


The Centreon Pack WHOIS brings a host template:

  • App-Protocol-Whois-custom

It brings the following service template:

Service AliasService TemplateDefaultDiscovery

Collected metrics & status​

Metric nameDescriptionUnit
domain statusDomain status: checkError, notRegistered,...
domain_name#whois.response.time.millisecondsTime to retrieve whois domain informationms
domain_name#domain.expires.secondsRegistration expiration times


To monitor your domains, the system command whois must be operational.


  1. Install the Centreon package on every Centreon poller expected to monitor Protocol WHOIS resources:
yum install centreon-plugin-Applications-Protocol-Whois
  1. On the Centreon web interface, install the Protocol WHOIS Centreon Pack on the Configuration > Monitoring Connector Manager page.



  • Log into Centreon and add a new host through Configuration > Hosts.
  • Fill the Name, Alias & IP Address / DNS fields according to your Protocol WHOIS domain settings.
  • Apply the App-Protocol-Whois-custom template to the host.
  • Once the template is applied, fill in the corresponding macros. Some macros are mandatory.
PROTOCOLWHOISEXTRAOPTIONSAny extra option you may want to add to the command (eg. a --verbose flag)

How to check in the CLI that the configuration is OK and what are the main options for?​

Once the plugin is installed, log into your Centreon poller's CLI using the centreon-engine user account (su - centreon-engine) and test the plugin by running the following command:

/usr/lib/centreon/plugins/ \
--plugin=apps::protocols::whois::plugin \
--mode=domain \
--domain='' \
--domain='' \

The expected command output is shown below:

OK: All domains are ok | ''=237ms;;;0; ''=27417843s;;;0; ''=125ms;;;0; ''=24120041s;;;0;
checking domain ''
whois reponse time: 237 ms
status: clientDeleteProhibited,clientTransferProhibited,clientDeleteProhibited,clientTransferProhibited
expires in 10M 1w 5d 23h 13m 33s
checking domain ''
whois reponse time: 125 ms
status: ACTIVE
expires in 9M 5d 5h 39m 14s

All available options for a given mode can be displayed by adding the --help parameter to the command:

/usr/lib/centreon/plugins/ \
--plugin=apps::protocols::whois::plugin \
--mode=domain \

All available modes can be displayed by adding the --list-mode parameter to the command:

/usr/lib/centreon/plugins/ \
--plugin=apps::protocols::whois::plugin \


Please find the troubleshooting documentation for plugins in this chapter.