visibilityspots / puppet-monitis

Puppet module which manages the monitis agent from monitor.us

Home Page:http://www.monitis.us

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Puppet monitis Build Status

Deploying a the monitis agent for the monitor.us service using puppet.

Supported CentOS 6 x86

I packaged the monitis agent in an rpm package using a jenkins job (http://visibilityspots.dyndns.org:8080/job/package-monitis-agent/).

This repository is maintained on http://repository.visibilityspots.com/repoview/.

Example for node.pp manifest:

  yumrepo { 'visibilityspots':
    baseurl  => 'http://repository.visibilityspots.com',
    descr    => 'Visibilityspots repository',
    enabled  => 1,
    gpgcheck => 0
  }
  class {
    'monitis':
      mail      => 'THE EMAIL ADRES OF YOUR FREE MONITOR.US ACCOUNT',
      agentname => 'SPECIFIC NAME OF THE SERVER YOU WANT TO MONITOR BY MONITOR.US';
  }
}

Additionally you can add the api and secret key from your monitor.us account.

 class {
    'monitis':
      mail      => 'THE EMAIL ADRES OF YOUR MONITOR.US ACCOUNT',
      apikey    => 'THE APIKEY PROVIDED BY MONITOR.US (SETTINGS ON MONITOR.US)',
      secretkey => 'THE SECRETKEY PROVIDED BY MONITOR.US (SETTINGS ON MONITOR.US)',
      agentname => 'SPECIFIC NAME OF THE SERVER YOU WANT TO MONITOR';
 }

By default those parameters are used.

  $pkg_name     = 'monitis-agent'
  $conffile     = '/etc/monitis/etc/monitis.conf'
  $homedir      = '/etc/monitis'
  $logfile      = '/etc/monitis/logs/monitis.log'
  $loglev       = '5'
  $pidfile      = '/etc/monitis/logs/monitis.pid'
  $useremail    = undef
  $agentname    = undef
  $usehost      = 'https://174.37.16.80:443/fcgi-bin/agentgateway'
  $apikey       = undef
  $secretkey    = undef
  $motd         = false

Feel free to report issue's or comments.

About

Puppet module which manages the monitis agent from monitor.us

http://www.monitis.us


Languages

Language:Puppet 50.8%Language:Ruby 38.0%Language:HTML 11.2%