nagios-split-host summary

Plugin Name: nagios-split-host
Version: 0.0.2
Author: @melezhik
Realease Date: 2017-09-13 15:40:08
Short Description: Split nagios config by hosts and save found hosts configurations to distinct files
Category: awk
Plugin web page: https://github.com/melezhik/nagios-split-host
 
Download link: nagios-split-host-v0.000002.tar.gz
Latest version link: https://sparrowhub.org/info/nagios-split-host

nagios-split-host documentation

SYNOPSIS

Split nagios config by hosts and save found hosts configurations to distinct files.

The author of original awk script is Akshay Hegde the code is taken from StackOverflow.

INSTALL

  $ sparrow plg install nagios-split-host

USAGE

Parse nagios config given by file, find distinct hosts blocks and save them separately into dest dir:

  $ sparrow plg run nagios-split-host \
  --format concise  # to strip reports lines \
  --param file=/path/to/ngios/conf \
  --param dest=/path/to/destination/dir

Plugin maintainer

Alexey Melezhik

Prerequisites

Awk should be installed