Skip to content

gerapeldoorn/puppet-nagiosxi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nagiosxi

Table of Contents

  1. Description
  2. Usage - Configuration options and additional functionality
  3. Limitations - OS compatibility, etc.
  4. Development - Guide for contributing to the module

Description

Module to do a basic installation of NagiosXI through RPM packages on RHEL.

Usage

include nagiosxi
nagiosxi::nagios_url   : http://nagios.example.com
nagiosxi::nagios_apikey: ---YOUR APIKEY--- (only required when using exported resources for host creation)
nagiosxi::xi_admin_email: myemail@example.com
nagiosxi::xi_admin_description: My Name
nagiosxi::xi_admin_timezone: Europe/Amsterdam
nagiosxi::xi_admin_password: SuperSecret

In your base profile:

  @@nagiosxi::host { $::clientcert:
    address              => $::clientcert,
    nagios_alias         => $profile::base::role,
    nagios_host_template => '00_LinuxHost',
    tag                  => $::serverid[0],
  }

In your nagios profile:

Nagiosxi::Host<<| |>>

Limitations

Not widely tested (yet), just CentOS 7.

Development

Feel free to submit PR's