Chapter 6. Enabling Remote Execution

In this chapter, we will cover the following recipes:

  • Monitoring local services on a remote machine with NRPE
  • Setting the listening address for NRPE
  • Setting allowed client hosts for NRPE
  • Creating new NRPE command definitions securely
  • Giving limited sudo(8) privileges to NRPE
  • Using check_by_ssh with key authentication instead of NRPE
  • Using check_mk instead of NRPE

Introduction

For a dedicated Nagios Core server with access to all the relevant parts of the network, making checks is relatively simple using commands and plugins that make ICMP, TCP, and UDP connections to network hosts and services for determining their operating state. These can be used to check any sort of network service, without requiring anything to ...

Get Nagios Core Administration Cookbook - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.