Puppet Forge

PuppetForge 0.4.0

Module cparedes/puppet_opsview

Module description

Refactor of the puppet-opsview module provided by Opsera. Actively maintained.

Requires the rest-client and json gems to be installed on machines that will be using the library.

Release notes for version 0.0.2

Adding changes from Devon Peters into the package:

  1. Revert prefetch method to old method (use self.instances to pull information from the Opsview server)
  2. Add servicegroup, allservicegroup, notificationmethods, service_notification_options, and host_notification_options* to the opsview_contact provider for 24x7 and 8x4 notificaion profiles.
  3. Add “parents” and “monitored_by” parameters to opsview_monitored provider.
  4. Add “volatile” and “stalking” parameters to the opsview_servicecheck provider.
  5. Change default node alias to “Puppet Managed Host”, rather than “Puppet Unknown Host”.
  6. Ensure we use ‘rows=all’ when GET’ing data via Opsview REST, otherwise long results are truncated.
  7. Create an opsview_notificationmethod provider.
  8. Opsview_contact: add “role” to the hash returned by contact_map, and add a proper test for notificationmethods.

Types

opsview_contact

Description

Manages contacts in an Opsview monitoring system

Parameters
name
reload_opsview

True if you want an Opsview reload to be performed when the contact is updated

Properties
ensure

The basic property that the resource should be in. Valid values are present, absent.

fullname

Full name of the user

description

Short description for the contact

role

The role that the user is in. Defaults are: Administrator View all, change none View all, change some View some, change none View some, change some

encrypted_password

The user’s encrypted password. Defaults to “password” if not specified.

language

The user’s language

email

Email address for the user.

notificationmethods8x5

An array of notificationmethods for the 8x5 notification profile.

notificationmethods24x7

An array of notificationmethods for the 24x7 notification profile.

service_notification_options8x5

The service notification options for the 8x5 notification profile.

service_notification_options24x7

The service notification options for the 24x7 notification profile.

host_notification_options8x5

The host notification options for the 8x5 notification profile.

host_notification_options24x7

The host notification options for the 24x7 notification profile.

hostgroups8x5

An array of hostgroups for the 8x5 notification profile.

hostgroups24x7

An array of hostgroups for the 24x7 notification profile.

allhostgroups8x5

A boolean defining whether or not all hostgroups will have 8x5 notifications for this contact.

allhostgroups24x7

A boolean defining whether or not all hostgroups will have 24x7 notifications for this contact.

servicegroups8x5

An array of servicegroups for the 8x5 notification profile.

servicegroups24x7

An array of servicegroups for the 24x7 notification profile.

allservicegroups8x5

A boolean defining whether or not all servicegroups will have 8x5 notifications for this contact.

allservicegroups24x7

A boolean defining whether or not all servicegroups will have 24x7 notifications for this contact.

Providers
opsview

opsview_hostgroup

Description

Manages hostgroups in an Opsview monitoring system

Parameters
name
reload_opsview

True if you want an Opsview reload to be performed when the hostgroup is updated

Properties
ensure

The basic property that the resource should be in. Valid values are present, absent.

hostgroup

The name of the hostgroup to manage

parent

Parent hostgroup. Any defined parent’s will be autorequired.

Providers
opsview

opsview_hosttemplate

Description

Manages hosttemplates in an Opsview monitoring system

Parameters
name
reload_opsview

True if you want an Opsview reload to be performed when the hosttemplate is updated

Properties
ensure

The basic property that the resource should be in. Valid values are present, absent.

hosttemplate

This hosttemplate

description

description for this hosttemplate

servicechecks

Array of servicechecks for this hosttemplate. The list must be in alphabetical order, otherwise the config will be re-applied everytime puppet runs.

managementurls

Array of management urls for this hosttemplate

Providers
opsview

opsview_monitored

Description

Monitors the node from an Opsview monitoring system

Parameters
name
reload_opsview

