{"id":1589,"date":"2017-08-04T11:12:21","date_gmt":"2017-08-04T15:12:21","guid":{"rendered":"https:\/\/easy-admin.ca\/?p=1589"},"modified":"2017-08-09T21:47:28","modified_gmt":"2017-08-10T01:47:28","slug":"how-to-install-nagios-4-and-monitor-your-servers-on-centos-7","status":"publish","type":"post","link":"https:\/\/easy-admin.ca\/index.php\/2017\/08\/04\/how-to-install-nagios-4-and-monitor-your-servers-on-centos-7\/","title":{"rendered":"How To Install Nagios 4 ! Monitor Your Servers on CentOS 7"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1590\" src=\"https:\/\/easy-admin.ca\/wp-content\/uploads\/2017\/08\/Nagios.png\" alt=\"\" width=\"936\" height=\"801\" srcset=\"https:\/\/easy-admin.ca\/wp-content\/uploads\/2017\/08\/Nagios.png 936w, https:\/\/easy-admin.ca\/wp-content\/uploads\/2017\/08\/Nagios-300x257.png 300w, https:\/\/easy-admin.ca\/wp-content\/uploads\/2017\/08\/Nagios-768x657.png 768w\" sizes=\"auto, (max-width: 936px) 100vw, 936px\" \/><\/p>\n<h2 id=\"install-nagios-4\">Install Nagios 4<\/h2>\n<p>This section will cover how to install Nagios 4 on your monitoring server. You only need to complete this section once.<\/p>\n<h3 id=\"install-build-dependencies\">Install Build Dependencies<\/h3>\n<p>Because we are building Nagios Core from source, we must install a few development libraries that will allow us to complete the build.<\/p>\n<p>First, install the required packages:<\/p>\n<pre class=\"code-pre \"><code>sudo yum install gcc glibc glibc-common gd gd-devel make net-snmp openssl-devel xinetd unzip\r\n<\/code><\/pre>\n<h3 id=\"create-nagios-user-and-group\">Create Nagios User and Group<\/h3>\n<p>We must create a user and group that will run the Nagios process. Create a &#8220;nagios&#8221; user and &#8220;nagcmd&#8221; group, then add the user to the group with these commands:<\/p>\n<pre class=\"code-pre \"><code>sudo useradd nagios\r\nsudo groupadd nagcmd\r\nsudo usermod -a -G nagcmd nagios\r\n<\/code><\/pre>\n<p>Let&#8217;s install Nagios now.<\/p>\n<h3 id=\"install-nagios-core\">Install Nagios Core<\/h3>\n<p>Download the source code for the latest stable release of Nagios Core. Go to the <a href=\"http:\/\/www.nagios.org\/download\/core-stay-informed\">Nagios downloads page<\/a>, and click the <strong>Skip to download<\/strong> link below the form. Copy the link address for the latest stable release so you can download it to your Nagios server.<\/p>\n<p>At the time of this writing, the latest stable release is Nagios 4.1.1. Download it to your home directory with curl:<\/p>\n<pre class=\"code-pre \"><code>cd ~\r\ncurl -L -O https:\/\/assets.nagios.com\/downloads\/nagioscore\/releases\/nagios-<span class=\"highlight\">4.1.1<\/span>.tar.gz\r\n<\/code><\/pre>\n<p>Extract the Nagios archive with this command:<\/p>\n<pre class=\"code-pre \"><code>tar xvf nagios-*.tar.gz\r\n<\/code><\/pre>\n<p>Then change to the extracted directory:<\/p>\n<pre class=\"code-pre \"><code>cd nagios-<span class=\"highlight\">*<\/span>\r\n<\/code><\/pre>\n<p>Before building Nagios, we must configure it with this command:<\/p>\n<pre class=\"code-pre \"><code>.\/configure --with-command-group=nagcmd \r\n<\/code><\/pre>\n<p>Now compile Nagios with this command:<\/p>\n<pre class=\"code-pre \"><code>make all\r\n<\/code><\/pre>\n<p>Now we can run these make commands to install Nagios, init scripts, and sample configuration files:<\/p>\n<pre class=\"code-pre \"><code>sudo make install\r\nsudo make install-commandmode\r\nsudo make install-init\r\nsudo make install-config\r\nsudo make install-webconf\r\n<\/code><\/pre>\n<p>In order to issue external commands via the web interface to Nagios, we must add the web server user, <code>apache<\/code>, to the <code>nagcmd<\/code> group:<\/p>\n<pre class=\"code-pre command\"><code>sudo usermod -G nagcmd apach<\/code><\/pre>\n<h3 id=\"install-nagios-plugins\">Install Nagios Plugins<\/h3>\n<p>Find the latest release of Nagios Plugins here: <a href=\"http:\/\/nagios-plugins.org\/download\/?C=M;O=D\">Nagios Plugins Download<\/a>. Copy the link address for the latest version, and copy the link address so you can download it to your Nagios server.<\/p>\n<p>At the time of this writing, the latest version is Nagios Plugins 2.1.1. Download it to your home directory with curl:<\/p>\n<pre class=\"code-pre \"><code>cd ~\r\ncurl -L -O http:\/\/nagios-plugins.org\/download\/nagios-plugins-<span class=\"highlight\">2.1.1<\/span>.tar.gz\r\n<\/code><\/pre>\n<p>Extract Nagios Plugins archive with this command:<\/p>\n<pre class=\"code-pre \"><code>tar xvf nagios-plugins-*.tar.gz\r\n<\/code><\/pre>\n<p>Then change to the extracted directory:<\/p>\n<pre class=\"code-pre \"><code>cd nagios-plugins-*\r\n<\/code><\/pre>\n<p>Before building Nagios Plugins, we must configure it. Use this command:<\/p>\n<pre class=\"code-pre \"><code>.\/configure --with-nagios-user=nagios --with-nagios-group=nagios --with-openssl\r\n<\/code><\/pre>\n<p>Now compile Nagios Plugins with this command:<\/p>\n<pre class=\"code-pre \"><code>make\r\n<\/code><\/pre>\n<p>Then install it with this command:<\/p>\n<pre class=\"code-pre \"><code>sudo make install\r\n<\/code><\/pre>\n<h3 id=\"install-nrpe\">Install NRPE<\/h3>\n<p>Find the source code for the latest stable release of NRPE at the <a href=\"http:\/\/sourceforge.net\/projects\/nagios\/files\/nrpe-2.x\/\">NRPE downloads page<\/a>. Download the latest version to your Nagios server.<\/p>\n<p>At the time of this writing, the latest release is 2.15. Download it to your home directory with curl:<\/p>\n<ul class=\"prefixed\">\n<li class=\"line\">cd ~<\/li>\n<li class=\"line\">curl -L -O http:\/\/downloads.sourceforge.net\/project\/nagios\/nrpe-2.x\/<span class=\"highlight\">nrpe-2.15\/nrpe-2.15<\/span>.tar.gz<\/li>\n<\/ul>\n<p>Extract the NRPE archive with this command:<\/p>\n<ul class=\"prefixed\">\n<li class=\"line\">tar xvf nrpe-*.tar.gz<\/li>\n<\/ul>\n<p>Then change to the extracted directory:<\/p>\n<ul class=\"prefixed\">\n<li class=\"line\">cd nrpe-*<\/li>\n<\/ul>\n<p>Configure NRPE with these commands:<\/p>\n<ul class=\"prefixed\">\n<li class=\"line\">.\/configure &#8211;enable-command-args &#8211;with-nagios-user=nagios &#8211;with-nagios-group=nagios &#8211;with-ssl=\/usr\/bin\/openssl &#8211;with-ssl-lib=\/usr\/lib\/x86_64-linux-gnu<\/li>\n<\/ul>\n<p>Now build and install NRPE and its xinetd startup script with these commands:<\/p>\n<ul class=\"prefixed\">\n<li class=\"line\">make all<\/li>\n<li class=\"line\">sudo make install<\/li>\n<li class=\"line\">sudo make install-xinetd<\/li>\n<li class=\"line\">sudo make install-daemon-config<\/li>\n<\/ul>\n<p>Open the xinetd startup script in an editor:<\/p>\n<ul class=\"prefixed\">\n<li class=\"line\">sudo vi \/etc\/xinetd.d\/nrpe<\/li>\n<\/ul>\n<p>Modify the <code>only_from<\/code> line by adding the private IP address of the your Nagios server to the end (substitute in the actual IP address of your server):<\/p>\n<pre class=\"code-pre \"><code>only_from = 127.0.0.1 <span class=\"highlight\">10.132.224.168<\/span>\r\n<\/code><\/pre>\n<p>Save and exit. Only the Nagios server will be allowed to communicate with NRPE.<\/p>\n<p>Restart the xinetd service to start NRPE:<\/p>\n<ul class=\"prefixed\">\n<li class=\"line\">sudo service xinetd restart<\/li>\n<\/ul>\n<p>Now that Nagios 4 is installed, we need to configure it.<\/p>\n<div data-unique=\"configure-nagios\"><\/div>\n<h2 id=\"configure-nagios\">Configure Nagios<\/h2>\n<p>Now let&#8217;s perform the initial Nagios configuration. You only need to perform this section once, on your Nagios server.<\/p>\n<h3 id=\"organize-nagios-configuration\">Organize Nagios Configuration<\/h3>\n<p>Open the main Nagios configuration file in your favorite text editor. We&#8217;ll use vi to edit the file:<\/p>\n<pre class=\"code-pre \"><code>sudo vi \/usr\/local\/nagios\/etc\/nagios.cfg\r\n<\/code><\/pre>\n<p>Now find an uncomment this line by deleting the <code>#<\/code>:<\/p>\n<pre class=\"code-pre \"><code>#cfg_dir=\/usr\/local\/nagios\/etc\/servers\r\n<\/code><\/pre>\n<p>Save and exit.<\/p>\n<p>Now create the directory that will store the configuration file for each server that you will monitor:<\/p>\n<pre class=\"code-pre \"><code>sudo mkdir \/usr\/local\/nagios\/etc\/servers\r\n<\/code><\/pre>\n<h3 id=\"configure-nagios-contacts\">Configure Nagios Contacts<\/h3>\n<p>Open the Nagios contacts configuration in your favorite text editor. We&#8217;ll use vi to edit the file:<\/p>\n<pre class=\"code-pre \"><code>sudo vi \/usr\/local\/nagios\/etc\/objects\/contacts.cfg\r\n<\/code><\/pre>\n<p>Find the email directive, and replace its value (the highlighted part) with your own email address:<\/p>\n<pre class=\"code-pre \"><code>email                           <span class=\"highlight\">nagios@localhost<\/span>        ; &lt;&lt;***** CHANGE THIS TO YOUR EMAIL ADDRESS ******\r\n<\/code><\/pre>\n<p>Save and exit.<\/p>\n<h3 id=\"configure-check_nrpe-command\">Configure check_nrpe Command<\/h3>\n<p>Let&#8217;s add a new command to our Nagios configuration:<\/p>\n<ul class=\"prefixed\">\n<li class=\"line\">sudo vi \/usr\/local\/nagios\/etc\/objects\/commands.cfg<\/li>\n<\/ul>\n<p>Add the following to the end of the file:<\/p>\n<pre class=\"code-pre \"><code>define command{\r\n        command_name check_nrpe\r\n        command_line $USER1$\/check_nrpe -H $HOSTADDRESS$ -c $ARG1$\r\n}\r\n<\/code><\/pre>\n<p>Save and exit. This allows you to use the <code>check_nrpe<\/code> command in your Nagios service definitions.<\/p>\n<h3 id=\"configure-apache\">Configure Apache<\/h3>\n<p>Use htpasswd to create an admin user, called &#8220;nagiosadmin&#8221;, that can access the Nagios web interface:<\/p>\n<pre class=\"code-pre \"><code>sudo htpasswd -c \/usr\/local\/nagios\/etc\/htpasswd.users <span class=\"highlight\">nagiosadmin<\/span>\r\n<\/code><\/pre>\n<p>Enter a password at the prompt. Remember this login, as you will need it to access the Nagios web interface.<\/p>\n<p><span class=\"note\"><strong>Note:<\/strong> If you create a user that is not named &#8220;nagiosadmin&#8221;, you will need to edit <code>\/usr\/local\/nagios\/etc\/cgi.cfg<\/code> and change all the &#8220;nagiosadmin&#8221; references to the user you created.<br \/>\n<\/span><\/p>\n<p>Nagios is ready to be started. Let&#8217;s do that, and restart Apache:<\/p>\n<pre class=\"code-pre \"><code>sudo systemctl start nagios.service\r\nsudo systemctl restart httpd.service\r\n<\/code><\/pre>\n<p>To enable Nagios to start on server boot, run this command:<\/p>\n<pre class=\"code-pre \"><code>sudo chkconfig nagios on\r\n<\/code><\/pre>\n<h4 id=\"optional-restrict-access-by-ip-address\">Optional: Restrict Access by IP Address<\/h4>\n<p>If you want to restrict the IP addresses that can access the Nagios web interface, you will want to edit the Apache configuration file:<\/p>\n<pre class=\"code-pre \"><code>sudo vi \/etc\/httpd\/conf.d\/nagios.conf\r\n<\/code><\/pre>\n<p>Find and comment the following two lines by adding <code>#<\/code> symbols in front of them:<\/p>\n<pre class=\"code-pre \"><code>Order allow,deny\r\nAllow from all\r\n<\/code><\/pre>\n<p>Then uncomment the following lines, by deleting the <code>#<\/code> symbols, and add the IP addresses or ranges (space delimited) that you want to allow to in the <code>Allow from<\/code> line:<\/p>\n<pre class=\"code-pre \"><code>#  Order deny,allow\r\n#  Deny from all\r\n#  Allow from 127.0.0.1\r\n<\/code><\/pre>\n<p>As these lines will appear twice in the configuration file, so you will need to perform these steps once more.<\/p>\n<p>Save and exit.<\/p>\n<p>Now start Nagios and restart Apache to put the change into effect:<\/p>\n<pre class=\"code-pre \"><code>sudo systemctl restart nagios.service\r\nsudo systemctl restart httpd.service\r\n<\/code><\/pre>\n<p>Nagios is now running, so let&#8217;s try and log in.<\/p>\n<div data-unique=\"accessing-the-nagios-web-interface\"><\/div>\n<h2 id=\"accessing-the-nagios-web-interface\">Accessing the Nagios Web Interface<\/h2>\n<p>Open your favorite web browser, and go to your Nagios server (substitute the IP address or hostname for the highlighted part):<\/p>\n<pre class=\"code-pre \"><code>http:\/\/<span class=\"highlight\">nagios_server_public_ip<\/span>\/nagios\r\n<\/code><\/pre>\n<p>Because we configured Apache to use htpasswd, you must enter the login credentials that you created earlier. We used &#8220;nagiosadmin&#8221; as the username:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1592\" src=\"https:\/\/easy-admin.ca\/wp-content\/uploads\/2017\/08\/nagios-connection2.png\" alt=\"\" width=\"674\" height=\"254\" srcset=\"https:\/\/easy-admin.ca\/wp-content\/uploads\/2017\/08\/nagios-connection2.png 674w, https:\/\/easy-admin.ca\/wp-content\/uploads\/2017\/08\/nagios-connection2-300x113.png 300w\" sizes=\"auto, (max-width: 674px) 100vw, 674px\" \/><\/p>\n<p>After authenticating, you will be see the default Nagios home page. Click on the <strong>Hosts<\/strong> link, in the left navigation bar, to see which hosts Nagios is monitoring:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1593\" src=\"https:\/\/easy-admin.ca\/wp-content\/uploads\/2017\/08\/nagios-connection3.png\" alt=\"\" width=\"739\" height=\"293\" srcset=\"https:\/\/easy-admin.ca\/wp-content\/uploads\/2017\/08\/nagios-connection3.png 739w, https:\/\/easy-admin.ca\/wp-content\/uploads\/2017\/08\/nagios-connection3-300x119.png 300w\" sizes=\"auto, (max-width: 739px) 100vw, 739px\" \/><\/p>\n<p>As you can see, Nagios is monitoring only &#8220;localhost&#8221;, or itself.<\/p>\n<p>Let&#8217;s monitor another host with Nagios!<\/p>\n<div data-unique=\"monitor-a-centos-7-host-with-nrpe\"><\/div>\n<h2 id=\"monitor-a-centos-7-host-with-nrpe\">Monitor a CentOS 7 Host with NRPE<\/h2>\n<p>In this section, we&#8217;ll show you how to add a new host to Nagios, so it will be monitored. Repeat this section for each CentOS or RHEL server you wish to monitor.<\/p>\n<p><strong>Note:<\/strong> If you want to monitor an Ubuntu or Debian server, follow the instructions in this link: <a href=\"https:\/\/www.digitalocean.com\/community\/tutorials\/how-to-install-nagios-4-and-monitor-your-servers-on-ubuntu-14-04#monitor-an-ubuntu-host-with-nrpe\">Monitor an Ubuntu Host with NRPE<\/a>.<\/p>\n<p>On a server that you want to monitor, install the EPEL repository:<\/p>\n<pre class=\"code-pre \"><code>sudo yum install epel-release\r\n<\/code><\/pre>\n<p>Now install Nagios Plugins and NRPE:<\/p>\n<pre class=\"code-pre \"><code>sudo yum install nrpe nagios-plugins-all\r\n<\/code><\/pre>\n<p>Now, let&#8217;s update the NRPE configuration file. Open it in your favorite editor (we&#8217;re using vi):<\/p>\n<pre class=\"code-pre \"><code>sudo vi \/etc\/nagios\/nrpe.cfg\r\n<\/code><\/pre>\n<p>Find the <code>allowed_hosts<\/code> directive, and add the private IP address of your Nagios server to the comma-delimited list (substitute it in place of the highlighted example):<\/p>\n<pre class=\"code-pre \"><code>allowed_hosts=127.0.0.1<span class=\"highlight\">,10.132.224.168<\/span>\r\n<\/code><\/pre>\n<p>Save and exit. This configures NRPE to accept requests from your Nagios server, via its private IP address.<\/p>\n<p>Restart NRPE to put the change into effect:<\/p>\n<pre class=\"code-pre \"><code>sudo systemctl start nrpe.service\r\nsudo systemctl enable nrpe.service\r\n<\/code><\/pre>\n<p>Once you are done installing and configuring NRPE on the hosts that you want to monitor, you will have to add these hosts to your Nagios server configuration before it will start monitoring them.<\/p>\n<h3 id=\"add-host-to-nagios-configuration\">Add Host to Nagios Configuration<\/h3>\n<p>On your Nagios server, create a new configuration file for each of the remote hosts that you want to monitor in <code>\/usr\/local\/nagios\/etc\/servers\/<\/code>. Replace the highlighted word, &#8220;yourhost&#8221;, with the name of your host:<\/p>\n<pre class=\"code-pre \"><code>sudo vi \/usr\/local\/nagios\/etc\/servers\/<span class=\"highlight\">yourhost<\/span>.cfg\r\n<\/code><\/pre>\n<p>Add in the following host definition, replacing the <code>host_name<\/code> value with your remote hostname (&#8220;web-1&#8221; in the example), the <code>alias<\/code> value with a description of the host, and the <code>address<\/code> value with the private IP address of the remote host:<\/p>\n<pre class=\"code-pre \"><code>define host {\r\n        use                             linux-server\r\n        host_name                       <span class=\"highlight\">yourhost<\/span>\r\n        alias                           <span class=\"highlight\">My first Apache server<\/span>\r\n        address                         <span class=\"highlight\">10.132.234.52<\/span>\r\n        max_check_attempts              5\r\n        check_period                    24x7\r\n        notification_interval           30\r\n        notification_period             24x7\r\n}\r\n<\/code><\/pre>\n<p>With the configuration file above, Nagios will only monitor if the host is up or down. If this is sufficient for you, save and exit then restart Nagios. If you want to monitor particular services, read on.<\/p>\n<p>Add any of these service blocks for services you want to monitor. Note that the value of check_command determines what will be monitored, including status threshold values. Here are some examples that you can add to your host&#8217;s configuration file:<\/p>\n<p>Ping:<\/p>\n<pre class=\"code-pre \"><code>define service {\r\n        use                             generic-service\r\n        host_name                       <span class=\"highlight\">yourhost<\/span>\r\n        service_description             PING\r\n        check_command                   check_ping!100.0,20%!500.0,60%\r\n}\r\n<\/code><\/pre>\n<p>SSH (notifications_enabled set to 0 disables notifications for a service):<\/p>\n<pre class=\"code-pre \"><code>define service {\r\n        use                             generic-service\r\n        host_name                       <span class=\"highlight\">yourhost<\/span>\r\n        service_description             SSH\r\n        check_command                   check_ssh\r\n        notifications_enabled           0\r\n}\r\n<\/code><\/pre>\n<p>If you&#8217;re not sure what <code>use generic-service<\/code> means, it is simply inheriting the values of a service template called &#8220;generic-service&#8221; that is defined by default.<\/p>\n<p>Now save and quit. Reload your Nagios configuration to put any changes into effect:<\/p>\n<pre class=\"code-pre \"><code>sudo systemctl reload nagios.service\r\n<\/code><\/pre>\n<p>Once you are done configuring Nagios to monitor all of your remote hosts, you should be set. Be sure to access your Nagios web interface, and check out the <strong>Services<\/strong> page to see all of your monitored hosts and services:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1594\" src=\"https:\/\/easy-admin.ca\/wp-content\/uploads\/2017\/08\/nagios-connection4.png\" alt=\"\" width=\"747\" height=\"320\" srcset=\"https:\/\/easy-admin.ca\/wp-content\/uploads\/2017\/08\/nagios-connection4.png 747w, https:\/\/easy-admin.ca\/wp-content\/uploads\/2017\/08\/nagios-connection4-300x129.png 300w\" sizes=\"auto, (max-width: 747px) 100vw, 747px\" \/><\/p>\n<p><em><strong>Have fun!<\/strong><\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Install Nagios 4 This section will cover how to install Nagios 4 on your monitoring server. You only need to complete this section once. Install Build Dependencies Because we are building Nagios Core from source, we must install a few development libraries that will allow us to complete the build. First, install the required packages: &hellip; <a href=\"https:\/\/easy-admin.ca\/index.php\/2017\/08\/04\/how-to-install-nagios-4-and-monitor-your-servers-on-centos-7\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">How To Install Nagios 4 ! Monitor Your Servers on CentOS 7<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"slim_seo":{"title":"How To Install Nagios 4 ! Monitor Your Servers on CentOS 7 - HP Server","description":"Install Nagios 4 This section will cover how to install Nagios 4 on your monitoring server. You only need to complete this section once. Install Build Dependenc"},"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1589","post","type-post","status-publish","format-standard","hentry","category-general"],"_links":{"self":[{"href":"https:\/\/easy-admin.ca\/index.php\/wp-json\/wp\/v2\/posts\/1589","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/easy-admin.ca\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/easy-admin.ca\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/easy-admin.ca\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/easy-admin.ca\/index.php\/wp-json\/wp\/v2\/comments?post=1589"}],"version-history":[{"count":0,"href":"https:\/\/easy-admin.ca\/index.php\/wp-json\/wp\/v2\/posts\/1589\/revisions"}],"wp:attachment":[{"href":"https:\/\/easy-admin.ca\/index.php\/wp-json\/wp\/v2\/media?parent=1589"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/easy-admin.ca\/index.php\/wp-json\/wp\/v2\/categories?post=1589"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/easy-admin.ca\/index.php\/wp-json\/wp\/v2\/tags?post=1589"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}