Creating and installing Opspacks

Once you have created all kinds of host templates, service checks, and plugins, there might be times that you wish to copy them to another Opsview system or keep a backup.

Opspacks is a lesser known feature of Opsview. They are tarballs containing the following items (some of these will be discussed in the next chapter):

  • Plugins
  • Keywords
  • Service groups
  • Attributes
  • Service checks
  • Host templates

To create an Opspack, simply update your Opsview system with host templates, plugins, and so on. Then log in to your system using SSH and become the Nagios user (or log in as the Nagios user directly).

Running the following command will create a subdirectory in your current directory, which is named after the specified host template: ...

Get Monitoring with Opsview 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.