True if you want an Opsview reload to be performed when the host is updated

Properties
ensure

The basic property that the resource should be in. Valid values are present, absent.

hostgroup

Opsview hostgroup

ip

Node IP address or name

hosttemplates

Array of Opsview host templates that should be applied to this node

servicechecks

Array of Opsview service checks that should be applied to this node

monitored_by

The Opsview server that monitors this node

parents

Array of parents for this node

Providers
opsview

opsview_notificationmethod

Description

Manages notificationmethods in an Opsview monitoring system

Parameters
name
reload_opsview

True if you want an Opsview reload to be performed when the notificationmethod is updated

Properties
ensure

The basic property that the resource should be in. Valid values are present, absent.

master

Whether or not this is enabled on the master

active

Whether or not this is Active

command

The command to run when this method is used

contact_variables

Comman delimited string of variables that are used by this notification method

Providers
opsview

opsview_role

Description

Manages roles in an Opsview monitoring system.

Parameters
name
reload_opsview

True if you want an Opsview reload to be performed when the role is updated.

Properties
ensure

The basic property that the resource should be in. Valid values are present, absent.

role

The name of this role.

description

Short description of this role.

all_hostgroups

Whether or not this role has access to all hostgroups. Defaults to true.

all_servicegroups

Whether or not this role has access to all servicegroups. Defaults to true.

all_keywords

Whether or not this role has access to all keywords. Defaults to false.

access_hostrgroups

Array of hostgroups that this role can access.

access_servicegroups

Array of servicegroups that this role can access.

access_keywords

Array of keywords that this role can access.

accesses

Array of access properties defined for this role.

hostgroups

Array of hostgroups that this role can configure, if CONFIGUREHOSTS is defined in accesses.

Providers
opsview

opsview_servicecheck

Description

Manages servicechecks in an Opsview monitoring system

Parameters
name
reload_opsview

True if you want an Opsview reload to be performed when the servicecheck is updated

Properties
ensure

The basic property that the resource should be in. Valid values are present, absent.

description

Short description for the servicecheck

servicegroup

The servicegroup that this servicecheck belongs to. This servicegroup must be defined in puppet.

dependencies

Array of dependencies for this servicecheck

check_period

General opsview servicecheck parameter

check_interval

General opsview servicecheck parameter

check_attempts

General opsview servicecheck parameter

retry_check_interval

General opsview servicecheck parameter

plugin

General opsview servicecheck parameter

args

General opsview servicecheck parameter

invertresults

General opsview servicecheck parameter

notification_options

General opsview servicecheck parameter

notification_period

General opsview servicecheck parameter

notification_interval

General opsview servicecheck parameter

flap_detection_enabled

General opsview servicecheck parameter

volatile

General opsview servicecheck parameter

stalking

General opsview servicecheck parameter

Providers
opsview

opsview_servicegroup

Description

Manages servicegroups in an Opsview monitoring system

Parameters
name
reload_opsview

True if you want an Opsview reload to be performed when the servicegroup is updated

Properties
ensure

The basic property that the resource should be in. Valid values are present, absent.

servicegroup

This servicegroup

Providers
opsview

Module's releases

Popular Tags

