Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mrwulf/puppet-prtg
Deploy custom PRTG monitoring scripts
https://github.com/mrwulf/puppet-prtg
custom monitor prtg puppet sensor
Last synced: 15 days ago
JSON representation
Deploy custom PRTG monitoring scripts
- Host: GitHub
- URL: https://github.com/mrwulf/puppet-prtg
- Owner: mrwulf
- License: apache-2.0
- Created: 2016-05-27T19:04:29.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-10-17T20:08:02.000Z (over 7 years ago)
- Last Synced: 2024-04-25T03:44:10.850Z (10 months ago)
- Topics: custom, monitor, prtg, puppet, sensor
- Language: Puppet
- Size: 10.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# prtg
[![Puppet Forge](https://img.shields.io/puppetforge/v/mrwulf/prtg.svg?style=flat-square)](https://forge.puppet.com/mrwulf/prtg)#### Table of Contents
1. [Overview](#overview)
5. [Usage](#usage)
6. [Development & Contributing](#development)## Overview
Currently this module just creates a definedd type called 'prtg::sshscript' to enable easy distribution of the ssh scripts that the PRTG *SSH Script Sensor* and *SSH Script Advanced Sensor* run against.## Usage
First, put the script into `/files`. For this example, the script is called `sensor_script.sh`.```puppet
prtg::sshscript{ 'sensor_name':
script_source => 'puppet:///modules//sensor_script.sh',
script_output => 'xml',
}
```### Parameters
#### script_source
Specify a file or template to be the source of the script. It works the same as the file resource's source parameter.#### script_contents
Specify the source of the script as a string. It works the same as the file resource's content parameter.#### script_output
Document the type of output from the script. Options are 'xml', 'json', or 'text'. The default is *text*. If you are using the *Advanced* sensor type you should choose between 'xml' and 'json'.## Development
Submit pull requests against [https://github.com/mrwulf/puppet-prtg].