a2dismod a2enmod accelerator access acl activemq agent agnostic alerts aliases amanda amavis amazon amqp analysis and android antivirus apache apache2 apple application applications apt apticron archive asadmin Atlassian augeas auth authconfig authentication authoritative automation availability aws backup backuppc bacula balance bash basic benchmark bigtable bind blog boundary bprobe bugzilla build bzr c++ ca caching Cacti capistrano cassandra ccollect CentOS cern certificate certificate_authority certificates certs cfn check chrislea ci cirrus clamav cleanup cli client cloud cloud-provisioner cloudformation cloudkick cluster cobbler collectd common compile compiler composite_namevars concat concatenate console control controltier create_resouces cron curl CVS cyber dashboard data database datadog db debian defaults denyhosts deployment desktop developer development device dhcp digest directory distributed dms dns dnsmasq dovecot dpkg dpm duo dynamic dynect ec2 editor elasticsearch email ENC enterprise environment ESN example42 exim experimental ext f5 face facter factor facts fail fail2ban farm fcgi fcron fedora FHS file files fileserver filesystem find firehol firewall flowdock FMRI foo foreman fpm freebsd fsck ftp func function ganglia gcc gconf gearman gearman-job-server gearmand gem generation generic Gentoo gfx git gitolite glassfish Glider gLite glusterfs gnome2 graphics greylisting grid Group groups ha hadoop haproxy hardware hbase hdd hdfs headless heartbeat hg hids high-availability homebew host host-keys hosts HP htdigest htpasswd HTTP httpd https icinga ignore imagemagick imap info information infrastructure initr interface inventory ip6tables iphone iproute ipset iptables ipvs irc irqbalance iscsi jabber java jdk jenkins jenkins-ci Jira joyent jre jsp keepalived kerberos kickstart krb5 kvm kwalify LANANA languages lcg lcgutil ldap library libvirt libzypp limits limits-conf linux lmsensors load load-balancing loadbalancer locale locales lock logging logical_volume logrotate logs logwatch LSB lucid LVM mac mail mailalias maintenance make manager manages_members mariadb master-election mcollective mediawiki memcached message message_bus messaging meta metche mfa middleware mirror mnx mobileconfig module modules mon mongodb monit monitor monitoring Monitoring and Trending mosh motd mount mountpoint mounttab mrepo mta multi multipath multiple sites mumble munin mysql mysql-proxy mysql_proxy mysqlproxy naginator nagios namenode nameserver netinstall network network_config network_interface networking NFS nginx nmap noah node nodejs nosql notification nova nrpe ntp ntpd nullmailer OEL openfire opennebula openssh openssl openstack OpenSUSE openvpn openvz operating operating system operating systems operatingsystem operatingsystems operations opsview orchestration os ossec osx ovh pacemaker package package management packages packaging PAM pam_access passenger password pe pear percona performance perl permissions pflogsumm php phpqa phpqatools phpsysinfo phptools physical_volume pick pkgin planet platform pop posix postfix postgres postgresql postmark ppa probe proc processor production-ready profile_d proftpd Programming Languages Proliant prosvc provider provisioner provisioning proxy psumac psumac2012 puppet puppetlabs puppetmaster puppi pure-ftpd pureftpd pushover pwgen PXE python qa queue rabbitmq rack raid rails rbenv redhat redis-server relay replication repo report reporting repositories repository request resolv resolv_conf resolvconf resolver resources rest restart rhel rhel5 rhel6 role route53 RPM rpmbuild RRD rsnapshot RSpec rsync rsyslog rt ruby rubygems runtime samba satellite scm screen scribe scrumworks search SecretServer security sendmail server service services servlet settings shell shortcut sieve sip sipfoundry sipx sipxecs SMF smokeping smtp snmp snmpd solaris solr sonar spam spamassassin sphinx sphinxsearch splunk sql sqlgrey sqlite ssh sshd ssl stages standard standards statistics stdlib stomp storage storeconfigs subversion subversion-client sudo SuSE SVC svn svnrepo symfony synchronisation sysctl syslog syslog-ng system systems tar tcp test Testing tftp thin thrift thycotic ticketing tidy time timezone tls tmpfs tmpwatch tomcat tomcat6 tool tools tracker" traut Trending tuning tunnel two type ubuntu udp unbound unconfigured untar user users utilities utils validation vcs version vhost vim virtual virtual-environment virtualhost virtualization vm vmtools vmware vmware-tools vmware_tools vnc VOIP volume volume_group voms vpn wars web web servers webapp webapp-config webserver webservers wget wiki windows wordpress x x11 xen xinetd xmpp yast yum zeromq zones zookeeper zypp zypper